Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_forum
daiao 5 years ago
commit 1bb0d4be58

@ -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;
@ -448,9 +449,7 @@ class AccountBasic extends Component {
.basicForm .cancelBtn { .basicForm .cancelBtn {
margin-left: 0px; margin-left: 0px;
} }
.basicForm .ant-input-lg {
height: 32px;
}
.basicForm .ant-form-item-label { .basicForm .ant-form-item-label {
width: 100px; width: 100px;
padding-right: 10px; padding-right: 10px;
@ -576,6 +575,7 @@ class AccountBasic extends Component {
<Form.Item <Form.Item
label="" label=""
className="formItemInline fl" className="formItemInline fl"
style={{ 'margin-top': '3px'}}
// style={{display:identity && identity=="student" ? "block":"none"}} // style={{display:identity && identity=="student" ? "block":"none"}}
> >
{getFieldDecorator('student_No', { {getFieldDecorator('student_No', {
@ -680,6 +680,7 @@ class AccountBasic extends Component {
<Form.Item <Form.Item
label="院系/部门" label="院系/部门"
className="formItemInline mb0" className="formItemInline mb0"
style={{ 'margin-top': '10px'}}
> >
{getFieldDecorator('org2', { {getFieldDecorator('org2', {
rules: [{ rules: [{
@ -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')
}
})
} }
} }

@ -335,7 +335,7 @@ class AccountSecure extends Component {
</Button> </Button>
</Form.Item> </Form.Item>
<div className="mb20" style={{ marginLeft: '118px' }}> <div className="mb20" style={{ marginLeft: '204px' }}>
<Button type="primary" onClick={this.onPhoneSubmit}>确定</Button> <Button type="primary" onClick={this.onPhoneSubmit}>确定</Button>
<Button type="primary grayBtn" style={{ marginLeft: '20px'}} onClick={this.hideUpdating}>取消</Button> <Button type="primary grayBtn" style={{ marginLeft: '20px'}} onClick={this.hideUpdating}>取消</Button>
</div> </div>
@ -398,7 +398,7 @@ class AccountSecure extends Component {
{ !secondsFlag ? "获取验证码":`重新发送${seconds}s`}</Button> { !secondsFlag ? "获取验证码":`重新发送${seconds}s`}</Button>
</Form.Item> </Form.Item>
<div className="mb20" style={{ marginLeft: '118px' }}> <div className="mb20" style={{ marginLeft: '204px' }}>
<Button type="primary" onClick={this.onEmailSubmit}>确定</Button> <Button type="primary" onClick={this.onEmailSubmit}>确定</Button>
<Button type="primary grayBtn" style={{ marginLeft: '20px'}} onClick={this.hideUpdating}>取消</Button> <Button type="primary grayBtn" style={{ marginLeft: '20px'}} onClick={this.hideUpdating}>取消</Button>
</div> </div>
@ -471,7 +471,7 @@ class AccountSecure extends Component {
)} )}
</Form.Item> </Form.Item>
<div className="mb20" style={{ marginLeft: '118px' }}> <div className="mb20" style={{ marginLeft: '204px' }}>
<Button type="primary" onClick={this.onPasswordSubmit}>确定</Button> <Button type="primary" onClick={this.onPasswordSubmit}>确定</Button>
<Button type="primary grayBtn" style={{ marginLeft: '20px'}} onClick={this.hideUpdating}>取消</Button> <Button type="primary grayBtn" style={{ marginLeft: '20px'}} onClick={this.hideUpdating}>取消</Button>
</div> </div>

@ -51,3 +51,33 @@ button.ant-btn.ant-btn-primary.grayBtn {
.basicForm .ant-form-item-label label { .basicForm .ant-form-item-label label {
color: #979797 color: #979797
} */ } */
.courseNormalForm .ant-select-show-search {
height: 40px;
}
.courseNormalForm .ant-select-auto-complete.ant-select .ant-input {
height: 40px;
}
.courseNormalForm .ant-select-search__field__mirror {
height: 40px;
}
.courseNormalForm .ant-input-lg {
height: 40px;
}
.courseNormalForm .ant-select-selection--single {
height: 40px;
}
.courseNormalForm .ant-select-auto-complete.ant-select .ant-select-selection--single {
height: 40px
}
.courseNormalForm .ant-input-affix-wrapper {
height: 40px;
}
/* 职业 */
.courseNormalForm .ant-select-selection-selected-value {
line-height: 38px
}
.courseNormalForm input {
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