release/2.17.1.2411.01

This commit is contained in:
lys 2024-12-03 17:01:12 +08:00
parent 154d69d850
commit 373e093321
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ class Index extends Component {
}, () => { }, () => {
const { calculateStore: { PCSearchForm } } = this.props; const { calculateStore: { PCSearchForm } } = this.props;
PCSearchForm.initFormFields(this.state.searchConditions); PCSearchForm.initFormFields(this.state.searchConditions);
this.handleRefresh(true); this.queryPCList();
}); });
} }
@ -185,13 +185,13 @@ class Index extends Component {
} }
}); });
}; };
handleRefresh = (init = false) => { handleRefresh = () => {
if (!this.handleDebounce) { if (!this.handleDebounce) {
this.handleDebounce = _.debounce(() => { this.handleDebounce = _.debounce(() => {
const { routeParams: { salaryAcctRecordId } } = this.props; const { routeParams: { salaryAcctRecordId } } = this.props;
refreshAcctemployee({ salaryAcctRecordId }).then(({ status, errormsg }) => { refreshAcctemployee({ salaryAcctRecordId }).then(({ status, errormsg }) => {
if (status) { if (status) {
!init && message.success(getLabel(111, "操作成功!")); message.success(getLabel(111, "操作成功!"));
this.queryPCList(); this.queryPCList();
} else { } else {
message.error(errormsg); message.error(errormsg);