From 5a2897bf707067367e2fc97690a7c25bf659d155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 31 May 2023 16:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81-=E7=A4=BE=E4=BF=9D=E7=A6=8F?= =?UTF-8?q?=E5=88=A9=E6=A1=A3=E6=A1=88=E3=80=81=E8=96=AA=E8=B5=84=E6=A1=A3?= =?UTF-8?q?=E6=A1=88=E3=80=81=E8=96=AA=E8=B5=84=E6=A0=B8=E7=AE=97=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=B7=BB=E5=8A=A0=E5=B7=A5=E5=8F=B7=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standingBookDetail/components/normal.js | 250 +++++++++--------- 1 file changed, 130 insertions(+), 120 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js index ce32f1ea..fcfcfcc8 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js @@ -55,7 +55,8 @@ export default class NormalIndex extends Component { visible: false }, showSum: false, - siaccountSum: {} + siaccountSum: {}, + showSearchAd: false }; this.timer = null; this.timerDelete = null; @@ -438,10 +439,14 @@ export default class NormalIndex extends Component { } }); }; + getSearchs=()=> { + let group = []; + return group; + } render() { const { remarks, billMonth, selectedKey, paymentOrganization, standingBookStore } = this.props; - const { addProps, adjustSlide, importParams, returnEditPersonSlide } = this.state; + const { addProps, adjustSlide, importParams, returnEditPersonSlide, showSearchAd } = this.state; const { loading } = standingBookStore; return (
@@ -467,125 +472,130 @@ export default class NormalIndex extends Component {
} -
- {this.props.type !== "detail" && this.props.selectedKey == "3" - ? - - - - - - - - : } - { - this.setState({ - addProps: { - ...addProps, - visible: false - } - }, () => { - isRefresh && this.getSupplementaryList({ - billMonth, - current: this.state.current, - paymentOrganization - }); - }); - }} - /> - { - selectedKey === "1" && this.props.type !== "detail" && - - - - - } - { - selectedKey === "1" && - - - - } - {/*核算进度条*/} - { - this.setState({ progressVisible: false, progress: 0 }); - }} - progress={this.state.progress} - /> - { - this.props.type !== "detail" && - - this.setState({ importParams: { ...importParams, visible: true } })} - /> - - } - {/*导入弹框*/} - { - importParams.visible && - { - this.setState({ - fieldData - }); - }} - onCancel={() => { - this.setState({ importParams: { ...importParams, visible: false }, fieldData: {} }, () => { - const { billMonth, selectedKey, paymentOrganization } = this.props; - const { current } = this.state; - selectedKey === "1" - ? this.getNormalList({ billMonth, current, paymentOrganization }) - : this.getSupplementaryList({ billMonth, current, paymentOrganization }); - }); - }} - isStandingBook - standingBookTabKey={selectedKey} - /> - } + this.setState({ showSearchAd: bool })} + /> + {/*
*/} + {/* {this.props.type !== "detail" && this.props.selectedKey == "3"*/} + {/* ? */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* */} + {/* : }*/} + {/* {*/} + {/* this.setState({*/} + {/* addProps: {*/} + {/* ...addProps,*/} + {/* visible: false*/} + {/* }*/} + {/* }, () => {*/} + {/* isRefresh && this.getSupplementaryList({*/} + {/* billMonth,*/} + {/* current: this.state.current,*/} + {/* paymentOrganization*/} + {/* });*/} + {/* });*/} + {/* }}*/} + {/* />*/} + {/* {*/} + {/* selectedKey === "1" && this.props.type !== "detail" &&*/} + {/* */} + {/* */} + {/* */} + {/* */} + {/* }*/} + {/* {*/} + {/* selectedKey === "1" &&*/} + {/* */} + {/* */} + {/* */} + {/* }*/} + {/* /!*核算进度条*!/*/} + {/* {*/} + {/* this.setState({ progressVisible: false, progress: 0 });*/} + {/* }}*/} + {/* progress={this.state.progress}*/} + {/* />*/} + {/* {*/} + {/* this.props.type !== "detail" &&*/} + {/* */} + {/* this.setState({ importParams: { ...importParams, visible: true } })}*/} + {/* />*/} + {/* */} + {/* }*/} + {/* /!*导入弹框*!/*/} + {/* {*/} + {/* importParams.visible &&*/} + {/* {*/} + {/* this.setState({*/} + {/* fieldData*/} + {/* });*/} + {/* }}*/} + {/* onCancel={() => {*/} + {/* this.setState({ importParams: { ...importParams, visible: false }, fieldData: {} }, () => {*/} + {/* const { billMonth, selectedKey, paymentOrganization } = this.props;*/} + {/* const { current } = this.state;*/} + {/* selectedKey === "1"*/} + {/* ? this.getNormalList({ billMonth, current, paymentOrganization })*/} + {/* : this.getSupplementaryList({ billMonth, current, paymentOrganization });*/} + {/* });*/} + {/* }}*/} + {/* isStandingBook*/} + {/* standingBookTabKey={selectedKey}*/} + {/* />*/} + {/* }*/} - - - - { - this.setState({ searchValue: value }); - }} - placeholder={"请输入姓名"} - onSearch={value => { - this.handleSearch(value); - }} - /> -
+ {/* */} + {/* */} + {/* */} + {/* {*/} + {/* this.setState({ searchValue: value });*/} + {/* }}*/} + {/* placeholder={"请输入姓名"}*/} + {/* onSearch={value => {*/} + {/* this.handleSearch(value);*/} + {/* }}*/} + {/* />*/} + {/*
*/} {/* table */}