|
@@ -9,9 +9,9 @@ const BASE_URL = '/yapi' //开发接口代理
|
|
|
*/
|
|
|
const HOME_DATA = {
|
|
|
startDate: '2024-11-27',
|
|
|
- group: '国家管网集团西南管道公司',
|
|
|
- company: '贵阳输油气分公司',
|
|
|
- curStation: '都匀作业区',
|
|
|
+ group: '国家管网集团北京管道公司',
|
|
|
+ company: '输油气分公司',
|
|
|
+ curStation: '托克托压气站',
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -19,7 +19,7 @@ const HOME_DATA = {
|
|
|
*/
|
|
|
const STATION_LIST = [
|
|
|
{
|
|
|
- name: '都匀',
|
|
|
+ name: '托克托',
|
|
|
configUrl: '/json/glyConfig.json',
|
|
|
cameraUrl: '/json/glyCamera.json',
|
|
|
},
|
|
@@ -30,7 +30,7 @@ const STATION_LIST = [
|
|
|
/**
|
|
|
* 页面内标题 已生效
|
|
|
*/
|
|
|
-const SYSTEM_TITLE = '都匀作业区智慧融合平台'
|
|
|
+const SYSTEM_TITLE = '托克托压气站综合安防平台'
|
|
|
/**
|
|
|
* 设置浏览器标题 已生效
|
|
|
*/
|
|
@@ -74,8 +74,8 @@ const MODULE_ENABLED = {
|
|
|
* key3:f3ddf0996b8f5b1c876094cdcb35faab 自己的
|
|
|
*/
|
|
|
const MAP_CONFIG = {
|
|
|
- url: 'http://t{s}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=tiles&tk=c7074dacd421b3e1ba311392c4b6923f',
|
|
|
- // url: 'static/tkt/{z}/{x}/{y}.png',
|
|
|
+ // url: 'http://t{s}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=tiles&tk=c7074dacd421b3e1ba311392c4b6923f',
|
|
|
+ url: 'static/tkt/{z}/{x}/{y}.png',
|
|
|
maximumLevel: 18,
|
|
|
subdomains: ['0', '1', '2', '3', '4', '5', '6', '7'],
|
|
|
}
|
|
@@ -141,17 +141,12 @@ const MQTT_CONFIG = {
|
|
|
'dashboard/risk/drawrisktime',
|
|
|
'Visualization/DataComm/NewAlarm',
|
|
|
'Visualization/Number/RecentlyLevelByDate',
|
|
|
- 'Visualization/Number/RecentlyLevelByDateDYMZ',
|
|
|
- 'Visualization/Number/RecentlyLevelByDateKKQG',
|
|
|
- 'Visualization/Number/RecentlyLevelByDateDSSZ',
|
|
|
- 'Visualization/Number/RecentlyLevelByDateYWSZ'
|
|
|
],
|
|
|
}
|
|
|
//后台管理根路径
|
|
|
const ISMSAdminWeb = {
|
|
|
// path: "http://localhost:9528/#/",
|
|
|
- path: "https://11.100.46.218:8080/#/",
|
|
|
- // path: `http://192.168.195.134:8080/#/`,
|
|
|
+ path: `http://192.168.195.136:8080/#/`,
|
|
|
// path: `http://${window.location.hostname}:8080/#/`,
|
|
|
}
|
|
|
|
|
@@ -600,133 +595,38 @@ const LAYER_CONFIG = {
|
|
|
}
|
|
|
|
|
|
const GY_STATIONS = [
|
|
|
- // {
|
|
|
- // id: '591282080239853568',
|
|
|
- // name: '贵阳输气站',
|
|
|
- // code: 'GYSQZ',
|
|
|
- // direction: 'left',
|
|
|
- // buildId: '594099860043472896',
|
|
|
- // positioningBuildId: '001001',
|
|
|
- // position: [106.62629510834513, 26.65059748734631, 1.4679041606626673],
|
|
|
- // layers: ['周界', '泄漏', '摄像头'],
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: '655065301053874176',
|
|
|
- // name: '白云输气站',
|
|
|
- // code: 'BYSQZ',
|
|
|
- // direction: 'right',
|
|
|
- // buildId: '639402700261302272', //用于跳转模型
|
|
|
- // positioningBuildId: '001002', //用于跳转模型判断
|
|
|
- // position: [106.62629633504537, 26.65060908351062, 1.4819172693521345],
|
|
|
- // layers: ['风险区域', '周界', '泄漏', '摄像头'],
|
|
|
- // },
|
|
|
{
|
|
|
- id: '657316479015854080',
|
|
|
- name: '都匀输气站',
|
|
|
- code: 'DYSQZ',
|
|
|
- buildId: '657317980832538624',
|
|
|
- positioningBuildId: '002001',
|
|
|
+ id: '784104499768729600',
|
|
|
+ name: '托克托',
|
|
|
+ code: 'TKT',
|
|
|
+ buildId: '784102618438836224',
|
|
|
+ positioningBuildId: '100001',
|
|
|
direction: 'right',
|
|
|
- position: [106.62632139900707, 26.650595691076745, 1.4650695463064403],
|
|
|
- layers: ['周界', '泄漏', '摄像头', '火灾', '防爆扩音'],
|
|
|
- webRTCUrl: "wss://dispatcher:1443/webrtc",
|
|
|
- // webRTCUrl: "wss://192.168.10.39:1443/webrtc",
|
|
|
- admin: "8889",
|
|
|
- password: "123456",
|
|
|
- },
|
|
|
- {
|
|
|
- id: '657316634284793856',
|
|
|
- name: '云雾首站',
|
|
|
- code: 'YWSZ',
|
|
|
- buildId: '657319107443564544',
|
|
|
- positioningBuildId: '002004',
|
|
|
- direction: 'left',
|
|
|
- position: [106.62630660166043, 26.650596074566966, 1.4660467809229363],
|
|
|
+ position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
|
|
|
layers: ['周界', '泄漏', '摄像头'],
|
|
|
- webRTCUrl: "",
|
|
|
- admin: "8889",
|
|
|
- password: "123456",
|
|
|
},
|
|
|
{
|
|
|
- id: '657316533462114304',
|
|
|
- name: '凯口清管站',
|
|
|
- code: 'KKQGZ',
|
|
|
- buildId: '657318695416111104',
|
|
|
- positioningBuildId: '002002',
|
|
|
- direction: 'right',
|
|
|
- position: [106.62631864686837, 26.650589347228493, 1.4654720522226603],
|
|
|
- layers: ['周界', '泄漏', '摄像头', '防爆扩音'],
|
|
|
- webRTCUrl: "wss://192.168.20.31:1443/webrtc",
|
|
|
- admin: "8889",
|
|
|
- password: "123456",
|
|
|
- },
|
|
|
- {
|
|
|
- id: '657316587124039680',
|
|
|
- name: '独山首站',
|
|
|
- code: 'DSSZ',
|
|
|
- buildId: '657318879332147200',
|
|
|
- positioningBuildId: '002003',
|
|
|
+ id: '784131093203787776',
|
|
|
+ name: '托克托压气站',
|
|
|
+ code: 'TKT',
|
|
|
+ buildId: '784102618438836224',
|
|
|
+ positioningBuildId: '100001',
|
|
|
direction: 'right',
|
|
|
position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
|
|
|
- layers: ['周界', '泄漏', '摄像头', '防爆扩音'],
|
|
|
- webRTCUrl: "wss://11.100.46.233:1443/webrtc",
|
|
|
- admin: "8889",
|
|
|
- password: "123456",
|
|
|
- },
|
|
|
- {
|
|
|
- id: '',
|
|
|
- name: '荔波首站',
|
|
|
- code: 'LBSZ',
|
|
|
- buildId: '',
|
|
|
- positioningBuildId: '',
|
|
|
- direction: 'right',
|
|
|
- position: [106.6263329708765, 26.65057999393088, 1.4648986180330343],
|
|
|
layers: ['周界', '泄漏', '摄像头'],
|
|
|
- webRTCUrl: "",
|
|
|
- admin: "8889",
|
|
|
- password: "123456",
|
|
|
+ // webRTCUrl: "wss://dispatcher:1443/webrtc",
|
|
|
+ // admin: "8889",
|
|
|
+ // password: "123456",
|
|
|
},
|
|
|
- // {
|
|
|
- // id: '784104499768729600',
|
|
|
- // name: '托克托',
|
|
|
- // code: 'TKT',
|
|
|
- // buildId: '784102618438836224',
|
|
|
- // positioningBuildId: '100001',
|
|
|
- // direction: 'right',
|
|
|
- // position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
|
|
|
- // layers: ['周界', '泄漏', '摄像头'],
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: '784131093203787776',
|
|
|
- // name: '托克托压气站',
|
|
|
- // code: 'TKT',
|
|
|
- // buildId: '784102618438836224',
|
|
|
- // positioningBuildId: '100001',
|
|
|
- // direction: 'right',
|
|
|
- // position: [106.6263209022603, 26.650585399041464, 1.4657059185197159],
|
|
|
- // layers: ['周界', '泄漏', '摄像头'],
|
|
|
- // },
|
|
|
]
|
|
|
|
|
|
const GY_ZYQS = [
|
|
|
- // {
|
|
|
- // id: '784131018197049344',
|
|
|
- // name: '托克托作业区',
|
|
|
- // code: 'TKTZYQ',
|
|
|
- // buildId: '654044537953460225',
|
|
|
- // },
|
|
|
{
|
|
|
- id: '657316430240292865',
|
|
|
- name: '都匀作业区',
|
|
|
- code: 'DYSQZ',
|
|
|
+ id: '784131018197049344',
|
|
|
+ name: '托克托作业区',
|
|
|
+ code: 'TKTZYQ',
|
|
|
buildId: '654044537953460225',
|
|
|
},
|
|
|
- // {
|
|
|
- // id: '591281556996235264',
|
|
|
- // name: '贵阳作业区',
|
|
|
- // code: 'GYSQZ',
|
|
|
- // buildId: '654044537953460224',
|
|
|
- // },
|
|
|
]
|
|
|
|
|
|
/**
|
|
@@ -734,96 +634,31 @@ const GY_ZYQS = [
|
|
|
* 已启用
|
|
|
* 后续改成接口获取
|
|
|
*/
|
|
|
-// const GY_JGYT_CONFIG = [
|
|
|
-// {
|
|
|
-// id: '1',
|
|
|
-// name: '托克托作业区',
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// id: '101',
|
|
|
-// name: '托克托压气站',
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// id: '1',
|
|
|
-// // id: '660856349529219072',
|
|
|
-// name: '云台1',
|
|
|
-// ndTag: 'DY_Leak_PTZ_Concn',
|
|
|
-// },
|
|
|
-// ],
|
|
|
-// },]
|
|
|
-// }]
|
|
|
-
|
|
|
const GY_JGYT_CONFIG = [
|
|
|
{
|
|
|
id: '1',
|
|
|
- name: '都匀作业区',
|
|
|
+ name: '托克托作业区',
|
|
|
children: [
|
|
|
{
|
|
|
id: '101',
|
|
|
- name: '都匀站',
|
|
|
- departmentId: '657316479015854080',
|
|
|
- buildId: '657317980832538624',
|
|
|
- children: [
|
|
|
- {
|
|
|
- // id: '1',
|
|
|
- id: '660856349529219072',
|
|
|
- name: '云台1',
|
|
|
- ndTag: 'DY_Leak_PTZ_Concn',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- id: '102',
|
|
|
- name: '独山首站',
|
|
|
- departmentId: '657316587124039680',
|
|
|
- buildId: '657318879332147200',
|
|
|
+ name: '托克托压气站',
|
|
|
children: [
|
|
|
{
|
|
|
- // id: '2',
|
|
|
- id: '660856349529219074',
|
|
|
- name: '云台1',
|
|
|
- ndTag: 'DS_JGYT_01_DATA_ND',
|
|
|
+ id: '786542179467141120',
|
|
|
+ name: '激光检测1',
|
|
|
+ ndTag: 'JGYT1_ND',
|
|
|
},
|
|
|
{
|
|
|
- // id: '3',
|
|
|
- id: '660856349529219076',
|
|
|
- name: '云台2',
|
|
|
- ndTag: 'DS_JGYT_02_DATA_ND',
|
|
|
+ id: '786542180738015232',
|
|
|
+ name: '激光检测2',
|
|
|
+ ndTag: 'JGYT2_ND',
|
|
|
},
|
|
|
],
|
|
|
- },
|
|
|
- {
|
|
|
- id: '103',
|
|
|
- name: '凯口站',
|
|
|
- departmentId: '657316533462114304',
|
|
|
- buildId: '657318695416111104',
|
|
|
- children: [
|
|
|
- {
|
|
|
- // id: '4',
|
|
|
- id: '660856349529219073',
|
|
|
- name: '云台1',
|
|
|
- ndTag: 'KK_Leak_PTZ_Concn',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- id: '104',
|
|
|
- name: '云雾首站',
|
|
|
- departmentId: '657316634284793856',
|
|
|
- buildId: '657319107443564544',
|
|
|
- children: [
|
|
|
- {
|
|
|
- // id: '5',
|
|
|
- id: '660856349529219075',
|
|
|
- name: '云台1',
|
|
|
- ndTag: 'YW_Leak_PTZ_Concn',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
+ },]
|
|
|
+ }
|
|
|
]
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* mqtt地址
|
|
|
* 判断是否被iframe嵌套
|