Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
a94e6ab62ec5c7f1d51f68d3a25a5b3a8861f18d
2 parents
969046a0
652e0422
Merge branch 'master' of
http://192.168.1.136:82/monitor_v3/hg-monitor-web
into …
…master-v32-lushangqing
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
12 deletions
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/res/machineRoomComponents/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/commonComponents/getMachineRoom/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/commonComponents/machineRoomDetail/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/commonComponents/xiaoshanthird/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/machineRoomRes/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/dataCenter/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/res/machineRoomComponents/index.js
View file @
a94e6ab
...
...
@@ -64,7 +64,7 @@ export default {
}
const
getRoomDetail
=
(
roomId
)
=>
{
proxy
.
$http
.
get
(
'/api-web/
machineroom
/list'
,{},
function
(
res
){
proxy
.
$http
.
get
(
'/api-web/
bigScreen
/list'
,{},
function
(
res
){
if
(
res
&&
res
.
data
){
let
roomSecondData
=
[];
...
...
@@ -77,7 +77,7 @@ export default {
})
commandNameData
.
value
=
roomSecondData
;
//机房布局数据
}
})
}
,
undefined
,
true
,
false
)
}
const
showVideo
=
(
flg
)
=>
{
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/commonComponents/getMachineRoom/index.js
View file @
a94e6ab
...
...
@@ -112,7 +112,7 @@ export default {
}
})
}
})
}
,
undefined
,
true
,
false
)
}
catch
(
e
)
{
console
.
log
(
e
);
}
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/commonComponents/machineRoomDetail/index.js
View file @
a94e6ab
...
...
@@ -201,7 +201,7 @@ export default {
theirRoomId
:
props
.
machineData
.
machineRoomId
,
theirCabinet
:
CabinetNum
}
$
.
get
(
proxy
.
domainName
+
'/api-web/
v32/res/cabinet?access_token='
+
proxy
.
accessToken
,
parmas
,
function
(
res
){
$
.
get
(
proxy
.
domainName
+
'/api-web/
bigScreen/cabinet'
,
parmas
,
function
(
res
){
if
(
res
){
let
resData
=
res
.
data
;
let
deviceDatas
=
[];
...
...
@@ -217,7 +217,7 @@ export default {
proxy
.
getDeviceInfo
()
}
})
}
,
undefined
,
true
,
false
)
}
let
UpositionBottom
=
Vue
.
ref
(
-
1
);
if
(
props
.
machineData
.
Uposition
){
...
...
@@ -296,13 +296,14 @@ export default {
}
//展示告警列表
let
alarmList
=
(
resId
)
=>
{
if
(
proxy
.
deviceDataInfo
.
alarmNum
>
0
){
hidedialog
(
true
);
let
params
=
{
page
:
currentPage
.
value
,
limit
:
pageSize
.
value
,
resId
:
proxy
.
deviceDataInfo
.
resId
}
proxy
.
$http
.
get
(
`
/
api
-
web
/
home
/
alarm
/
alarmListPage
`
,
params
,
function
(
res
)
{
proxy
.
$http
.
get
(
`
/
api
-
web
/
bigScreen
/
alarm
/
alarmListPage
`
,
params
,
function
(
res
)
{
if
(
res
&&
res
.
success
==
true
&&
res
.
data
)
{
tableDataList
.
value
=
res
.
data
;
count
.
value
=
res
.
count
;
...
...
@@ -311,7 +312,8 @@ export default {
count
.
value
=
0
;
}
})
},
undefined
,
true
,
false
)
}
}
//告警列表弹框操作
let
dialogVisible
=
Vue
.
ref
(
false
);
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/commonComponents/xiaoshanthird/index.js
View file @
a94e6ab
...
...
@@ -386,7 +386,7 @@ export default {
width
:
''
},
{
name
:
'B
4
'
,
name
:
'B
5
'
,
isShow
:
true
,
className
:
''
,
imgEmpty
:
false
,
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/machineRoomRes/index.js
View file @
a94e6ab
...
...
@@ -18,7 +18,7 @@ export default {
let
machineRoomRes
=
Vue
.
ref
();
const
getData
=
(
roomRow
)
=>
{
proxy
.
machineRoomRes
=
roomRow
;
proxy
.
$http
.
get
(
'/api-web/
machineroom
/list'
,{},
function
(
res
){
proxy
.
$http
.
get
(
'/api-web/
bigScreen
/list'
,{},
function
(
res
){
if
(
res
&&
res
.
data
){
let
roomSecondDataArr
=
res
.
data
;
let
roomSecondData
=
[];
...
...
@@ -34,7 +34,7 @@ export default {
console
.
log
(
"下层机房数据"
,
proxy
.
roomSecondData
)
}
})
}
,
undefined
,
true
,
false
)
}
// 挂载完
Vue
.
onMounted
(()
=>
{
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/dataCenter/index.js
View file @
a94e6ab
...
...
@@ -54,7 +54,7 @@ export default {
* */
let
roomSecondData
=
Vue
.
ref
([]);
//兴议或者湖州下层机房数据
const
getData
=
(
roomRow
)
=>
{
proxy
.
$http
.
get
(
'/api-web/
machineroom
/list'
,{},
function
(
res
){
proxy
.
$http
.
get
(
'/api-web/
bigScreen
/list'
,{},
function
(
res
){
if
(
res
&&
res
.
data
){
let
roomSecondDataArr
=
res
.
data
;
let
roomSecondData
=
[];
...
...
@@ -70,7 +70,7 @@ export default {
console
.
log
(
"下层机房数据"
,
proxy
.
roomSecondData
)
}
})
}
,
undefined
,
true
,
false
)
}
return
{
...
...
Please
register
or
login
to post a comment