feature/2.9.42310.02-社保福利档案页面重构

This commit is contained in:
黎永顺 2023-11-27 17:52:17 +08:00
parent 5e60775029
commit e01b5bf1c9
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ class Index extends Component {
this.setState({ loading: false });
if (socialStatus && fundStatus && otherStatus) {
message.success(getLabel(30700, "操作成功!"));
this.props.onClose();
this.props.onClose(true);
} else {
message.error(socialErrorMsg + fundErrorMsg + otherErrorMsg);
}

View File

@ -277,7 +277,7 @@ class Index extends Component {
<WelfareEditArchiveSlide {...welfareEditSlide} ref={dom => this.archiveSlideRef = dom}
onClose={(isFresh) => this.setState({
welfareEditSlide: { ...welfareEditSlide, visible: false }
})}
}, () => isFresh && this.getWelfareList(this.props))}
onChangeProgramme={this.handleChangeProgramme}
/>
</div>