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 | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 4f91daa..1948348 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -135,6 +135,13 @@
// tab鍒囨崲
handleClick (tab, event) {
console.log(tab, event)
+ if (tab.label === '鍒嗘瀽') {
+ // 鍏抽棴寮圭獥
+ window.mapManager.clickDialogSwitch = false
+ } else {
+ // 鎵撳紑寮圭獥
+ window.mapManager.clickDialogSwitch = true
+ }
},
// 鏍规嵁杩斿洖鏁版嵁 纭灞曠ず鍥剧墖
getImgSrc () {
@@ -170,11 +177,12 @@
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 filter = this.form.dataType.filter
+ // if (filter) {
+ // this.wfsHelper.setFilter(filter)
+ // }
// const _this = this
const res = await AjaxUtils.GetDataAsynByUrl(this.wfsHelper.getUrl(), {})
if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) {
--
Gitblit v1.8.0