|
@ -284,7 +284,7 @@ |
|
|
ref="form" |
|
|
ref="form" |
|
|
:model="form" |
|
|
:model="form" |
|
|
:rules="rules" |
|
|
:rules="rules" |
|
|
label-width="90px" |
|
|
label-width="100px" |
|
|
> |
|
|
> |
|
|
<el-form-item label="姓名" prop="name"> |
|
|
<el-form-item label="姓名" prop="name"> |
|
|
<el-input |
|
|
<el-input |
|
@ -299,7 +299,7 @@ |
|
|
<el-radio :label="1">女</el-radio> |
|
|
<el-radio :label="1">女</el-radio> |
|
|
</el-radio-group> |
|
|
</el-radio-group> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="出生年月" prop="birthDate"> |
|
|
<el-form-item label="出生日期" prop="birthDate"> |
|
|
<el-date-picker |
|
|
<el-date-picker |
|
|
:disabled="formDisabled" |
|
|
:disabled="formDisabled" |
|
|
format="yyyy-MM-dd" |
|
|
format="yyyy-MM-dd" |
|
@ -362,7 +362,7 @@ |
|
|
</el-checkbox> |
|
|
</el-checkbox> |
|
|
</el-checkbox-group> |
|
|
</el-checkbox-group> |
|
|
<el-input |
|
|
<el-input |
|
|
v-model="form.currentIllnessHistoryQT" |
|
|
v-model="form.currentIllnessHistoryQt" |
|
|
placeholder="其他" |
|
|
placeholder="其他" |
|
|
:disabled="formDisabled" |
|
|
:disabled="formDisabled" |
|
|
/> |
|
|
/> |
|
@ -468,6 +468,7 @@ export default { |
|
|
1: "护照或外国人永居证", |
|
|
1: "护照或外国人永居证", |
|
|
2: "港澳居民来往内地通行", |
|
|
2: "港澳居民来往内地通行", |
|
|
3: "台湾居民来往大陆通行证", |
|
|
3: "台湾居民来往大陆通行证", |
|
|
|
|
|
4: "其他", |
|
|
}, |
|
|
}, |
|
|
loading: false, // 遮罩层 |
|
|
loading: false, // 遮罩层 |
|
|
ids: [], // 选中数组 |
|
|
ids: [], // 选中数组 |
|
@ -504,6 +505,9 @@ export default { |
|
|
gender: [ |
|
|
gender: [ |
|
|
{ required: true, message: "性别不能为空", trigger: "change" }, |
|
|
{ required: true, message: "性别不能为空", trigger: "change" }, |
|
|
], |
|
|
], |
|
|
|
|
|
birthDate: [ |
|
|
|
|
|
{ required: true, message: "出生日期不能为空", trigger: "change" }, |
|
|
|
|
|
], |
|
|
phone: [ |
|
|
phone: [ |
|
|
{ required: true, message: "手机号码不能为空", trigger: "blur" }, |
|
|
{ required: true, message: "手机号码不能为空", trigger: "blur" }, |
|
|
], |
|
|
], |
|
@ -516,6 +520,9 @@ export default { |
|
|
idCard: [ |
|
|
idCard: [ |
|
|
{ required: true, message: "证件号码不能为空", trigger: "blur" }, |
|
|
{ required: true, message: "证件号码不能为空", trigger: "blur" }, |
|
|
], |
|
|
], |
|
|
|
|
|
educationYears: [ |
|
|
|
|
|
{ required: true, message: "受教育年限不能为空", trigger: "blur" }, |
|
|
|
|
|
], |
|
|
currentIllnessHistory: [ |
|
|
currentIllnessHistory: [ |
|
|
{ |
|
|
{ |
|
|
required: true, |
|
|
required: true, |
|
@ -585,7 +592,7 @@ export default { |
|
|
idCardType: "", // 证件类型 |
|
|
idCardType: "", // 证件类型 |
|
|
idCard: "", // 证件号码 |
|
|
idCard: "", // 证件号码 |
|
|
currentIllnessHistory: [], // 现病史 |
|
|
currentIllnessHistory: [], // 现病史 |
|
|
currentIllnessHistoryQT: "", // 现病史 |
|
|
currentIllnessHistoryQt: "", // 现病史 |
|
|
}; |
|
|
}; |
|
|
this.resetForm("form"); |
|
|
this.resetForm("form"); |
|
|
}, |
|
|
}, |
|
|