diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue index d5fe9bf73..b32ed5f2b 100644 --- a/src/views/components/resiForm.vue +++ b/src/views/components/resiForm.vue @@ -1183,7 +1183,8 @@ export default { oldSubsidy:''//高龄补助 }, specialDto:{//特殊人群 - specialCategoryCode:[]//人群类别【字典表】,可多选,以英文逗号隔开; + id:'',//人群类别【字典表】,可多选,以英文逗号隔开; + specialCategoryCode:[] }, birthRecordDTO:{ birthplace: '', @@ -2311,6 +2312,8 @@ export default { } this.newForm.eduInfoDto = this.form.eduInfoDto + this.newForm.specialDto = this.form.specialDto + console.log(this.newForm.specialDto); }, setJSON() { this.newForm.agencyName = this.form.agencyName, @@ -2409,9 +2412,8 @@ export default { this.newForm.oldPeopleDto = this.form.oldPeopleDto } - if(this.newForm.specialDto) { this.newForm.specialDto = this.form.specialDto - } + this.newForm.specialDto.id = this.form.resiId } } } diff --git a/src/views/components/resiInfo.vue b/src/views/components/resiInfo.vue index 29d09b704..276a376be 100644 --- a/src/views/components/resiInfo.vue +++ b/src/views/components/resiInfo.vue @@ -1201,6 +1201,7 @@ export default { }else if(tab.index == 14){ this.getOldPeopleDetailById() }else if(tab.index == 15){ + console.log(1); this.getResidentNation() this.getresidentSpecial() }else if(tab.index == 16){ @@ -1424,7 +1425,7 @@ export default { }}, async getResidentNation(){ try { - const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'resident_category'}) + const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'special_resident_category'}) this.specialDtoArr=data.data } catch (error) { console.log(error,'获取特殊人群字典'); diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index ee147198a..29f223fc7 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -1,45 +1,9 @@