diff --git a/pc4mobx/hrmSalary/pages/salaryFile/index.js b/pc4mobx/hrmSalary/pages/salaryFile/index.js index 2a059b5a..a92ef0a9 100644 --- a/pc4mobx/hrmSalary/pages/salaryFile/index.js +++ b/pc4mobx/hrmSalary/pages/salaryFile/index.js @@ -23,6 +23,8 @@ import SalaryFileViewSlide from './saralyFileViewSlide' const { MonthPicker } = DatePicker; +import "./index.less" + @inject('salaryFileStore') @observer export default class SalaryFile extends React.Component { @@ -39,7 +41,8 @@ export default class SalaryFile extends React.Component { modalVisiable: false, step: 0, recordSlideVisible: false, - selectedRowKeys: [] + selectedRowKeys: [], + showSearchBar: false } } @@ -136,6 +139,13 @@ export default class SalaryFile extends React.Component { this.setState({ selectedRowKeys }); }; + // 显示影响搜索面板 + handleShowSearchBar = () => { + this.setState({ + showSearchBar: !this.state.showSearchBar + }) + } + render() { const { salaryFileStore } = this.props; const { loading, hasRight, form, condition, tableStore, showSearchAd, getTableDatas, doSearch, setShowSearchAd } = salaryFileStore; @@ -206,7 +216,7 @@ export default class SalaryFile extends React.Component { const renderRightOperation = () => { return ( -