派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-31 ad9c4fbf43e6b58e0019e04878ad0935ae811b8d
src/conf/Constants.js
@@ -2,6 +2,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 WMS_URL = 'http://xearth.cn:6240/geoserver/sewer/wms'
// export const WFS_URL = 'http://xearth.cn:6240/geoserver/sewer/ows?service=WFS'
export const GEOM_TYPE = {
  POINT: 'point',
@@ -15,12 +17,17 @@
}
export const logicMapper = {
  wasteGasPfk: 'WasteGas.js',
  wasteWaterPfk: 'WasteWater.js',
  wasteSolidCcd: 'WasteSolid.js',
  wasteGasPfk: 'WasteGas.js', // 废气
  wasteWaterPfk: 'WasteWater.js', // 废水
  wasteSolidCcd: 'WasteSolid.js', // 固废
  sewersAreaGs: 'Company.js',
  pipesegment: 'PipeLineAnimal.js',
  pollutionSources: 'SourcesPollution.js'
  pollutionSourcesZlss: 'GovernEquipment.js', // 污染源-治理设施
  envRiskChart: 'EnvironmentRisk.js', // 风险统计图
  envRiskMajor: 'RiskSource.js', // 重大风险源
  envRiskFirst: 'RiskSource.js', // 一级风险源
  envRiskSecond: 'RiskSource.js', // 二级风险源
  envRiskThird: 'RiskSource.js' // 三级风险源
}
export const STYLES = {
@@ -56,16 +63,19 @@
  hospital: '医院',
  emergencyres: '社会专业应急救援队伍',
  emergencyesources: '应急物资',
  firefightingunit: '消防单位'
  firefightingunit: '消防单位',
  unitareaboundary: '装置区边界',
  sensitivetarget: '敏感目标',
  chokevalve: '截流闸'
}
export const LAYERPROPS = {
  // 管网
  pipenetwork: {
    // 管网
    name: '名称',
    linenumtype: '管线类型',
    pipename: '管线名称',
    name: '管网名称',
    linenumtype: '管网类型',
    pipename: '管网名称',
    mediumtype: '输送介质',
    length: '长度(m)',
    startposname: '起点位置名称',
@@ -80,9 +90,10 @@
  // 管线
  pipeline: {
    // 管网
    name: '名称',
    name: '管网名称',
    linenumtype: '管线类型',
    pipename: '管线名称',
    subchaname: '支线名称',
    mediumtype: '输送介质',
    length: '长度(m)',
    startposname: '起点位置名称',
@@ -309,6 +320,7 @@
  // 水体
  pointhydrology: {
    name: '名称',
    orgname: '企业名称',
    telphonenumber: '联系方式',
    velocityaverage: '年平均流速(m/s)',
    erosiondepthavg: '年平均冲刷深度',
@@ -332,6 +344,7 @@
  // 自然保护区
  pointpreservationzone: {
    name: '名称',
    orgname: '企业名称',
    datasource: '数据来源',
    type: '保护区类型',
    structureoridsitearea: '占地面积',
@@ -341,6 +354,7 @@
  // 医院
  hospital: {
    companyname: '医院名称',
    orgname: '企业名称',
    telephone: '联系电话',
    hospitalleaval: '医院资质等级',
    maxinjurednumber: '可容纳伤员',
@@ -357,6 +371,7 @@
  // 社会专业应急救援队伍
  emergencyres: {
    name: '名称',
    orgname: '企业名称',
    numberteam: '救援人数',
    rescueobject: '主要救援对象',
    resperson: '负责人',
@@ -366,6 +381,7 @@
  // 应急物资
  emergencyesources: {
    resourcesname: '物资名称',
    orgname: '企业名称',
    resourcesnumber: '物资数量',
    ownedstatus: '是否自有物资',
    sourceschargestandard: '物资收费标准',
@@ -376,6 +392,7 @@
  // 消防单位
  firefightingunit: {
    companyname: '消防单位名称',
    orgname: '企业名称',
    pumpernumber: '消防车数量',
    contacttelephone: '联系电话',
    address: '单位地址',
@@ -383,5 +400,34 @@
    ficroute: '交通路线',
    distance: '距离',
    datasource: '数据来源'
  },
  // 装置区
  unitareaboundary: {
    name: '装置区名称',
    code: '装置区编码',
    responsperson: '负责人',
    startdate: '投用日期'
  },
  // 敏感目标
  sensitivetarget: {
    name: '名称',
    resperson: '负责人',
    telephone: '联系电话',
    huncount: '常规人口数量',
    structureoridsitearea: '占地面积',
    adminzonename: '行政隶属'
  },
  // 截流闸
  chokevalve: {
    closurename: '名称',
    closurecode: '编码',
    pointnumber: '测点编号',
    mediumtype: '介质',
    size: '尺寸(m)',
    operatingtype: '控制方式',
    telephone: '联系电话',
    resperson: '负责人',
    startdate: '投用日期',
    operationalstatus: '运行状态'
  }
}