Browse Source

居民编辑单选框回填问题,低保信息字段核对

dlt_manageScope_0428
mk 2 years ago
parent
commit
cbdb1c1909
  1. 15
      src/views/components/editResi.vue
  2. 11
      src/views/components/resiExpand/editExpand.vue
  3. 2
      src/views/modules/portrayal/jumin/index.vue

15
src/views/components/editResi.vue

@ -1043,10 +1043,6 @@ export default {
economyDto: {
monthIncome: null, //
},
subsistenceAllowanceDto: {
reasons: null,
category: [],
},
},
orgOption:[],
footerInputList: [
@ -1469,7 +1465,7 @@ export default {
{
label: "子女死亡日期",
itemType: "datepicker1",
formName: "certificateDate",
formName: "childDeathDate",
pformName: "specialSupportDto",
opction: [],
},
@ -1630,7 +1626,6 @@ export default {
this.getOrgTreeList(this.form.resideInfoDtos[i].agencyId,i);
}
this.form = { ...res.data.data };
this.form.baseInfoDto.idNum = this.$route.params.idNum;
this.form.baseInfoDto.mobile = this.$route.params.mobile;
if (!res.data.data.familyInfoDto) {
@ -1664,6 +1659,12 @@ export default {
specialCategoryCodes: [],
};
}
if (!res.data.data.subsistenceAllowanceDto) {
this.form.subsistenceAllowanceDto = {
reasons: [],
category:null ,
};
}
if (!res.data.data.unemployedDto) {
this.form.unemployedDto = {
originWorkUnit: null, //
@ -1703,7 +1704,7 @@ export default {
formData.partyOrgIdPath || null;
}
this.footerInputList[i].children[index].value =
formData[formName] || null;
formData[formName] != null?formData[formName]:null
this.footerInputList[i].children[index].id =
formData.id;
}

11
src/views/components/resiExpand/editExpand.vue

@ -119,6 +119,7 @@ export default {
disabilityDesc: null,
guardianFlag: null,
guardianName: null,
guardianMobile:null,
specialSkillFlag: null,
workCapacityFlag: null
},
@ -142,8 +143,8 @@ export default {
},
//
subsistenceAllowanceDto: {
reasons: null,
category: []
reasons: [],
category:null ,
},
// 退
veteranDto: {
@ -179,7 +180,6 @@ export default {
volunteerDto: {
volunteerCategory: []
},
},
casProps: {
value: 'id',
@ -234,7 +234,6 @@ export default {
},
showForm() {
this.$nextTick(() => {
// console.log(this.formList,'formList');
// console.log(this.form,'form');
const promises = this.formList.forEach((item) => {
item.form.map(async (group) => {
@ -248,8 +247,8 @@ export default {
this.partyOrgIdPath = item.orgPath.split(':')[0]
await this.getOrgTree()
this.form[item.pformName][item.formName] = item.value || null
} else {
this.form[item.pformName][item.formName] = item.value || null
} else{
this.form[item.pformName][item.formName] = item.value != null?item.value:null;
}
if (item.opctionUrl) {
try {

2
src/views/modules/portrayal/jumin/index.vue

@ -1077,7 +1077,7 @@ export default {
{
label: "子女死亡日期",
itemType: "datepicker1",
formName: "certificateDate",
formName: "childDeathDate",
opction: [],
},
{

Loading…
Cancel
Save