|
|
@ -434,7 +434,7 @@ class RealNameCertificationModal extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const uploadProps2 = {
|
|
|
|
const uploadProps2 = {
|
|
|
|
name: 'image',
|
|
|
|
name: 'image',
|
|
|
|
data:{type:certification == 1 ? "real_name" : "professional"},
|
|
|
|
data: {type: certification == 1 ? "real_name" : "professional"},
|
|
|
|
multiple: true,
|
|
|
|
multiple: true,
|
|
|
|
showUploadList: false,
|
|
|
|
showUploadList: false,
|
|
|
|
// https://newweb.educoder.net
|
|
|
|
// https://newweb.educoder.net
|
|
|
@ -452,13 +452,14 @@ 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
|
|
|
|
ref="modalWrapper"
|
|
|
|
ref="modalWrapper"
|
|
|
|
title={
|
|
|
|
title={
|
|
|
|
certification && certification==1?
|
|
|
|
certification && certification == 1 ?
|
|
|
|
<span><i className="iconfont icon-shenfenrenzheng font-18 color-blue mr5" style={{fontWeight:"normal"}}></i>实名认证</span>:
|
|
|
|
<span><i className="iconfont icon-shenfenrenzheng font-18 color-blue mr5" style={{fontWeight:"normal"}}></i>实名认证</span>:
|
|
|
|
<span><i className="iconfont icon-zhiyerenzheng font-18 color-blue mr5" style={{fontWeight:"normal"}}></i>职业认证</span>
|
|
|
|
<span><i className="iconfont icon-zhiyerenzheng font-18 color-blue mr5" style={{fontWeight:"normal"}}></i>职业认证</span>
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -595,13 +596,13 @@ class RealNameCertificationModal extends Component{
|
|
|
|
`}</style>
|
|
|
|
`}</style>
|
|
|
|
|
|
|
|
|
|
|
|
<Form onSubmit={this.handleSubmit}>
|
|
|
|
<Form onSubmit={this.handleSubmit}>
|
|
|
|
{ certification && certification == 1 ?
|
|
|
|
{certification && certification == 1 ?
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<Form.Item
|
|
|
|
<Form.Item
|
|
|
|
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,
|
|
|
@ -663,9 +664,9 @@ class RealNameCertificationModal extends Component{
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<AccountBasicEditItem
|
|
|
|
<AccountBasicEditItem
|
|
|
|
identity={identity}
|
|
|
|
identity={identity}
|
|
|
|
getFieldDecorator = {getFieldDecorator}
|
|
|
|
getFieldDecorator={getFieldDecorator}
|
|
|
|
professionalFlag = {professionalFlag}
|
|
|
|
professionalFlag={professionalFlag}
|
|
|
|
basicInfo = {basicInfo}
|
|
|
|
basicInfo={basicInfo}
|
|
|
|
{...this.props}
|
|
|
|
{...this.props}
|
|
|
|
{...this.state}
|
|
|
|
{...this.state}
|
|
|
|
{...common}
|
|
|
|
{...common}
|
|
|
|