From dd8d16c2cf67739e84bd5e04c4b2cdada2ac0390 Mon Sep 17 00:00:00 2001 From: duanliangtao <48194157+duanliangtao@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=89=BE=E5=9B=9E=E5=B1=85?= =?UTF-8?q?=E6=B0=91=E7=9A=84=E6=99=BA=E8=83=BD=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/resi.vue | 48 ++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 425acbde7..667d0a763 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -75,7 +75,7 @@ style="margin-left: 10px" size="small" class="diy-button--white" - @click="handleExport" + @click="diyExport" :loading="exportLoading" plain >{{exportBtnTitle}}确 定 + + + + + @@ -273,6 +280,7 @@ import { Loading } from "element-ui"; // 引入Loading服务 import resiChangeTransfer from "../../components/resiChangeTransfer.vue"; import resideathAdd from "../plugins/change/resideathAdd.vue"; +import diyInfo from "./diyInfo.vue"; let loading; export default { components: { @@ -284,6 +292,7 @@ export default { resiChangeRecord, resiChangeTransfer, resideathAdd, + diyInfo, }, data() { return { @@ -330,6 +339,9 @@ export default { tableDataTow: [], valueb: '', searchList: [], + exportList: [], + diyDialog: false, + treeData: [], autoOpenArr: [], @@ -654,6 +666,40 @@ export default { this.$refs.ref_changerecord.initForm(row); }, + async diyExport() { + await this.getExportList(); + console.log(this.$refs['']); + }, + + handleDiyClose() { + this.diyDialog = false; + }, + + async getExportList(type) { + const url = "/oper/customize/icformitemgroup/list"; + let params = { + formCode: "resident_base_info", + }; + + const { data, code, msg } = await requestPost(url, params); + + if (code === 0) { + data.forEach((item) => { + (async (id) => { + // item.queryItemList = await this.getExportChildList(id) + item.queryItemList = []; + })(item.id); + }); + this.exportList = [...data]; + this.$nextTick(() => { + this.diyDialog = true; + }); + console.log("获取详情成功getExportList----", this.exportList); + } else { + this.$message.error(msg); + } + }, + diaClose() { this.tranferShow = false; this.deathShow = false;