From c12c836c00e84c69c89b12e74675308d4da56c64 Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期三, 14 四月 2021 16:41:52 +0800 Subject: [PATCH] 右侧固废管理查询定位弹框 --- src/components/helpers/WfsHelper.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/helpers/WfsHelper.js b/src/components/helpers/WfsHelper.js index 3208ca8..b9cd594 100644 --- a/src/components/helpers/WfsHelper.js +++ b/src/components/helpers/WfsHelper.js @@ -5,7 +5,7 @@ function WfsHelper () { this.filters = [] this.typeNames = [] - this.url = MapConfig.BLUEMAP_HOST + '/server/ogcserver/PipeLine/wfs' + this.url = MapConfig.PIPELINE_WFS this.params = { REQUEST: 'getfeature', OUTPUTFORMAT: 'JSON', @@ -23,7 +23,7 @@ } this.addLike = (property, literal) => { - var filter = '<PropertyIsLike><PropertyName>' + property + '</PropertyName><Literal>' + literal + '</Literal></PropertyIsLike>' + var filter = '<PropertyIsLike><PropertyName>' + property + '</PropertyName><Literal>*' + literal + '*</Literal></PropertyIsLike>' this.filters.push(filter) } -- Gitblit v1.8.0