派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-05-14 f6e2c7d08bb4f29f38a77b9f789c6d7a47d5bebe
src/conf/Constants.js
@@ -1,23 +1,32 @@
// 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/PipeLine/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 = {
  FILL: true,
  WEIGHT: 3,
  FILL_COLOR: '#73b2ff',
  FILL_COLOR: '#0070ff',
  COLOR: '#73b2ff',
  FILL_OPACITY: 0.2,
  OPACITY: 1,
@@ -27,12 +36,16 @@
}
export const props = {
  code: '编号',
  name: '名称',
  pfktype: '排放口类型',
  level: '级别',
  length: '长度(m)',
  unitname: '单位名称',
  pipename: '管线名称',
  pipecode: '管线编码',
  subchaname: '支线名称',
  subchacode: '支线编码',
  mediumtype: '输送介质',
  length: '长度(m)',
  startposname: '起点位置名称',
  endposname: '终点位置名称',
  pressureating: '设计压力(MPa)',
@@ -50,8 +63,6 @@
  pipetrenchtype: '管沟类型',
  datecollected: '探测时间',
  operationalstatus: '运行状态',
  acquisitionpeople: '采集人',
  acquisitiondate: '采集日期',
  fourtype: '四通类型',
  fourm: '四通材料'
}