|
|
@ -233,8 +233,7 @@ |
|
|
|
<el-checkbox v-for="items in itemk.opction" |
|
|
|
:label="items.label != itemk.label ? items.label :''" |
|
|
|
:style="{'margin-right':items.label != itemk.label? '' :'19px'}" |
|
|
|
:key="items.label" |
|
|
|
@change="val => handleChangeCheckbox1(val,items)"></el-checkbox> |
|
|
|
:key="items.label"></el-checkbox> |
|
|
|
</el-checkbox-group> |
|
|
|
</template> |
|
|
|
<template v-else-if="itemk.itemType == 'datepicker1'"> |
|
|
@ -1205,7 +1204,7 @@ export default { |
|
|
|
|
|
|
|
}) |
|
|
|
if(flag){ |
|
|
|
return this.newForm |
|
|
|
return JSON.stringify(this.newForm) |
|
|
|
} |
|
|
|
return false |
|
|
|
}, |
|
|
@ -1456,9 +1455,6 @@ export default { |
|
|
|
handleChangeCheckbox(e,val){ |
|
|
|
this.handleTabShow(val,e) |
|
|
|
}, |
|
|
|
handleChangeCheckbox1(e,val){ |
|
|
|
console.log(this.form.hobbyInfoDto.hobbyCode) |
|
|
|
}, |
|
|
|
handleTabShow(val,e){ |
|
|
|
if(e == 1){ |
|
|
|
if(val.formName == 'partyFlag'){ |
|
|
@ -1821,7 +1817,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
getFormData(data) { |
|
|
|
this.form.categoryId = '111222333',// 临时写死 |
|
|
|
this.form.categoryId = data.categoryInfo.id,// 临时写死 |
|
|
|
this.form.resiId = data.resiId |
|
|
|
this.form.buildId = data.houseInfo.buildId |
|
|
|
this.form.gridId = data.houseInfo.gridId |
|
|
@ -1834,8 +1830,8 @@ export default { |
|
|
|
this.form.birthday = data.birthday |
|
|
|
this.form.gender = data.gender |
|
|
|
this.form.idNum = data.idNum |
|
|
|
this.form.localResidenceFlag = data.localResidenceFlag.toString() |
|
|
|
this.form.mobile = data.mobile |
|
|
|
this.form.localResidenceFlag = data.localResidenceFlag ? data.localResidenceFlag.toString() : '' |
|
|
|
this.form.mobile = data.mobile ? data.mobile : '' |
|
|
|
this.form.name = data.name |
|
|
|
this.form.nation = data.nation ? data.nation : '' |
|
|
|
this.form.remark = data.remark ? data.remark : '' |
|
|
@ -1919,6 +1915,7 @@ export default { |
|
|
|
cultureLevel:'', |
|
|
|
eduRemark:'' |
|
|
|
} |
|
|
|
this.newForm.eduInfoDto = this.form.eduInfoDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -1928,11 +1925,15 @@ export default { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
} else { |
|
|
|
if (res.data) { |
|
|
|
res.data.hobbyCode = res.data.hobbyCode.split(',') |
|
|
|
} |
|
|
|
this.form.hobbyInfoDto = res.data ? res.data : { //兴趣爱好 |
|
|
|
hobbyCode:[],//兴趣特长 |
|
|
|
interestDesc:'',//兴趣 |
|
|
|
hobbyRemark:''//备注 |
|
|
|
} |
|
|
|
this.newForm.hobbyInfoDto = this.form.hobbyInfoDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -1946,6 +1947,8 @@ export default { |
|
|
|
religion:'', |
|
|
|
religionRemark:'' |
|
|
|
} |
|
|
|
|
|
|
|
this.newForm.religionDto = this.form.religionDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -1975,6 +1978,7 @@ export default { |
|
|
|
deliveranceNum:'',//享受救助明细序号 |
|
|
|
healthRemark:''//备注 |
|
|
|
} |
|
|
|
this.newForm.healthDto = this.form.healthDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -1990,6 +1994,8 @@ export default { |
|
|
|
retireTime:'',//离退休时间 |
|
|
|
workRemark:'',//备注 |
|
|
|
} |
|
|
|
|
|
|
|
this.newForm.workInfoDto = this.form.workInfoDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2003,6 +2009,7 @@ export default { |
|
|
|
retirementAmount:'',//退休金额 |
|
|
|
monthIncome:'',//月收入 |
|
|
|
} |
|
|
|
this.newForm.economyDto = this.form.economyDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2019,6 +2026,7 @@ export default { |
|
|
|
householdSituation:'',//人户情况,字典code |
|
|
|
resiRemark:'',//备注 |
|
|
|
} |
|
|
|
this.newForm.resideInfoDto = this.form.resideInfoDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2038,6 +2046,7 @@ export default { |
|
|
|
dependantMobile:'',//赡养人联系电话 |
|
|
|
familyInfoRemark:'',//备注 |
|
|
|
} |
|
|
|
this.newForm.familyInfoDto = this.form.familyInfoDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2060,6 +2069,7 @@ export default { |
|
|
|
joinCommunityTime:'',//组织关系转入社区时间yyyy-MM-dd |
|
|
|
longHolidayFlag:null,//是否请长假:1是,0否 |
|
|
|
} |
|
|
|
this.newForm.parymemberInfoDto = this.form.parymemberInfoDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2076,6 +2086,7 @@ export default { |
|
|
|
subsidyNum:'',//补贴编号 |
|
|
|
subsidyAmount:'',//补贴金额 |
|
|
|
} |
|
|
|
this.newForm.ensureHouseDto = this.form.ensureHouseDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2095,6 +2106,7 @@ export default { |
|
|
|
employmentHardFlag:null,//是否就业困难对象;1是0不是 |
|
|
|
employmentWish:'',//劳动能力就业愿望 |
|
|
|
} |
|
|
|
this.newForm.unemployedDto = this.form.unemployedDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2116,6 +2128,7 @@ export default { |
|
|
|
joinWarEndTime:'',//参战时间截止日期yyyy-MM-dd |
|
|
|
pubWelfareJobFlag:null,//是否办理公益性岗位;1是0否 |
|
|
|
} |
|
|
|
this.newForm.veteranDto = this.form.veteranDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2129,6 +2142,7 @@ export default { |
|
|
|
duty:'',//职务 |
|
|
|
visitation:'',//探亲情况 |
|
|
|
} |
|
|
|
this.newForm.unitedFrontDto = this.form.unitedFrontDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2138,10 +2152,15 @@ export default { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
} else { |
|
|
|
if (res.data) { |
|
|
|
res.data.volunteerCategory = res.data.volunteerCategory.split(',') |
|
|
|
} |
|
|
|
this.form.volunteerDto = res.data ? res.data : {//志愿者信息 |
|
|
|
volunteerCategory:[],//志愿者类别 |
|
|
|
volunteerRemark:''//备注 |
|
|
|
} |
|
|
|
|
|
|
|
this.newForm.volunteerDto = this.form.volunteerDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2154,6 +2173,8 @@ export default { |
|
|
|
this.form.oldPeopleDto = res.data ? res.data : { |
|
|
|
oldSubsidy:''//高龄补助 |
|
|
|
} |
|
|
|
|
|
|
|
this.newForm.oldPeopleDto = this.form.oldPeopleDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -2163,9 +2184,14 @@ export default { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
} else { |
|
|
|
if (res.data) { |
|
|
|
res.data.specialCategoryCode = res.data.specialCategoryCode.split(',') |
|
|
|
} |
|
|
|
this.form.specialDto = res.data ? res.data : {//特殊人群 |
|
|
|
specialCategoryCode:[]//人群类别【字典表】,可多选,以英文逗号隔开; |
|
|
|
} |
|
|
|
|
|
|
|
this.newForm.specialDto = this.form.specialDto |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|