dev_auth
杨树林 6 years ago
parent e5621720a8
commit 30e0c87fdd

@ -32,7 +32,7 @@ module.exports = {
// See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.s // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.s
// devtool: "cheap-module-eval-source-map", // devtool: "cheap-module-eval-source-map",
// 开启调试 // 开启调试
//devtool: "source-map", // 开启调试 devtool: "source-map", // 开启调试
// These are the "entry points" to our application. // These are the "entry points" to our application.
// This means they will be the "root" imports that are included in JS bundle. // This means they will be the "root" imports that are included in JS bundle.
// The first two entry points enable "hot" CSS and auto-refreshes for JS. // The first two entry points enable "hot" CSS and auto-refreshes for JS.

@ -315,12 +315,12 @@ class CompetitionContentspdfpeopledata extends Component {
console.log(emailbool); console.log(emailbool);
return ( return (
<div className="flexdidirectionss mt17"> <div className="flexdidirectionss mt17">
{this.state.certification === 1 ? <RealNameCertificationModal {...this.props} {this.state.certification === 1 ? <RealNameCertificationModal {...this.props} {...this.state}
wrappedComponentRef={(form) => this.realNameCertificationModal1 = form} wrappedComponentRef={(form) => this.realNameCertificationModal1 = form}
certification={certification} certification={certification}
></RealNameCertificationModal> : ""} ></RealNameCertificationModal> : ""}
{this.state.certification === 2 ? <RealNameCertificationModal {...this.props} {this.state.certification === 2 ? <RealNameCertificationModal {...this.props} {...this.state}
wrappedComponentRef={(form) => this.realNameCertificationModal2 = form} wrappedComponentRef={(form) => this.realNameCertificationModal2 = form}
certification={certification} certification={certification}
></RealNameCertificationModal> : ""} ></RealNameCertificationModal> : ""}

@ -452,7 +452,8 @@ class RealNameCertificationModal extends Component{
{...propsWithoutForm} addOrgSuccess={this.addOrgSuccess} {...propsWithoutForm} addOrgSuccess={this.addOrgSuccess}
></ApplyForAddOrgModal> ></ApplyForAddOrgModal>
<ApplyForAddChildOrgModal ref="applyForAddChildOrgModal" schoolName={school} schoolId={school_id} departmentName={departmentsName} <ApplyForAddChildOrgModal ref="applyForAddChildOrgModal" schoolName={school} schoolId={school_id} departmentName={departmentsName}
{...propsWithoutForm} wrappedComponentRef={(form) => this.applyForAddChildOrgForm = form} {...propsWithoutForm}
wrappedComponentRef={(form) => this.applyForAddChildOrgForm = form}
addChildOrgSuccess={this.addChildOrgSuccess} addChildOrgSuccess={this.addChildOrgSuccess}
></ApplyForAddChildOrgModal> ></ApplyForAddChildOrgModal>
<ModalWrapper <ModalWrapper
@ -601,7 +602,7 @@ class RealNameCertificationModal extends Component{
label="姓名" label="姓名"
className="formItemInline" className="formItemInline"
> >
{ basicInfo.authentication == 'uncertified' ? <React.Fragment>{getFieldDecorator('name', { {basicInfo && basicInfo.authentication == 'uncertified' ? <React.Fragment>{getFieldDecorator('name', {
rules: [{ rules: [{
// initialValue: this.state.cityDefaultValue, // initialValue: this.state.cityDefaultValue,
required: true, required: true,

Loading…
Cancel
Save