薪资账套重构
This commit is contained in:
parent
1d64220c7c
commit
b3532b6bd0
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Author: 黎永顺
|
||||
* name: 新增编辑薪资账套
|
||||
* Description:
|
||||
* Date: 2022/12/8
|
||||
*/
|
||||
import React, { Component } from "react";
|
||||
|
||||
class LedgerSlide extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default LedgerSlide;
|
||||
|
|
@ -17,16 +17,23 @@ class Index extends Component {
|
|||
super(props);
|
||||
this.state = {
|
||||
searchVal: "",
|
||||
doSearch: false
|
||||
doSearch: false,
|
||||
slideparams: {
|
||||
visible: false,
|
||||
title: "新建账套"
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
render() {
|
||||
const { searchVal, doSearch } = this.state;
|
||||
const { searchVal, doSearch, slideparams } = this.state;
|
||||
const { taxAgentStore } = this.props;
|
||||
const { showOperateBtn } = taxAgentStore;
|
||||
const btns = [
|
||||
<Button type="primary">新建</Button>,
|
||||
<Button
|
||||
type="primary"
|
||||
onClick={() => this.setState({ slideparams: { ...slideparams, visible: true } })}
|
||||
>新建</Button>,
|
||||
<WeaInputSearch
|
||||
value={searchVal} placeholder="请输入薪资账套名称"
|
||||
onChange={searchVal => this.setState({ searchVal })}
|
||||
|
|
|
|||
Loading…
Reference in New Issue