From 57b93c75dac23bd9b4c8400d32169eaef62414d5 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期五, 14 五月 2021 15:52:17 +0800
Subject: [PATCH] 点击弹窗加筛选条件

---
 src/conf/Constants.js |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/conf/Constants.js b/src/conf/Constants.js
index 8384fca..3bab997 100644
--- a/src/conf/Constants.js
+++ b/src/conf/Constants.js
@@ -1,17 +1,26 @@
+
+// export const PIPELINE_WMS = 'http://xearth.cn:6240/geoserver/sewer/wms'
+export const WMS_URL = 'http://10.238.235.179:6240/geoserver/sewer/wms'
+export const WFS_URL = 'http://10.238.235.179:6240/geoserver/sewer/ows?service=WFS'
+
 export const GEOM_TYPE = {
   POINT: 'point',
   LINE: 'line',
   POLYGON: 'polygon'
 }
 
-export const PIPELINE_WFS = 'http://xearth.cn:8088/server/ogcserver/PipeLine2/wfs'
+export const SERVICE_TYPE = {
+  WFS: 'wfs',
+  WMS: 'wms'
+}
 
 export const logicMapper = {
   wasteGasPfk: 'WasteGas.js',
   wasteWaterPfk: 'WasteWater.js',
   wasteSolidCcd: 'WasteSolid.js',
   sewersAreaGs: 'Company.js',
-  pipesegment: 'PipeLineAnimal.js'
+  pipesegment: 'PipeLineAnimal.js',
+  pollutionSources: 'SourcesPollution.js'
 }
 
 export const STYLES = {
@@ -29,6 +38,7 @@
 export const props = {
   code: '缂栧彿',
   name: '鍚嶇О',
+  teamname: '鍚嶇О',
   pfktype: '鎺掓斁鍙g被鍨�',
   level: '绾у埆',
   length: '闀垮害(m)',

--
Gitblit v1.8.0