NongFaHeZuoSheGuanLi/public/config/server.js

139 lines
5.5 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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",
proxiedUrl: 'http://t0.tianditu.gov.cn/img_w/wmts',
name: '天地图',
type: 'TIANDITU',
state: 0,
image: '/images/baseLayer/tianditu.png'
},
{
id: 1,
parentId: "baseMap",
proxiedUrl: '//dev.virtualearth.net',
name: '必应地图',
type: 'BINGMAP',
state: 1,
image: '/images/baseLayer/Bing.png'
},
{
id: 3,
parentId: "baseMap",
proxiedUrl: 'https://a.tile.openstreetmap.org/',
name: 'OSM街道地图',
type: 'OSM',
state: 1,
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": "三维",
"layersUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/rest/realspace/datas/Combine/config",
"name": "东蒙基地",
"parentId": "webServe",
"proxiedUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/rest/realspace/datas/Combine/config",
"state": 0,
"sort": 0,
"type": "S3M",
"type_name": "产业园区",
"image": "http://123.132.248.154:6044/CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
"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": "三维",
"layersUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/rest/realspace/datas/Combine/config",
"name": "合作社",
"parentId": "webServe",
"proxiedUrl": "http://123.132.248.154:6045/iserver/services/3D-nfsw-2/realspace/datas/Combine/config",
"state": 0,
"sort": 0,
"type": "S3M",
"type_name": "产业园区",
"image": "http://123.132.248.154:6044/CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
"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": "三维",
"layersUrl": "http://123.132.248.154:6045/iserver/services/3D-nongfasanwei1-2/rest/realspace/datas/Combine/config",
"name": "东蒙基地",
"parentId": "webServe",
"proxiedUrl": "http://123.132.248.154:6045/iserver/services/3D-nongfasanwei1-2/rest/realspace/datas/Combine/config",
"state": 0,
"sort": 0,
"type": "S3M",
"type_name": "产业园区",
"image": "http://123.132.248.154:6044/CimPlatform\\2024\\20240428\\2024042811303902190232.jpg",
"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"
const _BASE_API = "http://123.132.248.154:9246"
const _BASE_IMAGE_URL_DEV = "http://192.168.10.126:9090"
const _BASE_IMAGE_URL= "http://123.132.248.154:6044"
const DEBUG = false
export const SERVE_URL = "http://123.132.248.154:6044/"
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