Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AmosBankView
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bank
AmosBankView
Commits
34675421
Commit
34675421
authored
May 14, 2020
by
zhengjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工程初始化
parent
1c32378e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
16 deletions
+21
-16
amos.config.js
amos.config.js
+20
-15
indexMap.js
src/view/bank/3dview/indexMap.js
+1
-1
No files found.
amos.config.js
View file @
34675421
...
...
@@ -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.1
0.101
:9999/'
,
patrolURI
:
'http://172.16.1
1.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.1
0.101
:8080'
,
//规则配置
mgtCtrlModel
:
'http://172.16.1
1.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
]
};
...
...
src/view/bank/3dview/indexMap.js
View file @
34675421
...
...
@@ -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为空
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment