From e74aa392e37df023989fc4384f805c8a9f04af3c Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Wed, 28 Sep 2022 15:39:01 +0800 Subject: [PATCH] =?UTF-8?q?4625=20=E6=A3=80=E7=B4=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E5=8A=A0=E5=88=B0=E6=89=B9=E9=87=8F=E6=B7=BB=E5=8A=A0=E9=87=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/epidemic/natFocus/natFocusAdd.vue | 280 +++++++++++++++++- 1 file changed, 275 insertions(+), 5 deletions(-) diff --git a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue index 2562d8bb7..1912e820b 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue @@ -159,15 +159,16 @@ :inline="true" :model="formDataSearch" ref="ref_formSearch" - :label-width="'90px'" + label-width="90px" > - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + if (res.code !== 0) { + return this.$message.error(res.msg); + } else { + console.log("获取查询详情成功", res.data); + this.optionsV = res.data; + } + }) + .catch(() => { + return this.$message.error("网络错误"); + }); + }, + getBuildList() { + this.$http + .post("/gov/org/icbuilding/buildingoption", { + neighborHoodId: this.formDataSearch.neighborId, + }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg); + } else { + console.log("获取查询详情成功", res.data); + this.optionsB = res.data; + } + }) + .catch(() => { + return this.$message.error("网络错误"); + }); + }, + getUniList() { + this.$http + .post("/gov/org/icbuildingunit/unitoption", { + buildingId: this.formDataSearch.buildingId, + }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg); + } else { + console.log("获取查询详情成功", res.data); + this.optionsD = res.data; + } + }) + .catch(() => { + return this.$message.error("网络错误"); + }); + }, + getHouseList() { + this.$http + .post("/gov/org/ichouse/houseoption", { + unitId: this.formDataSearch.unitId, + }) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg); + } else { + console.log("获取查询详情成功", res.data); + this.optionsH = res.data; + } + }) + .catch(() => { + return this.$message.error("网络错误"); + }); + }, + handleComfirm() { if (this.activeName === "first") { this.$refs["ref_form1"].validate((valid, messageObj) => {