Commit 34675421 authored by zhengjiangtao's avatar zhengjiangtao

工程初始化

parent 1c32378e
......@@ -8,18 +8,25 @@
// 普通http
httpURI: {
// 根url
baseURI: 'http://172.16.10.101:10005/',
baseURI: 'http://172.16.11.20:10005/',
// patrolURI: 'http://172.16.10.91:8082/',
//巡检服务
//patrolURI: 'http://172.16.11.20:9000/',
liveVideoHost: '172.16.10.101:8088',
//视频h5s地址
liveVideoHost: '172.16.11.20:8201',
//报警监控
//monitorURI: 'http://172.16.11.20:9007/',
// 安全模块api地址
securityBaseURI: 'http://172.16.10.175:10005/',
securityBaseURI: 'http://172.16.10.72:10005/',
//picURI为地图瓦片服务器地址
picURI: 'http://172.16.3.121:8001/',
loginURI: 'http://172.16.10.175/',//基础平台
loginURI: 'http://172.16.10.72',//基础平台
//巡检图片
patrolURI: 'http://172.16.10.101:9999/',
patrolURI: 'http://172.16.11.20:9999/',
// 斜影路径
tileURI: '',
......@@ -31,19 +38,18 @@
},
// websocket 地址
wsURI: {
baseURI: 'ws://172.16.10.101:10600/',
rulesConfigURI: 'ws://172.16.10.101:8080/',
securityBaseURI: 'ws://172.16.10.101:10600/',
viewTileURI: '',//卫星图消息
//mqtt消息接受地址
mqttURI: 'ws://172.16.10.101:8083/mqtt'
baseURI: 'ws://172.16.11.20:10600/',
rulesConfigURI: 'ws://172.16.11.20:8080/',
securityBaseURI: 'ws://172.16.11.20:10600/',
viewTileURI: '',//卫星图消息 //mqtt消息接受地址
mqttURI: 'ws://172.16.11.20:8083/mqtt'
},
// 外部链接地址
outterURI: {
xunjian: '',
// xunjian: 'http://172.16.10.74:3003/outter?user={userId}&token={token}'
// 管控模型
mgtCtrlModel: 'http://172.16.10.101:8080',//规则配置
mgtCtrlModel: 'http://172.16.11.20:8080',//规则配置
activitiURI: '',//工作流
// activitiURI: 'http://172.16.3.79:8090'
videoUrl: ''//视频
......@@ -58,7 +64,7 @@
evaluateModelId: 11
},
//添加关联设备弹出框标识 'bank'代表银行 'fireAutoSys'代表换流站
equipmentIdentification: 'bank',
equipmentIdentification:'bank',
// 屏保配置信息
screenSaverConf: {
......@@ -90,8 +96,7 @@
'mapItem-19': -1
},
//地图中心点
//mapCenter: [110.81359,35.41143],
mapCenter: [108.95141,35.91909],
mapCenter: [108.95141,36.79997],
//地图zoom显示级别
showZoom: [6,13,18]
};
......
......@@ -804,7 +804,7 @@ class IndexMap extends Component {
let orgCode = this.getSelectOrgCode(city, dicCodeList);
let selectedCompany = lsTool.read('selectedCompany');
let map = null;
if (selectedCompany.indexOf("西安CCPC") !== -1) {
if (selectedCompany.indexOf("西安CCPC") !== -1 || selectedCompany.indexOf("清算中心") !== -1) {
map = { 'is3DPage': true, 'city': city, 'orgCode': orgCode };
} else {
//如果不是西安CCPC,orgCode为空
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment