From b9e11f18c961df43f632b85c04cd730bde21fc76 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期一, 19 四月 2021 13:10:58 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/conf/layers/LayerFsss.js |   34 ++++++++++++++++------------------
 1 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/src/conf/layers/LayerFsss.js b/src/conf/layers/LayerFsss.js
index ce4269c..0e5db5b 100644
--- a/src/conf/layers/LayerFsss.js
+++ b/src/conf/layers/LayerFsss.js
@@ -1,19 +1,26 @@
 /**
  * 鍖哄煙
  */
-const APP_GIS_HOST_2 = 'http://xearth.cn:8088'
-const WFS_URL = APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs'
+import { PIPELINE_WFS } from '../Constants'
+const WFS_URL = PIPELINE_WFS
 export const LayerFsss = {
   code: 'sewersFsss',
   name: '闄勫睘璁炬柦',
   checked: false, // 榛樿閫変腑鐘舵��
   layers: [
     {
+      code: 'pipeSection',
+      name: '绠℃',
+      sname: '绠℃',
+      checked: false,
+      wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipesegment&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=orgname=\'宸撮櫟鐭冲寲\''
+    },
+    {
       code: 'fourlink',
       name: '鍥涢��',
       sname: '鍥涢��',
       checked: true,
-      minZoom: 10,
+      minZoom: 16,
       wfs: WFS_URL + '?TYPENAME=鍥涢��',
       icon: 'sewers/鍥涢��.png'
     },
@@ -22,7 +29,7 @@
       name: '涓夐��',
       sname: '涓夐��',
       checked: false,
-      minZoom: 10,
+      minZoom: 16,
       wfs: WFS_URL + '?TYPENAME=涓夐��',
       icon: 'sewers/涓夐��.png'
     },
@@ -30,7 +37,7 @@
       code: 'piperack',
       name: '绠℃灦(澧�)',
       sname: 'PipeRack',
-      minZoom: 10,
+      minZoom: 16,
       wfs: WFS_URL + '?TYPENAME=绠℃灦',
       checked: false
     },
@@ -38,7 +45,7 @@
       code: 'pipegallery',
       name: '绠″粖(甯�)',
       sname: 'PipeGallery',
-      minZoom: 10,
+      minZoom: 16,
       wfs: WFS_URL + '?TYPENAME=绠″粖',
       checked: false
     },
@@ -46,22 +53,13 @@
       code: 'pipesegment',
       name: '娴佸悜',
       sname: 'ywslx',
-      wfs: WFS_URL + '?TYPENAME=娴佸悜',
-      checked: false
-    },
-    {
-      code: 'pipeline',
-      name: '绠$綉',
-      minZoom: 10,
-      sname: 'pipeline',
-      wfs: WFS_URL + '?TYPENAME=绠$綉',
       checked: false
     },
     {
       code: 'valve',
       name: '闃�闂�',
       minZoom: 10,
-      sname: 'valve',
+      sname: '闃�闂�',
       checked: false,
       wfs: WFS_URL + '?TYPENAME=闃�闂�',
       icon: 'sewers/闃�闂�.png'
@@ -69,8 +67,8 @@
     {
       code: 'elbow',
       name: '寮ご',
-      sname: 'Elbow',
-      minZoom: 10,
+      sname: '寮ご',
+      minZoom: 16,
       checked: false,
       wfs: WFS_URL + '?TYPENAME=寮ご',
       icon: 'sewers/寮ご.png'

--
Gitblit v1.8.0