Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
7b8238f5
Commit
7b8238f5
authored
Mar 22, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_jzl'
parents
892d05c7
f85523f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
23 deletions
+80
-23
rightBar.vue
gassafetyprogress-web/src/components/bigWindow/rightBar.vue
+80
-23
No files found.
gassafetyprogress-web/src/components/bigWindow/rightBar.vue
View file @
7b8238f5
...
...
@@ -48,37 +48,93 @@
></div>
</div>
</div>
<div
class=
""
style=
"padding: 0px 10px;"
>
<div
class=
"yujingleft yujing"
style=
"width: 33%;height: 90px;float: left;"
>
<div
class=
"yujingtop"
style=
"width: 70px;height: 90px;float: left;margin-top: 15px;text-align: right;"
>
<img
src=
"@/assets/mapinages/group786.png"
alt=
""
style=
"width: 50px;height: 50px;"
/>
</div>
<div
class=
"yujingbottom"
style=
"float: left;color: #cddbe4;margin-left: 10px;"
>
<p>
设备预警
</p>
<span>
2
</span>
</div>
<div
class=
""
style=
"padding: 0px 10px"
>
<div
class=
"yujingleft yujing"
style=
"width: 33%; height: 90px; float: left"
>
<div
class=
"yujingtop"
style=
"
width: 70px;
height: 90px;
float: left;
margin-top: 15px;
text-align: right;
"
>
<img
src=
"@/assets/mapinages/group786.png"
alt=
""
style=
"width: 50px; height: 50px"
/>
</div>
<div
class=
"yujingbottom"
style=
"float: left; color: #cddbe4; margin-left: 10px"
>
<p>
设备预警
</p>
<span>
2
</span>
</div>
</div>
<div
class=
"yujingcenter yujing"
style=
"width: 33%;height: 90px;float: left;"
>
<div
class=
"yujingtop"
style=
"width: 70px;height: 90px;float: left;margin-top: 15px;text-align: right;"
>
<img
src=
"@/assets/mapinages/group787.png"
alt=
""
style=
"width: 50px;height: 50px;"
/>
<div
class=
"yujingcenter yujing"
style=
"width: 33%; height: 90px; float: left"
>
<div
class=
"yujingtop"
style=
"
width: 70px;
height: 90px;
float: left;
margin-top: 15px;
text-align: right;
"
>
<img
src=
"@/assets/mapinages/group787.png"
alt=
""
style=
"width: 50px; height: 50px"
/>
</div>
<div
class=
"yujingbottom"
style=
"float: left;color: #cddbe4;margin-left: 10px;"
>
<div
class=
"yujingbottom"
style=
"float: left; color: #cddbe4; margin-left: 10px"
>
<p>
事件情况
</p>
<span>
2
</span>
</div>
</div>
<div
class=
"yujingright yujing"
style=
"width: 33%;height: 90px;float: left;"
>
<div
class=
"yujingtop"
style=
"width: 70px;height: 90px;float: left;margin-top: 15px;text-align: right;"
>
<img
src=
"@/assets/mapinages/group788.png"
alt=
""
style=
"width: 50px;height: 50px;"
/>
<div
class=
"yujingright yujing"
style=
"width: 33%; height: 90px; float: left"
>
<div
class=
"yujingtop"
style=
"
width: 70px;
height: 90px;
float: left;
margin-top: 15px;
text-align: right;
"
>
<img
src=
"@/assets/mapinages/group788.png"
alt=
""
style=
"width: 50px; height: 50px"
/>
</div>
<div
class=
"yujingbottom"
style=
"float: left;color: #cddbe4;margin-left: 10px;"
>
<div
class=
"yujingbottom"
style=
"float: left; color: #cddbe4; margin-left: 10px"
>
<p>
隐患数量
</p>
<span>
2
</span>
</div>
</div>
</div>
<div
class=
"left"
>
<div
class=
"bottom right-bottom-data-left"
...
...
@@ -372,6 +428,10 @@ export default {
this
.
drawLine3
();
});
},
beforeDestroy
()
{
console
.
log
(
"清空定时器"
);
clearInterval
(
this
.
alarmTimer
);
},
methods
:
{
getAlarm
()
{
return
alarmData
().
then
((
response
)
=>
{
...
...
@@ -581,16 +641,13 @@ export default {
});
},
drawLine3
()
{
// 基于准备好的dom,初始化echarts实例
let
myChart31
=
echarts
.
init
(
document
.
getElementById
(
"huanleft"
));
let
myChart32
=
echarts
.
init
(
document
.
getElementById
(
'huanright'
))
let
myChart32
=
echarts
.
init
(
document
.
getElementById
(
"huanright"
));
// 绘制图表
myChart31
.
setOption
({
color
:
[
"#91cc75"
,
"#5470c6"
,
"#fa8167"
],
color
:
[
"#91cc75"
,
"#5470c6"
,
"#fa8167"
],
grid
:
{
left
:
0
,
// right: 0,
...
...
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