From a6cd32a6a6961aa8068b73b36312867f32c216d6 Mon Sep 17 00:00:00 2001 From: SHICHAO <17568097882@163.com> Date: Sun, 27 Aug 2023 14:51:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=B5=84=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 1 + src/views/home/widget/goodsbox.vue | 16 ++++++++++++---- src/views/home/widget/reportlist.vue | 6 ------ 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 8f91643..df9665b 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -175,6 +175,7 @@
diff --git a/src/views/home/widget/goodsbox.vue b/src/views/home/widget/goodsbox.vue index 6d3326e..c42e909 100644 --- a/src/views/home/widget/goodsbox.vue +++ b/src/views/home/widget/goodsbox.vue @@ -73,7 +73,7 @@ import { getMethodCommon } from "../../../api/common"; const areaName = localStorage.getItem("areaName"); export default { name: "monitorbox", - props: ["endLngLat"], + props: ["endLngLat",'firePopup'], data() { return { startLngLat: null, @@ -95,6 +95,13 @@ export default { endLngLat: function (e) { this.getWuziList(); }, + firePopup: { + handler(newVal, oldVal) { + if (newVal == true) { + this.close(); + } + }, + }, }, created() { this.getWuziList(); @@ -156,9 +163,10 @@ export default { getMethodCommon("/FirePrevention/Loadwuzichubei", this.listQuery).then( (res) => { this.goodsListData = res.data; - this.nestWuziPoints = this.getNestPoint(this.endLngLat[0], this.endLngLat[1]); - console.log('this.nestWuziPoints : ', this.nestWuziPoints ); - this.radioChange(); + this.getNestPoint(this.endLngLat[0], this.endLngLat[1]).then(wz=>{ + this.nestWuziPoints = wz + this.radioChange(); + }) } ); }, diff --git a/src/views/home/widget/reportlist.vue b/src/views/home/widget/reportlist.vue index 02aaf9d..3a03b80 100644 --- a/src/views/home/widget/reportlist.vue +++ b/src/views/home/widget/reportlist.vue @@ -265,15 +265,9 @@ export default {
-<<<<<<< HEAD 人员调度 附近水源 周边物资 -======= - 人员调度 - 附近物资 - 附近水源 ->>>>>>> 7d08eed0e10dd0cb32b78e668b31c45956f1ce0a 视频监控