From 755baaf11dd4e5c8eb7a5c2aa0ea23732fe47c85 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期二, 18 五月 2021 15:16:53 +0800
Subject: [PATCH] 弹窗信息补全

---
 src/components/panel/topicSearch/SewersSearch.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 03c28d5..c6fe249 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -83,7 +83,7 @@
 // 寮曞叆缁勪欢鍐呭
 import SewersAnalysis from '@components/panel/topicSearch/SewersSelect/SewersAnalysis'
 import SewersHistory from '@components/panel/topicSearch/SewersSelect/SewersHistory'
-import { fitBounds, highlight } from '../../helpers/LocateHelper'
+import { fitBounds, highlight, locate } from '../../helpers/LocateHelper'
 
 export default {
   name: 'SewersSearch',
@@ -162,12 +162,11 @@
       }
     },
     handleLocation (val, index) {
-      console.log(this.form.dataType)
       // console.log(val)
       this.activeNum = index
       // layer && layer.openPopup()
-      fitBounds(val, this.form.dataType.code)
-      highlight(val, this.form.dataType)
+      const config = this.form.dataType
+      locate(val, config)
     },
     btnAffiliatedFacilities (val, index) {
       this.activeNum = index

--
Gitblit v1.8.0