From 6d4e23a29f40b4739aa46436e5b703ecde4b39aa Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 14 四月 2021 11:37:00 +0800 Subject: [PATCH] table数据 --- 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