diff --git a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js index b982d9fe..26713bd3 100644 --- a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js +++ b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js @@ -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 }));