|
|
|
@ -208,7 +208,20 @@ const payrollFilesTable: FC = (props) => {
|
|
|
|
|
[styles.tableWrapper]: true,
|
|
|
|
|
[styles.tableTotalWrapper]: true
|
|
|
|
|
})}
|
|
|
|
|
columns={columns}
|
|
|
|
|
columns={
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
title: "序号",
|
|
|
|
|
dataIndex: "index",
|
|
|
|
|
width: 50,
|
|
|
|
|
fixed: "left",
|
|
|
|
|
render: (text: any, record: any, index: number) => {
|
|
|
|
|
return (pageInfo.pageNum - 1) * pageInfo.size + index + 1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
...columns
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
dataSource={dataSource}
|
|
|
|
|
size="small"
|
|
|
|
|
rowSelection={rowSelection}
|
|
|
|
@ -232,7 +245,7 @@ const payrollFilesTable: FC = (props) => {
|
|
|
|
|
<Table.Summary.Row>
|
|
|
|
|
{
|
|
|
|
|
sumRow.loading ? <Spin tip="加载中"/> :
|
|
|
|
|
_.map([{},...totalColumns], (item, index) => {
|
|
|
|
|
_.map([{}, ...totalColumns], (item, index) => {
|
|
|
|
|
if (index === 0) {
|
|
|
|
|
return <Table.Summary.Cell index={0} key={index} align="center"><Text
|
|
|
|
|
type="danger">总计</Text></Table.Summary.Cell>;
|
|
|
|
|