From 1991afc59454ef23dcb7c2d22037a879bc82c0e6 Mon Sep 17 00:00:00 2001 From: tianq Date: Mon, 3 Apr 2023 10:07:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataBoard/cpts/resi-details.vue | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/views/dataBoard/cpts/resi-details.vue b/src/views/dataBoard/cpts/resi-details.vue index 719119cc3..202169397 100644 --- a/src/views/dataBoard/cpts/resi-details.vue +++ b/src/views/dataBoard/cpts/resi-details.vue @@ -959,6 +959,27 @@ export default { } ]; }, + async getInfo() { + const url = "resident_info"; + + const { data, code, msg } = await requestPostBi( + url, + { + queryParam: { + resident_id: this.resiId, + }, + }, + { + // mockId: 60235478, + } + ); + + if (code === 0) { + this.info = { ...this.info, ...data[0] }; + } else { + this.$message.error(msg); + } + }, async getCount() { const { org_id, listType, page_num, page_size, searchDate } = this; const start_date = searchDate[0];