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];