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) => {