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
视频监控