| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- const BASE_IP = '36.142.248.4'
- var iserverConfig = {
- // baseUrl: `http://${BASE_IP}:16090/iserver/`,
- // 现场网络
- baseUrl: `http://${BASE_IP}:8090/iserver/`,
- // subdomains: [`${BASE_IP}:16090`, `${BASE_IP}:16091`, `${BASE_IP}:16092`]
- }
- export const appconfig = {
- dataService: {
- name: '数据服务',
- url: iserverConfig.baseUrl + 'services/data-tf_wdq/rest/data',
- dataSource: 'tofly',
- dataSet: ['psmap'],
- dataSetInfo: [{
- pipe: 'GS',
- name: 'TF_JSJS_PIPE_B',
- title: '供水管道',
- label: '供水管道'
- },
- {
- pipe: 'GS',
- name: 'TF_JSJS_NODE_B',
- title: '供水节点',
- label: '供水节点'
- },
- {
- pipe: 'YS',
- name: 'TF_PSHS_PIPE_B',
- title: '雨水管道',
- label: '雨水管道'
- },
- {
- pipe: 'YS',
- name: 'TF_PSHS_NODE_B',
- title: '雨水节点',
- label: '雨水节点'
- },
- {
- pipe: 'WS',
- name: 'TF_PSHS_PIPE_B',
- title: '污水管道',
- label: '污水管道'
- },
- {
- pipe: 'WS',
- name: 'TF_PSHS_NODE_B',
- title: '污水节点',
- label: '污水节点'
- },
- {
- pipe: 'DL',
- name: 'TF_DLLD_PIPE_B',
- title: '路灯管道',
- label: '路灯管道'
- },
- {
- pipe: 'DL',
- name: 'TF_DLLD_NODE_B',
- title: '路灯节点',
- label: '路灯节点'
- },
- {
- pipe: 'DL',
- name: 'TF_DLGD_PIPE_B',
- title: '电力供电管道',
- label: '电力供电管道'
- },
- {
- pipe: 'DL',
- name: 'TF_DLGD_NODE_B',
- title: '电力供电节点',
- label: '电力供电节点'
- },
- {
- pipe: 'DL',
- name: 'TF_DLJD_PIPE_B',
- title: '交通信号管道',
- label: '交通信号管道'
- },
- {
- pipe: 'DL',
- name: 'TF_DLJD_NODE_B',
- title: '交通信号节点',
- label: '交通信号节点'
- },
- {
- pipe: 'RQ',
- name: 'TF_RQTQ_PIPE_B',
- title: '燃气管道',
- label: '燃气管道'
- },
- {
- pipe: 'RQ',
- name: 'TF_RQTQ_NODE_B',
- title: '燃气节点',
- label: '燃气节点'
- },
- {
- pipe: 'TX',
- name: 'TF_TXDX_PIPE_B',
- title: '通信管道',
- label: '通信管道'
- },
- {
- pipe: 'TX',
- name: 'TF_TXDX_NODE_B',
- title: '通信节点',
- label: '通信节点'
- },
- {
- pipe: 'QT',
- name: 'TF_QTQT_PIPE_B',
- title: '其他管道',
- label: '其他管道'
- },
- {
- pipe: 'QT',
- name: 'TF_QTQT_NODE_B',
- title: '其他管道节点',
- label: '其他管道节点'
- },
- {
- pipe: 'GR',
- name: 'TF_RLRS_PIPE_B',
- title: '供热管道',
- label: '供热管道'
- },
- {
- pipe: 'GR',
- name: 'TF_RLRS_NODE_B',
- title: '供热节点',
- label: '供热节点'
- },
- ]
- }
- }
- var tdtWebKey = '15f7b01aababbb39ab568f4ba12ea21c'
- export const olMapConfig = {
- center: [104.0563789825739, 30.057025035476304],
- zoom: 13,
- layerTdt: {
- sl: [
- 'http://t{0-7}.tianditu.gov.cn/vec_c/wmts?tk=' + tdtWebKey,
- 'http://t{0-7}.tianditu.gov.cn/cva_c/wmts?tk=' + tdtWebKey
- ],
- yx: [
- 'http://t{0-7}.tianditu.gov.cn/img_c/wmts?tk=' + tdtWebKey,
- 'http://t{0-7}.tianditu.gov.cn/cia_c/wmts?tk=' + tdtWebKey
- ]
- },
- layersPipe: {
- GS: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_JSJS',
- ],
- YS: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_PSYS'
- ],
- WS: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_PSWS',
- ],
- DL: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_DLLD',
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_DLJD',
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_DLGD',
- ],
- TX: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_TXDX',
- ],
- RQ: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_RQTQ',
- ],
- GR: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_RLRS',
- ],
- QT: [
- iserverConfig.baseUrl + 'services/map-tf_wdq/rest/maps/pipemap_QTQT'
- ]
- },
- dataSetMap: [
- {
- dataSet: 'TF_JSJS_PIPE_B',
- type: '给水',
- flag: 'GS'
- },
- {
- dataSet: 'TF_PSYS_PIPE_B',
- type: '雨水',
- flag: 'YS'
- },
- {
- dataSet: 'TF_PSWS_PIPE_B',
- type: '污水',
- flag: 'WS'
- },
- {
- dataSet: 'TF_RQTQ_PIPE_B',
- type: '天然气',
- flag: 'RQ'
- },
- {
- dataSet: 'TF_RLRS_PIPE_B',
- type: '热水',
- flag: 'GR'
- }
- ]
- }
|