From 42357705beaa091d6c1f9da1d7577b201cea2d72 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 2 Feb 2024 10:53:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=B1=85=E6=B0=91=E5=A4=8D?= =?UTF-8?q?=E9=80=89=E6=A1=86=E5=A4=9A=E9=80=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/resiForm.vue | 6 +++--- src/views/modules/base/resi.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue index 186d7767b..307e7bbcf 100644 --- a/src/views/components/resiForm.vue +++ b/src/views/components/resiForm.vue @@ -1714,7 +1714,6 @@ export default { } }, - getValiheList () { const { user } = this.$store.state this.$http.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.form.gridId, agencyId: user.agencyId }).then(({ data: res }) => { @@ -2446,9 +2445,10 @@ export default { if (res.code !== 0) { return this.$message.error(res.msg); } else { - if (res.data && res.data.chronicDiseaseCode) { res.data.chronicDiseaseCode = res.data.chronicDiseaseCode.split(',') + }else{ + res.data.chronicDiseaseCode = [] } this.form.healthDto = res.data ? res.data : { // 健康 @@ -2478,7 +2478,7 @@ export default { }, // 工作信息详情 residentWorkInfo (id) { - if (this.newForm.healthDto) return + if (this.newForm.workInfoDto) return this.$http.get(`/actual/base/residentWorkInfo/detail/${id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg); diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index e91e29272..c2376beaf 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -388,7 +388,7 @@ export default { window.SITE_CONFIG["apiURL"] + "/epmetuser/icresiuser/importExcel", currentPage: 1, - pageSize:window.localStorage.getItem('pageSize') || 20, + pageSize: 20, total: null, conditions: [], activeName: "",