From bc1bacba044c4dd3d3e0cd5470c6188cd5e2bc12 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期三, 07 四月 2021 11:31:10 +0800
Subject: [PATCH] 附属设施、环保设施 独立显示

---
 src/components/LayerController/logic/WasteWater.js |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/components/LayerController/logic/WasteWater.js b/src/components/LayerController/logic/WasteWater.js
index 5a568e9..210afcd 100644
--- a/src/components/LayerController/logic/WasteWater.js
+++ b/src/components/LayerController/logic/WasteWater.js
@@ -52,13 +52,15 @@
   this.clickListener = async (e) => {
     // console.log(e)
     this.animalService.pulseEffect(e.latlng)
-    const dataValue = {
-      StoragePlaceId: e.layer.options.test.StoragePlaceId
-    }
-    const result = await mapApi.getWasteWater(dataValue)
+    // const dataValue = {
+    //   StoragePlaceId: e.layer.options.test.StoragePlaceId
+    // }
+    // const result = await mapApi.getWasteWater(dataValue)
+    // console.log(result)
     const PublicBounced = window.Vue.extend(publicBounced)
     const instance = new PublicBounced()
-    instance.setData(result)
+    instance.setGasData(e.layer.options.test, 'feishui')
+    console.log(e.layer.options.test)
     instance.$mount()
     document.body.appendChild(instance.$el)
   }

--
Gitblit v1.8.0