Browse Source

居民信息中新增编辑加默认值

V1.0
mk 2 years ago
parent
commit
5aee2f2541
  1. 14
      src/views/components/resiForm.vue

14
src/views/components/resiForm.vue

@ -2019,7 +2019,7 @@ export default {
this.form.birthday = data.birthday
this.form.gender = data.gender
this.form.idNum = data.idNum
this.form.localResidenceFlag = data.localResidenceFlag ? data.localResidenceFlag.toString() : ''
this.form.localResidenceFlag = (data.localResidenceFlag !== null && data.localResidenceFlag !== undefined) ? data.localResidenceFlag.toString() : '';
this.form.mobile = data.mobile ? data.mobile : ''
this.form.name = data.name
this.form.nation = data.nation ? data.nation : ''
@ -2169,15 +2169,15 @@ export default {
disabilityLevel:'',//
disabilityNum:'',//
disabilityDesc:'',//
guardianFlag:null,//
specialSkillFlag:null,//:1 :0
workCapacityFlag:null,//:1 :0
voluntaryEducationFlag:null,//:1 :0
guardianFlag:1,//
specialSkillFlag:1,//:1 :0
workCapacityFlag:1,//:1 :0
voluntaryEducationFlag:1,//:1 :0
illnessCode:'',//code
illnessTime:'',//yyyy-MM-dd
chronicDiseaseCode:'',//code
chronicDiseaseTime:'',//
insuredFlag:'',//:1 :0
insuredFlag:1,//:1 :0
selfPayAmount:'',//
deliveranceAmount:'',//
deliveranceTime:'',//
@ -2252,7 +2252,7 @@ export default {
resideSituation:'',//
marriage:'',//
spouseSituation:'',//
elderlyFlag:null,//:1 :0
elderlyFlag:1,//:1 :0
elderlyRelation:'',//
dependantMobile:'',//
familyInfoRemark:'',//

Loading…
Cancel
Save