From 6f256a8be5c330cbf4d852f7dc4a1a6614f0419d Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期三, 14 四月 2021 10:11:44 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 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