dev_auth
杨树林 6 years ago
parent 30e0c87fdd
commit 37f3fae030

@ -318,11 +318,13 @@ class CompetitionContentspdfpeopledata extends Component {
{this.state.certification === 1 ? <RealNameCertificationModal {...this.props} {...this.state}
wrappedComponentRef={(form) => this.realNameCertificationModal1 = form}
certification={certification}
Getdata={() => this.getdata()}
></RealNameCertificationModal> : ""}
{this.state.certification === 2 ? <RealNameCertificationModal {...this.props} {...this.state}
wrappedComponentRef={(form) => this.realNameCertificationModal2 = form}
certification={certification}
Getdata={() => this.getdata()}
></RealNameCertificationModal> : ""}
<div className="flexdirections ">
<p className="fontcolorsyslhei font-16 w98"><span className="fontcolorsysl font-16">*</span><span></span>

@ -276,8 +276,18 @@ class RealNameCertificationModal extends Component{
}).then((result)=>{
if(result){
this.props.showNotification("申请已提交,请等待审核!");
this.props.getBasicInfo();
try {
this.props.getBasicInfo();
} catch (e) {
}
try {
this.props.Getdata();
} catch (e) {
}
this.setVisible(false);
}
}).catch((error)=>{
console.log(error);
@ -294,8 +304,18 @@ class RealNameCertificationModal extends Component{
}).then((result)=>{
if(result){
this.props.showNotification("申请已提交,请等待审核!");
this.props.getBasicInfo();
try {
this.props.getBasicInfo();
} catch (e) {
}
try {
this.props.Getdata();
} catch (e) {
}
this.setVisible(false);
}
}).catch((error)=>{
console.log(error);

Loading…
Cancel
Save