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: "",