Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
5a0ebddb
Commit
5a0ebddb
authored
Oct 21, 2024
by
lyy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备驾驶舱设备状态
parent
ba271a44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
HGBI003.jsp
src/main/webapp/HG/BI/HGBI003.jsp
+20
-10
No files found.
src/main/webapp/HG/BI/HGBI003.jsp
View file @
5a0ebddb
...
@@ -174,9 +174,12 @@
...
@@ -174,9 +174,12 @@
<div
class=
"device-title "
style=
"padding-top: 0.2vh;margin-left: 2vw;display: flex"
>
<div
class=
"device-title "
style=
"padding-top: 0.2vh;margin-left: 2vw;display: flex"
>
<div
class=
"device-span"
style=
"width: 50%"
>
{{ item.deviceName }}
</div>
<div
class=
"device-span"
style=
"width: 50%"
>
{{ item.deviceName }}
</div>
<div
style=
"display: flex;width: 50%"
>
<div
style=
"display: flex;width: 50%"
>
<div
class=
"openOn-span"
style=
"margin-left: 0.5vw;margin-right: 0.5vw"
>
设备{{ item.status }}
</div>
<div
class=
"openOn-span"
style=
"margin-left: 0.5vw;margin-right: 0.5vw"
v-if=
"item.status == '3' || item.status == '5' ||item.status == '6'"
>
设备关机
</div>
<img
src=
"${ctx}/common/img/powerOn.png"
style=
"width: 1.5vw;height: 3vh"
v-if=
"item.status != '关机' "
alt
/>
<div
class=
"openOn-span"
style=
"margin-left: 0.5vw;margin-right: 0.5vw"
v-else-if=
"item.status == '1' || item.status == '2' ||item.status == '4' "
>
设备开机
</div>
<img
src=
"${ctx}/common/img/powerDown.png"
style=
"width: 1.5vw;height: 3vh"
v-else
alt
/>
<div
class=
"openOn-span"
style=
"margin-left: 0.5vw;margin-right: 0.5vw"
v-else=
"item.status == '0'"
>
设备异常
</div>
<img
src=
"${ctx}/common/img/powerOn.png"
style=
"width: 1.5vw;height: 3vh"
v-if=
"item.status == '1' || item.status == '2' ||item.status == '4' "
alt
/>
<img
src=
"${ctx}/common/img/powerDown.png"
style=
"width: 1.5vw;height: 3vh"
v-else
alt
/>
</div>
</div>
</div>
</div>
<div
class=
"device-main device-span"
>
<div
class=
"device-main device-span"
>
...
@@ -265,10 +268,17 @@
...
@@ -265,10 +268,17 @@
this
.
setOption2
();
this
.
setOption2
();
setTimeout
(
function
()
{
setTimeout
(
function
()
{
window
.
location
.
reload
();
this
.
init
();
},
60000
);
},
60000
);
},
},
methods
:
{
methods
:
{
init
(){
this
.
getYesterdayDateFormatted
();
this
.
getRoleFactory
();
this
.
queryBySbStatus
();
this
.
querySbYes
();
this
.
querySbNo
();
},
formatTime
(
currentTime
)
{
formatTime
(
currentTime
)
{
const
formattedTime
=
const
formattedTime
=
currentTime
.
getFullYear
()
+
currentTime
.
getFullYear
()
+
...
@@ -328,12 +338,12 @@
...
@@ -328,12 +338,12 @@
}
}
_this
.
queryBySbStatusList
.
push
({
_this
.
queryBySbStatusList
.
push
({
deviceName
:
'切割机'
,
deviceName
:
'切割机'
,
status
:
'
关机
'
,
status
:
'
3
'
,
deviceModel
:
'MZ-1250'
,
deviceModel
:
'MZ-1250'
,
})
})
_this
.
queryBySbStatusList
.
push
({
_this
.
queryBySbStatusList
.
push
({
deviceName
:
'焊接机'
,
deviceName
:
'焊接机'
,
status
:
'
关机
'
,
status
:
'
3
'
,
deviceModel
:
'H9830'
,
deviceModel
:
'H9830'
,
})
})
},
},
...
@@ -361,7 +371,7 @@
...
@@ -361,7 +371,7 @@
return
{
return
{
title
:
{
title
:
{
left
:
'left'
,
left
:
'left'
,
text
:
'设备作业时长/
小时
'
,
text
:
'设备作业时长/
分钟
'
,
textStyle
:
{
textStyle
:
{
color
:
'#ffffff'
// 设置标题字体颜色为白色
color
:
'#ffffff'
// 设置标题字体颜色为白色
}
}
...
@@ -445,7 +455,7 @@
...
@@ -445,7 +455,7 @@
return
{
return
{
title
:
{
title
:
{
left
:
'left'
,
left
:
'left'
,
text
:
'设备故障次数/
小时
'
,
text
:
'设备故障次数/
分钟
'
,
textStyle
:
{
textStyle
:
{
color
:
'#ffffff'
// 设置标题字体颜色为白色
color
:
'#ffffff'
// 设置标题字体颜色为白色
}
}
...
@@ -516,7 +526,7 @@
...
@@ -516,7 +526,7 @@
this
.
testOption1
=
{
this
.
testOption1
=
{
title
:
{
title
:
{
left
:
'left'
,
left
:
'left'
,
text
:
'设备作业时长/
小时
'
,
text
:
'设备作业时长/
分钟
'
,
textStyle
:
{
textStyle
:
{
color
:
'#ffffff'
// 设置标题字体颜色为白色
color
:
'#ffffff'
// 设置标题字体颜色为白色
}
}
...
@@ -567,7 +577,7 @@
...
@@ -567,7 +577,7 @@
this
.
testOption2
=
{
this
.
testOption2
=
{
title
:
{
title
:
{
left
:
'left'
,
left
:
'left'
,
text
:
'设备故障次数/
小时
'
,
text
:
'设备故障次数/
分钟
'
,
textStyle
:
{
textStyle
:
{
color
:
'#ffffff'
// 设置标题字体颜色为白色
color
:
'#ffffff'
// 设置标题字体颜色为白色
}
}
...
...
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