产品-薪资档案列表改造完成

This commit is contained in:
黎永顺 2023-05-26 10:47:02 +08:00
parent 009b81b707
commit 087e9d1abe
1 changed files with 0 additions and 36 deletions

View File

@ -650,34 +650,13 @@ class Index extends Component {
tabCount,
selectedKey,
loading,
dataSource,
pageInfo,
showSearchAd,
selectedRowKeys,
slideParams,
changeSalaryVisible,
paysetParams
} = this.state;
const { payrollFilesStore: { tableStore } } = this.props;
const pagination = {
current: pageInfo.current,
pageSize: pageInfo.pageSize,
total: pageInfo.total,
showTotal: total => `${total}`,
showQuickJumper: true,
showSizeChanger: true,
pageSizeOptions: ["10", "20", "50", "100"],
onShowSizeChange: (current, pageSize) => {
this.setState({ pageInfo: { ...pageInfo, current, pageSize } }, () => {
this.query();
});
},
onChange: current => {
this.setState({ pageInfo: { ...pageInfo, current } }, () => {
this.query();
});
}
};
const renderSearch = () => {
const searchItems = [
{ com: this.Input("姓名", "username") },
@ -713,10 +692,6 @@ class Index extends Component {
})}> 重置 </Button>,
<Button type="ghost" onClick={() => this.setState({ showSearchAd: false })}> 取消 </Button>
];
const rowSelection = {
selectedRowKeys,
onChange: (selectedRowKeys) => this.setState({ selectedRowKeys })
};
const rightMenu = [
{
key: "BTN_COLUMN",
@ -779,17 +754,6 @@ class Index extends Component {
id="atdTable"
/>
</Spin>
{/*<WeaNewScroll height="100%">*/}
{/* <UnifiedTable*/}
{/* rowKey="id"*/}
{/* loading={loading.query}*/}
{/* columns={this.getColumns()}*/}
{/* dataSource={dataSource}*/}
{/* pagination={pagination}*/}
{/* rowSelection={rowSelection}*/}
{/* xWidth={this.getColumns().length * 120}*/}
{/* />*/}
{/*</WeaNewScroll>*/}
{/*人员卡片*/}
<WeaPopoverHrm/>
<WeaTableComx