From 6b2762b54a4332344047fa15ef3daa234d52636a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Fri, 24 Dec 2021 19:33:28 +0800 Subject: [PATCH] 26020 --- src/apps/AppResidentDocument/DetailCard.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/apps/AppResidentDocument/DetailCard.vue b/src/apps/AppResidentDocument/DetailCard.vue index 3bd6a211..af8b3165 100644 --- a/src/apps/AppResidentDocument/DetailCard.vue +++ b/src/apps/AppResidentDocument/DetailCard.vue @@ -7,7 +7,8 @@
- {{ currentAddress }} + {{ resident.currentAreaName }} + {{ resident.currentAddress }}
@@ -59,13 +60,13 @@ export default { return { id: '', data: [], - currentAddress: '', + resident: {}, } }, computed: {}, watch: {}, onLoad(o) { - document.title = '居民档案' + document.title = '居民档案' this.id = o.id this.$dict.load('householdRelation', 'fileStatus').then(() => { this.getDetail() @@ -78,7 +79,7 @@ export default { if (res.code == 0) { this.data = res.data this.$nextTick(() => { - this.currentAddress = res.data.resident.currentAddress + this.resident = res.data.resident }) } })