From ee629193f59c538ce816c25d673f7c4320a74f17 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期四, 20 五月 2021 16:29:03 +0800
Subject: [PATCH] 管线 应急修改

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

diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 40677f1..1948348 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -137,10 +137,10 @@
       console.log(tab, event)
       if (tab.label === '鍒嗘瀽') {
         // 鍏抽棴寮圭獥
-        window.layerFactory.clickSwitch = false
+        window.mapManager.clickDialogSwitch = false
       } else {
         // 鎵撳紑寮圭獥
-        window.layerFactory.clickSwitch = true
+        window.mapManager.clickDialogSwitch = true
       }
     },
     // 鏍规嵁杩斿洖鏁版嵁 纭灞曠ず鍥剧墖
@@ -177,10 +177,14 @@
       this.wfsHelper.setTypeName([this.form.dataType.typeName])
       if (this.form.keyword) {
         this.wfsHelper.addLike('name', this.form.keyword)
+        this.wfsHelper.setFilter(this.form.keyword)
       }
+      // const filter = this.form.dataType.filter
+      // if (filter) {
+      //   this.wfsHelper.setFilter(filter)
+      // }
       // const _this = this
       const res = await AjaxUtils.GetDataAsynByUrl(this.wfsHelper.getUrl(), {})
-      console.log(res)
       if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) {
         this.total = res.totalFeatures
         this.list = res.features

--
Gitblit v1.8.0