派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-05-13 58610182c816673867a30966b08b44cd9a26710c
src/conf/layers/LayerArea.js
@@ -1,18 +1,20 @@
/**
 * 区域
 */
import { PIPELINE_WFS } from '../Constants'
import { SERVICE_TYPE, PIPELINE_WFS } from '../Constants'
const WFS_URL = PIPELINE_WFS
export const LayerArea = {
  code: 'sewersArea',
  name: '区域信息',
  checked: false,
  type: 0,
  layers: [
    {
      code: 'sewersAreaGs',
      name: '公司',
      sname: '公司', // 表名
      checked: true, // 默认选中状态
      type: 0,
      url: WFS_URL + '?TYPENAME=公司'
    },
    {
@@ -20,6 +22,7 @@
      name: '码头',
      sname: '码头',
      checked: false, // 默认选中状态
      type: 0,
      wfs: WFS_URL + '?TYPENAME=码头'
    },
    {
@@ -27,7 +30,8 @@
      name: '装置区',
      sname: '装置区',
      checked: false, // 默认选中状态
      wfs: WFS_URL + '?TYPENAME=装置区'
      type: SERVICE_TYPE.WMS,
      typeName: 'sewer:unitareaboundary'
    }
  ]
}