From 1f619887452d6c0faaf4c509b9e1725a02db990c Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期五, 21 五月 2021 14:59:57 +0800
Subject: [PATCH] 企业应急搜索setTypeName更改

---
 src/components/panel/topicSearch/SewersSearch.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 3976569..42edeae 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -38,7 +38,8 @@
                          :class="activeNum===index?'hover':''">
                         <img class="state" :src="getImgSrc()" style="background: none"/>
                         <div>
-                            <h3 @click="handleLocation(item,index)">{{ item.properties.name || item.properties.code }}</h3>
+                            <h3 @click="handleLocation(item,index)">{{ item.properties.name || item.properties.code
+                                }}</h3>
                             <p>鎵�灞炰紒涓氾細<span>{{ item.properties.orgname }}</span>
                             <p>璁炬柦绫诲瀷锛�<span>{{ item.properties.type }}</span>
                                 <el-button v-if="fuShuSheShiShow" class="rt btn00fff6" size="mini"
@@ -111,7 +112,6 @@
       list: [],
       // 鍥惧眰鎺у埗
       items: [LayerPipeLines, LayerFsss, LayerHbss, LayerPk, LayerArea],
-      subItems: LayerPipeLines.layers,
       // 鍒嗛〉
       pageSize: 10,
       total: 0,
@@ -131,6 +131,15 @@
     this.wfsHelper = new WfsHelper()
   },
   methods: {
+    subItems () {
+      const layers = LayerPipeLines.layers
+      console.log(layers)
+      const filtered = layers.filter(function (value, index, array) {
+        console.log(value)
+        return value.name !== '娴佸悜'
+      })
+      return filtered
+    },
     // tab鍒囨崲
     handleClick (tab, event) {
       console.log(tab, event)

--
Gitblit v1.8.0