From 8e182aa12fcba7ed25c2d65a6f5e1ae0b2160ab1 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 20 五月 2021 15:09:54 +0800 Subject: [PATCH] 装置区问题修复 --- src/components/panel/topicSearch/SewersSearch.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue index 40677f1..ce3356e 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 } }, // 鏍规嵁杩斿洖鏁版嵁 纭灞曠ず鍥剧墖 @@ -178,9 +178,12 @@ if (this.form.keyword) { this.wfsHelper.addLike('name', 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