From c8a85fd0941b567b1bc1808a7b5de129bcb734b6 Mon Sep 17 00:00:00 2001 From: seatonwan9 <seatonwan9@163.com> Date: 星期五, 21 五月 2021 14:30:35 +0800 Subject: [PATCH] 环境风险统计图显示 --- src/conf/Constants.js | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/conf/Constants.js b/src/conf/Constants.js index 1eb2734..e647f9a 100644 --- a/src/conf/Constants.js +++ b/src/conf/Constants.js @@ -1,3 +1,8 @@ + +// 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', @@ -9,17 +14,14 @@ WMS: 'wms' } -export const WFS_URL = 'http://xearth.cn:6240/geoserver/sewer/ows?service=WFS' -export const PIPELINE_WFS = 'http://xearth.cn:8088/server/ogcserver/PipeLine2/wfs' -export const PIPELINE_WMS = 'http://xearth.cn:6240/geoserver/sewer/wms' - export const logicMapper = { wasteGasPfk: 'WasteGas.js', wasteWaterPfk: 'WasteWater.js', wasteSolidCcd: 'WasteSolid.js', sewersAreaGs: 'Company.js', pipesegment: 'PipeLineAnimal.js', - pollutionSources: 'SourcesPollution.js' + pollutionSources: 'SourcesPollution.js', + envRiskChart: 'EnvironmentRisk.js' } export const STYLES = { @@ -37,6 +39,7 @@ export const props = { code: '缂栧彿', name: '鍚嶇О', + teamname: '鍚嶇О', pfktype: '鎺掓斁鍙g被鍨�', level: '绾у埆', length: '闀垮害(m)', -- Gitblit v1.8.0