From 41f80e2ae043a349c78d6c8b8d4bb2d4b4b757aa Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 19 Jun 2024 10:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=A2=E5=85=A8=E9=83=A8=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/resiSearch.vue | 2 +- src/views/modules/base/resi.vue | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/components/resiSearch.vue b/src/views/components/resiSearch.vue index ca3e58948..1335645c9 100644 --- a/src/views/components/resiSearch.vue +++ b/src/views/components/resiSearch.vue @@ -610,7 +610,7 @@ export default { ageEnd: '', integrityScoreFrom: null,//居民信息完整度はじめ integrityScoreTo: null,//居民信息完整度end - identity:'', + identity:null, gender: '', cultureLevel: '', localResidenceFlag: '', diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index f276e277a..dfe271647 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -101,9 +101,8 @@ - + @command="(command) => confirmBatch(command)" v-if="updeBtn" > 信息无误确认 全部确认 @@ -1126,7 +1125,7 @@ export default { const value = obj[key]; if (Array.isArray(value)) { resultArray.push(...value); // 展开数组并加入结果数组 - } else { + } else if(value){ resultArray.push(value); // 将非数组的值加入结果数组 } } @@ -1138,7 +1137,7 @@ export default { let _obj = JSON.parse(JSON.stringify(this.$refs.myResiSearch.form)); _obj.attentionCrowds = _obj.attentionCrowds.flat() let updateCategorys = this.extractSpecificKeys(_obj,['attentionCrowds','healthStatus','specialCategoryCodes','identity']) - const url = `/actual/base/residentCategoryUpdateInfo/unchangePartUpdate`; + const url = `/actual/base/residentCategoryUpdateInfo/${ids?'unchangePartUpdate':'unchangeMultiUpdate'}`; let params = {ids,partyFlag:_obj.partyFlag,updateCategorys}; if(!ids){ params = { ..._obj,updateCategorys}