|
|
@ -611,6 +611,7 @@ |
|
|
|
<div class="stafftag"> |
|
|
|
<stafftag |
|
|
|
:formType="'edit'" |
|
|
|
ref="stafftag" |
|
|
|
:userInfo="form" |
|
|
|
@showDialog="showDialog" |
|
|
|
> |
|
|
@ -1875,6 +1876,10 @@ export default { |
|
|
|
this.form.baseInfoDto.birthday = birth; |
|
|
|
this.form.baseInfoDto.gender = sex == 1 ? "1" : "2"; |
|
|
|
this.form.baseInfoDto.categoryInfo.oldPeopleFlag = age >= 60 ? 1 : 0; |
|
|
|
this.form.baseInfoDto.categoryInfo.fertileWomanFlag = this.form.baseInfoDto.gender == 2 && (age >= 18 && age < 49)? 1 : 0; |
|
|
|
let obj = {oldPeopleFlag:age >= 60 ? 1 : 0,fertileWomanFlag:this.form.baseInfoDto.gender == 2 && (age >= 18 && age < 49)? 1 : 0,sex,age} |
|
|
|
this.$refs['stafftag'].updatedForm(obj); |
|
|
|
this.form.oldPeopleDto.oldPeopleCategories = ['oldPeopleFlag']; |
|
|
|
// this.form.IS_BDHJ = huji == _id ? '1' : '' |
|
|
|
// 身份证前端验证角色方法 因原型没有注释 |
|
|
|
// this.validateIdcard(this.form.idNum) |
|
|
|