dev_forum
hjm 5 years ago
parent 4745a3b280
commit 56bfc47444

@ -278,6 +278,7 @@ class AccountBasic extends Component {
this.setState({ this.setState({
departments: [], departments: [],
filterDepartments: [], filterDepartments: [],
departmentsName: '',
school_id: '', school_id: '',
department_id: '', department_id: '',
}) })
@ -412,7 +413,7 @@ class AccountBasic extends Component {
addChildOrgSuccess={this.addChildOrgSuccess} addChildOrgSuccess={this.addChildOrgSuccess}
></ApplyForAddChildOrgModal> ></ApplyForAddChildOrgModal>
<div className="basicForm"> <div className="basicForm courseNormalForm">
<style>{` <style>{`
.formItemInline { .formItemInline {
display: flex; display: flex;
@ -730,7 +731,7 @@ class AccountBasic extends Component {
</Form.Item> */} </Form.Item> */}
</Form> </Form>
</div> </div>
<div style={{color: '#989898', marginLeft: '20px'}}>* 我们确保你所提供的信息均处于严格保密状态不会泄露</div> <div style={{color: '#989898', marginLeft: '20px', marginBottom: '10px'}}>* 我们确保你所提供的信息均处于严格保密状态不会泄露</div>
</div> </div>
); );
} }

@ -15,20 +15,16 @@ class AccountCertification extends Component {
} }
checkBasicInfo = (index) => { checkBasicInfo = (index) => {
if (index == 1) { if ( this.props.basicInfo.base_info_completed == true) {
if ( this.props.basicInfo.base_info_completed == true) {
this.showRealNameCertificationModal(index)
} else {
this.props.confirm({
okText: `立即完善`,
content: `请先完善基本信息`,
onOk: () => {
this.props.history.push('/account/profile/edit')
}
})
}
} else if (index == 2) {
this.showRealNameCertificationModal(index) this.showRealNameCertificationModal(index)
} else {
this.props.confirm({
okText: `立即完善`,
content: `请先完善基本信息`,
onOk: () => {
this.props.history.push('/account/profile/edit')
}
})
} }
} }

@ -53,31 +53,31 @@ button.ant-btn.ant-btn-primary.grayBtn {
} */ } */
.basicForm .ant-select-show-search { .courseNormalForm .ant-select-show-search {
height: 40px; height: 40px;
} }
.basicForm .ant-select-auto-complete.ant-select .ant-input { .courseNormalForm .ant-select-auto-complete.ant-select .ant-input {
height: 40px; height: 40px;
} }
.basicForm .ant-select-search__field__mirror { .courseNormalForm .ant-select-search__field__mirror {
height: 40px; height: 40px;
} }
.basicForm .ant-input-lg { .courseNormalForm .ant-input-lg {
height: 40px; height: 40px;
} }
.basicForm .ant-select-selection--single { .courseNormalForm .ant-select-selection--single {
height: 40px; height: 40px;
} }
.basicForm .ant-select-auto-complete.ant-select .ant-select-selection--single { .courseNormalForm .ant-select-auto-complete.ant-select .ant-select-selection--single {
height: 40px height: 40px
} }
.basicForm .ant-input-affix-wrapper { .courseNormalForm .ant-input-affix-wrapper {
height: 40px; height: 40px;
} }
/* 职业 */ /* 职业 */
.basicForm .ant-select-selection-selected-value { .courseNormalForm .ant-select-selection-selected-value {
line-height: 38px line-height: 38px
} }
.basicForm input { .courseNormalForm input {
height: 40px; height: 40px;
} }

@ -76,7 +76,7 @@ class ApplyForAddChildOrgModal extends Component{
{...this.props } {...this.props }
onOk={this.onOk} onOk={this.onOk}
okText="保存" okText="保存"
className="applyForModal" className="applyForModal courseNormalForm"
> >
<style>{` <style>{`
.applyForModal .ant-form-item-label { .applyForModal .ant-form-item-label {
@ -90,7 +90,7 @@ class ApplyForAddChildOrgModal extends Component{
width: 390px; width: 390px;
} }
`}</style> `}</style>
<Form> <Form className="">
<Form.Item <Form.Item
label="单位名称:" label="单位名称:"
className="mt15 formItemInline hideRequireTag" className="mt15 formItemInline hideRequireTag"

@ -74,7 +74,7 @@ class ApplyForAddOrgModal extends Component{
{...this.props } {...this.props }
onOk={this.onOk} onOk={this.onOk}
okText="保存" okText="保存"
className="applyForModal" className="applyForModal courseNormalForm"
> >
<style>{` <style>{`
.applyForModal .ant-form-item-label { .applyForModal .ant-form-item-label {
@ -89,7 +89,7 @@ class ApplyForAddOrgModal extends Component{
} }
.applyForModal .formItemInline .ant-form-item-control .ant-cascader-picker,.applyForModal .formItemInline .ant-cascader-picker-large .ant-input{ .applyForModal .formItemInline .ant-form-item-control .ant-cascader-picker,.applyForModal .formItemInline .ant-cascader-picker-large .ant-input{
width: 100%; width: 100%;
height:32px!important; height:40px!important;
} }
.applyForModal .formItemInline .ant-input-lg{ .applyForModal .formItemInline .ant-input-lg{
font-size:14px!important; font-size:14px!important;
@ -102,7 +102,7 @@ class ApplyForAddOrgModal extends Component{
width: 196px; width: 196px;
} }
`}</style> `}</style>
<Form onSubmit={this.onOk}> <Form onSubmit={this.onOk} className="">
<Form.Item <Form.Item
label="单位全称:" label="单位全称:"
className="mt15 formItemInline explain" className="mt15 formItemInline explain"

@ -147,7 +147,7 @@ class RealNameCertificationModal extends Component{
{...this.props } {...this.props }
onOk={this.onOk} onOk={this.onOk}
okText="保存" okText="保存"
className="applyForModal certificationModal" className="applyForModal certificationModal courseNormalForm"
bottomRender={ bottomRender={
certification && certification == 1? certification && certification == 1?
<div className="bottomRender"> <div className="bottomRender">
@ -186,7 +186,7 @@ class RealNameCertificationModal extends Component{
> >
<style>{` <style>{`
.applyForModal .ant-form-item{ .applyForModal .ant-form-item{
margin-bottom:15px; margin-bottom:18px;
} }
.applyForModal .ant-form-item-label { .applyForModal .ant-form-item-label {
width: 100px; width: 100px;

Loading…
Cancel
Save