custom/领悦业务线

This commit is contained in:
lys 2024-10-22 11:47:02 +08:00
parent af13777e2d
commit 8cdc711e71
2 changed files with 8 additions and 4 deletions

View File

@ -79,7 +79,7 @@ class StandingBook extends Component {
this.setState({
accountDialog: { ...this.state.accountDialog, visible: false }
}, () => {
this.wfListRef.wrappedInstance.getWelfareRecordList();
this.wfListRef.getWelfareRecordList();
const calcPayload = { ...payload, creator };
window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/socialSecurityBenefits/standingBookDetail?${convertToUrlString(calcPayload)}`);
});
@ -138,7 +138,7 @@ class StandingBook extends Component {
onSearch={(payload) => {
this.setState({
queryForm: { ...queryForm, ...payload }
}, () => this.wfListRef.wrappedInstance.getWelfareRecordList());
}, () => this.wfListRef.getWelfareRecordList());
}}
onPutAccountOptions={options => this.setState({ accountDialog: { ...accountDialog, options } })}
/>

View File

@ -69,7 +69,7 @@ class Index extends Component {
componentWillReceiveProps(nextProps, nextContext) {
if (nextProps.isQuery !== this.props.isQuery) this.setState({
pageInfo: { ...this.state.pageInfo, current: 1 }
}, () => this.getVariableSalaryList(nextProps));
}, () => this.getVariableSalaryList());
}
handleReceive = async ({ data }) => {
@ -180,7 +180,11 @@ class Index extends Component {
onAdvanceSearch={() => this.getVariableSalaryList()}/>
</div>
<div className={cs("searchAdvanced-condition-container", { "searchAdvanced-condition-hide": !showSearchAd })}>
<SearchPannel onCancel={() => this.setState({ showSearchAd: false })} onAdSearch={this.handleAdvanceSearch}/>
<SearchPannel onCancel={() => this.setState({ showSearchAd: false })}
onAdSearch={() => {
this.openAdvanceSearch();
this.getVariableSalaryList();
}}/>
</div>
<div style={{ height: height + "px" }}>
<Spin spinning={loading}>