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
b6afecb1
Commit
b6afecb1
authored
Jun 09, 2020
by
zhengjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加科技处ping ip websocket
parent
5d420329
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
wsUrlConsts.js
src/consts/wsUrlConsts.js
+2
-1
index.js
src/view/bank/financialCityLan/index.js
+3
-3
index.js
src/view/bank/virtualCloudPlatform/index.js
+3
-3
No files found.
src/consts/wsUrlConsts.js
View file @
b6afecb1
...
@@ -28,7 +28,8 @@ export default {
...
@@ -28,7 +28,8 @@ export default {
sbTopoURI
:
completePrefix
(
baseURI
,
'shebei'
),
//设备监控拓扑图消息
sbTopoURI
:
completePrefix
(
baseURI
,
'shebei'
),
//设备监控拓扑图消息
towMapURI
:
completePrefix
(
baseURI
,
'gj'
),
//GPS轨迹坐标消息
towMapURI
:
completePrefix
(
baseURI
,
'gj'
),
//GPS轨迹坐标消息
aisleURI
:
completePrefix
(
baseURI
,
'aisleAlarm'
),
//首页地图通道消息
aisleURI
:
completePrefix
(
baseURI
,
'aisleAlarm'
),
//首页地图通道消息
planTaskURI
:
completePrefix
(
baseURI
,
'plantask'
)
//巡检推送消息(刷新支付业务和巡检计划执行情况)
planTaskURI
:
completePrefix
(
baseURI
,
'plantask'
)
,
//巡检推送消息(刷新支付业务和巡检计划执行情况)
technologyIpURI
:
completePrefix
(
baseURI
,
'technologyIp'
),
//科技处设备ping IP
};
};
export
const
completeToken
=
(
url
)
=>
{
export
const
completeToken
=
(
url
)
=>
{
...
...
src/view/bank/financialCityLan/index.js
View file @
b6afecb1
...
@@ -248,13 +248,13 @@ class FinancialCityLan extends Component {
...
@@ -248,13 +248,13 @@ class FinancialCityLan extends Component {
console
.
log
(
topologyData
);
console
.
log
(
topologyData
);
return
(
return
(
<
div
className
=
"financialCityLan-wrapper"
>
<
div
className
=
"financialCityLan-wrapper"
>
{
/*
<AmosWebSocket
<
AmosWebSocket
ref
=
{
node
=>
this
.
aws
=
node
}
ref
=
{
node
=>
this
.
aws
=
node
}
url={SysWsURL.
financialCityLan
URI}
url
=
{
SysWsURL
.
technologyIp
URI
}
onMessage
=
{
this
.
handleData
}
onMessage
=
{
this
.
handleData
}
reconnect
reconnect
debug
debug
/>
*/
}
/>
<
div
className
=
"financialCityLan-header"
>
<
div
className
=
"financialCityLan-header"
>
<
div
className
=
"financialCityLan-view"
>
<
div
className
=
"financialCityLan-view"
>
<
div
className
=
{
classnames
(
'left-view'
,
{
'left-active-view'
:
activeView
===
'left'
})}
>
<
div
className
=
{
classnames
(
'left-view'
,
{
'left-active-view'
:
activeView
===
'left'
})}
>
...
...
src/view/bank/virtualCloudPlatform/index.js
View file @
b6afecb1
...
@@ -356,13 +356,13 @@ class VirtualCloudPlatform extends Component {
...
@@ -356,13 +356,13 @@ class VirtualCloudPlatform extends Component {
console
.
log
(
topologyData
);
console
.
log
(
topologyData
);
return
(
return
(
<
div
className
=
"virtualCloudPlatform-wrapper"
>
<
div
className
=
"virtualCloudPlatform-wrapper"
>
{
/*
<AmosWebSocket
<
AmosWebSocket
ref
=
{
node
=>
this
.
aws
=
node
}
ref
=
{
node
=>
this
.
aws
=
node
}
url={SysWsURL.
virtualCloudPlatform
URI}
url
=
{
SysWsURL
.
technologyIp
URI
}
onMessage
=
{
this
.
handleData
}
onMessage
=
{
this
.
handleData
}
reconnect
reconnect
debug
debug
/>
*/
}
/>
<
div
className
=
"virtualCloudPlatform-header"
>
<
div
className
=
"virtualCloudPlatform-header"
>
<
div
className
=
"virtualCloudPlatform-view"
>
<
div
className
=
"virtualCloudPlatform-view"
>
<
div
className
=
{
classnames
(
'left-view'
,
{
'left-active-view'
:
activeView
===
'left'
})}
>
<
div
className
=
{
classnames
(
'left-view'
,
{
'left-active-view'
:
activeView
===
'left'
})}
>
...
...
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