release/2.17.1.2411.01
This commit is contained in:
parent
154d69d850
commit
373e093321
|
|
@ -73,7 +73,7 @@ class Index extends Component {
|
|||
}, () => {
|
||||
const { calculateStore: { PCSearchForm } } = this.props;
|
||||
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) {
|
||||
this.handleDebounce = _.debounce(() => {
|
||||
const { routeParams: { salaryAcctRecordId } } = this.props;
|
||||
refreshAcctemployee({ salaryAcctRecordId }).then(({ status, errormsg }) => {
|
||||
if (status) {
|
||||
!init && message.success(getLabel(111, "操作成功!"));
|
||||
message.success(getLabel(111, "操作成功!"));
|
||||
this.queryPCList();
|
||||
} else {
|
||||
message.error(errormsg);
|
||||
|
|
|
|||
Loading…
Reference in New Issue