release/2.17.1.2411.01

This commit is contained in:
lys 2024-11-25 18:08:50 +08:00
parent dda961cacf
commit 7c13ddb970
1 changed files with 4 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class SalaryDetails extends Component {
this.setState({
showTotalCell: confCode === "1"
}, () => {
this.getSalaryList(this.props);
// this.getSalaryList(this.props);
this.getPageListTemplatelist();
});
window.addEventListener("message", this.handleReceive, false);
@ -85,7 +85,8 @@ class SalaryDetails extends Component {
const { type, payload: { id, params } = {} } = data;
const { pageInfo } = this.state;
if (type === "init") {
this.getColumns();
// this.getColumns();
this.getSalaryList(this.props);
} else if (type === "turn") {
if (id === "PAGEINFO") {
const { pageNum: current, size: pageSize } = params;
@ -129,6 +130,7 @@ class SalaryDetails extends Component {
columns, dataSource, pageInfo: { ...pageInfo, current, total, pageSize }, payload
}, () => {
// tableStore.getDatas(dataKey.datas)
this.getColumns();
});
}
}).catch(() => this.setState({ loading: false }));