diff --git a/public/react/src/modules/user/account/AccountBasicEdit.js b/public/react/src/modules/user/account/AccountBasicEdit.js index bff4422ec..1f87454a5 100644 --- a/public/react/src/modules/user/account/AccountBasicEdit.js +++ b/public/react/src/modules/user/account/AccountBasicEdit.js @@ -421,7 +421,11 @@ class AccountBasic extends Component { identity }=this.state; const { getFieldDecorator } = this.props.form; - let{basicInfo}=this.props + let{ basicInfo }=this.props + + // 已职业认证的账户不能修改职业,学校/单位,院系/部门,产品还未确定,先默认为false--可以更改 + // basicInfo && basicInfo.professional_certification == "certified" + const professionalFlag = false; // form合并了 const propsWithoutForm = Object.assign({}, this.props) @@ -607,7 +611,7 @@ class AccountBasic extends Component { message: '请先选择职业', }], })( - @@ -628,7 +632,7 @@ class AccountBasic extends Component { message: '请先输入学号', }], })( - + )} } @@ -646,7 +650,7 @@ class AccountBasic extends Component { message: '请先选择职称', }], })( - @@ -669,7 +673,7 @@ class AccountBasic extends Component { message: '请先选择职称', }], })( - @@ -703,7 +707,7 @@ class AccountBasic extends Component { }], })( - + { filterSchoolList && filterSchoolList.map((item,key)=>{ return() @@ -741,7 +745,7 @@ class AccountBasic extends Component { // } }], })( - + { filterDepartments && filterDepartments.map((item,key)=>{ return(