NongFaHeZuoSheGuanLi/public/config/server.js

139 lines
5.5 KiB
JavaScript
Raw Normal View History

2024-07-17 08:39:11 +08:00
export const APPS_TITLE = "农发合作社管理"
export const MAP_SERVER_CONFIG = [
{
id: "baseMap",
name: "在线底图",
type: "single",
select: '',
show: true,
image: '/images/echartsimg/mapbottom.png',
children: [
{
id: 2,
parentId: "baseMap",
2024-08-18 17:56:15 +08:00
proxiedUrl: 'http://t0.tianditu.gov.cn/img_w/wmts',
2024-07-17 08:39:11 +08:00
name: '天地图',
type: 'TIANDITU',
state: 0,
image: '/images/baseLayer/tianditu.png'
},
2025-07-18 08:31:23 +08:00
{
id: 1,
parentId: "baseMap",
proxiedUrl: '//dev.virtualearth.net',
name: '必应地图',
type: 'BINGMAP',
state: 1,
image: '/images/baseLayer/Bing.png'
},
2024-07-17 08:39:11 +08:00
{
id: 3,
parentId: "baseMap",
2024-08-18 17:56:15 +08:00
proxiedUrl: 'https://a.tile.openstreetmap.org/',
name: 'OSM街道地图',
type: 'OSM',
state: 1,
2024-07-17 08:39:11 +08:00
image: '/images/baseLayer/OSM.png'
}
]
},
{
id: "webServe",
name: "服务",
type: "many",
select: [],
show: true,
image: '/images/echartsimg/maplayersactive.png',
children: [
{
"dataServiceUrl": "http://223.99.16.253:8090/iserver/services/data-fangdiyiti-3/rest/data/featureResults.rjson?returnContent=true",
"dataSetName": "宅基地自然幢1mi",
"dataSourceName": "fangdiyiti",
"id": "1784425015945461760",
"coverImg": "CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
"layersName": "1784425015945461760",
"dataType": "三维",
2025-07-18 08:31:23 +08:00
"layersUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/rest/realspace/datas/Combine/config",
2024-07-17 08:39:11 +08:00
"name": "东蒙基地",
"parentId": "webServe",
2025-07-18 08:31:23 +08:00
"proxiedUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/rest/realspace/datas/Combine/config",
2024-07-17 08:39:11 +08:00
"state": 0,
"sort": 0,
"type": "S3M",
"type_name": "产业园区",
2025-07-18 08:31:23 +08:00
"image": "http://123.132.248.154:6044/CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
2024-07-17 08:39:11 +08:00
"priorityScale": 13,
"opacity": 80
},
]
},
]
export const S3MLayersArr = [
{
"dataServiceUrl": "http://223.99.16.253:8090/iserver/services/data-fangdiyiti-3/rest/data/featureResults.rjson?returnContent=true",
"dataSetName": "宅基地自然幢1mi",
"dataSourceName": "fangdiyiti",
"id": "1784425015945461760",
"coverImg": "CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
"layersName": "1784425015945461760",
"dataType": "三维",
2025-07-18 08:31:23 +08:00
"layersUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/rest/realspace/datas/Combine/config",
2024-07-17 08:39:11 +08:00
"name": "合作社",
"parentId": "webServe",
2025-07-18 08:31:23 +08:00
"proxiedUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/realspace/datas/Combine/config",
2024-07-17 08:39:11 +08:00
"state": 0,
"sort": 0,
"type": "S3M",
"type_name": "产业园区",
2025-07-18 08:31:23 +08:00
"image": "http://123.132.248.154:6044/CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
2024-07-17 08:39:11 +08:00
"priorityScale": 13,
"opacity": 80
},
{
"dataServiceUrl": "http://223.99.16.253:8090/iserver/services/data-fangdiyiti-3/rest/data/featureResults.rjson?returnContent=true",
"dataSetName": "宅基地自然幢1mi",
"dataSourceName": "fangdiyiti",
"id": "1784425015945461761",
"coverImg": "CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
"layersName": "1784425015945461761",
"dataType": "三维",
2025-07-18 08:31:23 +08:00
"layersUrl": "http://123.132.248.154:6045/iserver/services/3D-nongfasanwei1-2/rest/realspace/datas/Combine/config",
2024-07-17 08:39:11 +08:00
"name": "东蒙基地",
"parentId": "webServe",
2025-07-18 08:31:23 +08:00
"proxiedUrl": "http://123.132.248.154:6045/iserver/services/3D-nongfasanwei1-2/rest/realspace/datas/Combine/config",
2024-07-17 08:39:11 +08:00
"state": 0,
"sort": 0,
"type": "S3M",
"type_name": "产业园区",
2025-07-18 08:31:23 +08:00
"image": "http://123.132.248.154:6044/CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
2024-07-17 08:39:11 +08:00
"priorityScale": 13,
"opacity": 80
}
]
export const ZHENJIE_BORDER_SERVER = "http://123.132.248.154:8090/iserver/services/map-mvt-zhenjieShanGe/restjsr/v1/vectortile/maps/zhenjie@ShanGe"
export const DEFAULT_BASEMAP = [0, 0] // 默认选择的底图类型对于MAP_SERVER_CONFIG的index
export const TDT_KEY = 'b6585bc41ee16251dbe6b1af64f375d9'
export const BING_MAP_KEY = 'AkOyUpgDCoz063AWW1WfHnxp5222UBdxLOp1XvRv0tuebQnr2S7UcZkiLgME7gX0'
const _SUPER_MAP_KEY_DEV = "5OHXWPT-WFJD7MxwSjOloGIFPReUlmwYmCE14NOOxH6gIi-S-TgnaHeTKAeF84uwV5YUJGZvMylZlRgoKiC1BA.."
const _SUPER_MAP_KEY = "";
const _BASE_API_DEV = "http://192.168.10.126:9272"
2025-07-18 08:31:23 +08:00
const _BASE_API = "http://123.132.248.154:9246"
2024-07-17 08:39:11 +08:00
const _BASE_IMAGE_URL_DEV = "http://192.168.10.126:9090"
2025-07-18 08:31:23 +08:00
const _BASE_IMAGE_URL= "http://123.132.248.154:6044"
2024-07-17 08:39:11 +08:00
const DEBUG = false
2025-07-18 08:31:23 +08:00
export const SERVE_URL = "http://123.132.248.154:6044/"
2024-07-17 08:39:11 +08:00
export const BASE_API = DEBUG ? _BASE_API_DEV : _BASE_API
export const BASE_IMAGE_URL = DEBUG ? _BASE_IMAGE_URL_DEV : _BASE_IMAGE_URL
export const SUPER_MAP_KEY = DEBUG ? _SUPER_MAP_KEY_DEV : _SUPER_MAP_KEY