From 6af6b9aac90bd619d6ed875a2a33c6940ca75e9e Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期四, 15 四月 2021 16:21:14 +0800
Subject: [PATCH] 查询弹窗
---
src/components/panel/topicSearch/GasWasteSearch.vue | 9 ++++++---
src/components/panel/topicSearch/SolidWasteSearch.vue | 1 +
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/components/panel/topicSearch/GasWasteSearch.vue b/src/components/panel/topicSearch/GasWasteSearch.vue
index df9dd26..079e1e9 100644
--- a/src/components/panel/topicSearch/GasWasteSearch.vue
+++ b/src/components/panel/topicSearch/GasWasteSearch.vue
@@ -67,8 +67,8 @@
<div class="environmental-risk-list" v-for="(item,index) in list" :key="index" @click="handleLocation(item)"><!-- -->
<img src="../../../../public/assets/images/map/exhaust/fq_green2.png" alt="" class="state"/>
<div>
- <h3>###鐐煎寲閮�</h3>
- <p>鎵�灞為儴闂細<span>鐐煎寲閮�</span></p>
+ <h3>{{ item.Name }}</h3>
+ <p>鎵�灞為儴闂細<span>{{ item.porltName }}</span></p>
<p>椋庨櫓绾у埆锛�<span>涓夌骇</span></p>
</div>
</div>
@@ -104,6 +104,8 @@
name: 'GasWasteSearch',
data () {
return {
+ layer: window.map,
+ L: window.L,
gdVisible: true,
list: [],
total: 0,
@@ -161,6 +163,7 @@
const res = await mapApi.getWasteGas(param)
// console.log(res)
this.list = res.Result.DataInfo
+ console.log(this.list)
},
// 寮圭獥灞曠ず
async handleLocation (val) {
@@ -175,7 +178,6 @@
var iconUrl = this.differentTypes(ContrLevel)
const marker = this.L.marker([positionX, positionY], {
- // totransferData: this.searchDataDisplay[i],
icon: this.L.icon({
iconUrl: iconUrl,
iconSize: [30, 30],
@@ -215,6 +217,7 @@
// document.body.removeChild(instance.$el)
// 閫氳繃鏂规硶 鍚戠粦瀹氬脊妗嗕紶閫掓暟鎹�
this.instance.setGasData(title, result.Result.DataInfo, Mondata.Result.DataInfo, ManualData.Result.DataInfo, 'feiqi')
+ console.log(title, result.Result.DataInfo, Mondata.Result.DataInfo, ManualData.Result.DataInfo)
// this.setPanTo(pos, 250)
}, 1000)
console.log(t1)
diff --git a/src/components/panel/topicSearch/SolidWasteSearch.vue b/src/components/panel/topicSearch/SolidWasteSearch.vue
index 5da507e..09d9660 100644
--- a/src/components/panel/topicSearch/SolidWasteSearch.vue
+++ b/src/components/panel/topicSearch/SolidWasteSearch.vue
@@ -195,6 +195,7 @@
}
// 寮规鏍囬
const title = val.Name
+ debugger
// 鍩烘湰淇℃伅 tabs
const resultBasic = await mapApi.getSolidWasteBaseInfo(dataValue)
// 璇︾粏淇℃伅灞曠ず table
--
Gitblit v1.8.0