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 ( -
+
{this.handleExportAll()}}>导出全部 +
) } diff --git a/pc4mobx/hrmSalary/pages/salaryFile/index.less b/pc4mobx/hrmSalary/pages/salaryFile/index.less index 4c3d8557..e7244259 100644 --- a/pc4mobx/hrmSalary/pages/salaryFile/index.less +++ b/pc4mobx/hrmSalary/pages/salaryFile/index.less @@ -36,4 +36,16 @@ padding-left: 20px; padding-right: 20px; } -} \ No newline at end of file +} + + +.salaryFileTabWrapper { + .searchPanel { + position: absolute; + z-index: 100; + width: 100%; + height: 200px; + bottom: -10px; + left: 0px; + } +} diff --git a/pc4mobx/hrmSalary/pages/salaryFile/searchPanel.js b/pc4mobx/hrmSalary/pages/salaryFile/searchPanel.js new file mode 100644 index 00000000..e7046cfa --- /dev/null +++ b/pc4mobx/hrmSalary/pages/salaryFile/searchPanel.js @@ -0,0 +1,31 @@ +import React from 'react' +import { WeaSearchGroup } from 'ecCom' +import { Row, Col } from 'antd' + +export default class SearchPanel extends React.Component { + render() { + return ( +
+ +
+ + + 姓名: + + + + + + + + + + + + + +
+
+ ) + } +} \ No newline at end of file