报名基础信息
{getFieldDecorator('comName', {
initialValue: this.props.companyInfo.comName,
rules: [
{
required: true
}
]
})(
)}
{
!this.state.basicInfoStatus &&
{getFieldDecorator('perIdName', {
initialValue: this.state.perIdName || '',
rules: [
{
required: true,
message: '请先选择人员'
}
]
})(
{
$perModal({
type: 'radio',
onOk: async (values, close) => {
const { perId } = values[0]
// const { regProvince } = this.props.companyInfo;
checkIsExistsEffectBayzgz({ perId }).then(res => {
// if(res.data != 0) {
if (res.data == 1) {
return;
// Modal.warning({
// title: '该人员已存在保安员资格证,无法报名。'
// });
} else {
this.setState({
isPersonPhoto: res.data
})
getPerAuthRecordbyId({ perId }).then(result => {
if (result.data.authStatus != 1) {
Modal.warning({
title: '该人员尚未完成实名认证,无法报名。需通过实名认证,才可进行报名。'
});
} else {
this._bayzgzCheckResubmit(perId, () => {
this.setState({
perId,
perIdName: values[0].name,
key: Math.random()
}, () => {
this.getPersonInfo(perId, res.data);
this.__getComContractListByPerId();
close();
});
});
}
});
}
});
}
});
}}
/>
)}
}
{
this.state.isPersonPhoto == '2' ?
注:支持上传1M以内的jpeg|jpg文件}
style={{ marginBottom: 0 }}
>
{getFieldDecorator(`colourPhotoUrl`, {
initialValue: this.state.photo.colourPhotoUrl || '',
rules: [
{
required:
this.state.bayConfigInfo.isColourPhotoRequired ===
'1'
? true
: false,
message: `请上传一寸免冠白底彩照`
}
]
})(
{
this.setState({
photo: {
...this.state.photo,
colourPhotoUrl: url
}
});
}}
/>
)}
:
该人员有人口库照片,无需再上传报名照片。
}
{getFieldDecorator('name', {
initialValue: this.state.perInfo.name || '',
rules: [
{
required: true,
message: '请输入姓名'
}
]
})()}
{getFieldDecorator('mobilePhone', {
initialValue: this.state.perInfo.mobilePhone || '',
rules: [
{
required: true,
message: '请输入手机号码'
}
]
})()}
{getFieldDecorator('idCardNo', {
initialValue: this.state.perInfo.idCardNo,
rules: [
{
required: true,
message: '请输入身份证号'
}
]
})()}
{getFieldDecorator('birthday', {
initialValue: this.state.perInfo.birthday
? moment(this.state.perInfo.birthday, dateFormat)
: null,
rules: [
{
required: true,
message: '请选择出生年月'
}
]
})()}
{getFieldDecorator('sex', {
initialValue: this.state.perInfo.sex,
rules: [
{
required: true,
message: '请选择性别'
}
]
})(
)}
{getFieldDecorator('height', {
initialValue: this.state.perInfo.height,
rules: [
{
required:
this.state.bayConfigInfo.isHeightRequired === '1'
? true
: false,
message: '请输入身高'
}
]
})()}
{getFieldDecorator('education', {
initialValue: this.state.perInfo.education,
rules: [
{
required: true,
message: '请选择文化程度'
}
]
})()}
{
!this.state.checkAreaCodeValue&&
{getFieldDecorator('nation', {
initialValue: this.state.perInfo.nation,
rules: [
{
required:
this.state.bayConfigInfo.isNationRequired === '1'
? true
: false,
message: '请选择民族'
}
]
})(
)}
}
{
!this.state.checkAreaCodeValue && !this.checkBeijinCode() &&
{getFieldDecorator('residentPlaceType', {
initialValue: this.state.perInfo.residentPlaceType,
rules: [
{
required:false,
// this.state.bayConfigInfo.isResidentPlaceTypeRequired === '1'
// ? true
// : false,
message: '请选择户籍所在地'
}
]
})(
)}
{getFieldDecorator('residentType', {
initialValue: this.state.perInfo.residentType,
rules: [
{
required:
this.state.bayConfigInfo.isResidentTypeRequired === '1'
? true
: false,
message: '请选择户籍类型'
}
]
})(
)}
}
{this.state.checkAreaCodeValue?"户籍地址":"身份证住址"}
}
style={{ paddingRight: '-10px' }}
>
{getFieldDecorator('residentFullAddress', {
initialValue: this.state.perInfo.residentFullAddress,
rules: [
{
required:
this.state.bayConfigInfo.isResidenceRequired === '1'
? true
: false,
message: '请输入保安员住址信息'
}
]
})(