custom/上海港湾多语言
This commit is contained in:
parent
b2ce11f50b
commit
325a6725f1
|
|
@ -208,8 +208,14 @@ class EditCalcTable extends Component {
|
|||
acctResultList(payload).then(({ status, data }) => {
|
||||
this.setState({ loading: false });
|
||||
if (status) {
|
||||
const { columns, pageInfo: list } = data;
|
||||
let { columns, pageInfo: list } = data;
|
||||
const { list: dataSource, pageNum: current, pageSize, total } = list;
|
||||
columns = _.map(columns, o => {
|
||||
if (o.column === "username" || o.column === "departmentName") {
|
||||
return { ...o, width: "210" };
|
||||
}
|
||||
return o;
|
||||
});
|
||||
this.setState({ pageInfo: { ...pageInfo, current, pageSize, total } }, () => {
|
||||
const { pageInfo, selectedRowKeys } = this.state;
|
||||
const sumRowlistUrl = this.props.showTotalCell ? "/api/bs/hrmsalary/salaryacct/acctresult/sum" : "";
|
||||
|
|
@ -287,4 +293,4 @@ const traverse = (arr, calcDetail) => {
|
|||
};
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue