From a4a4db4d04174541e4b44b83583be515f77b10b4 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期二, 18 五月 2021 16:30:10 +0800
Subject: [PATCH] 应急问题修改
---
src/components/panel/topicSearch/SewersSearch.vue | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 8c40d1c..bc9772d 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -38,7 +38,7 @@
<div>
<h3 @click="handleLocation(item,index)">{{ item.properties.pipename }}</h3>
<p>鎵�灞炰紒涓氾細<span>{{ item.properties.orgname }}</span>
- <p>璁炬柦绫诲瀷锛�<span>{{ item.properties.linenumtype }}</span>
+ <p>璁炬柦绫诲瀷锛�<span>{{ item.properties.linenumtype }}{{ item.properties.fourtype }}{{ item.properties.teetype }}</span>
<el-button v-if="fuShuSheShiShow" class="rt btn00fff6" size="mini" style="margin-right: 0.04rem;"
@click="btnAffiliatedFacilities(item,index)" >
闄勫睘璁炬柦
@@ -86,7 +86,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',
@@ -165,12 +165,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