Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IT-monitor
Project
Project
Details
Activity
Releases
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
张伯涛
IT-monitor
Commits
3f7513a3
Commit
3f7513a3
authored
May 18, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
8f2c40cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
33 deletions
+44
-33
index.vue
src/layout/components/TagsView/index.vue
+1
-1
variables.scss
src/styles/variables.scss
+1
-1
login.vue
src/views/login/login.vue
+4
-4
equipment.vue
src/views/overView/dashboard/equipment.vue
+38
-27
No files found.
src/layout/components/TagsView/index.vue
View file @
3f7513a3
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@contextmenu.prevent.native="openMenu(tag,$event)"
@contextmenu.prevent.native="openMenu(tag,$event)"
>
>
{{
tag
.
title
}}
<span
style=
"color: #168DE8"
>
{{
tag
.
title
}}
</span>
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click
.
prevent
.
stop=
"closeSelectedTag(tag)"
/>
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click
.
prevent
.
stop=
"closeSelectedTag(tag)"
/>
</router-link>
</router-link>
</scroll-pane>
</scroll-pane>
...
...
src/styles/variables.scss
View file @
3f7513a3
...
@@ -90,7 +90,7 @@ $menuHover:#1A2137;
...
@@ -90,7 +90,7 @@ $menuHover:#1A2137;
$subMenuBg
:
#232C48
;
$subMenuBg
:
#232C48
;
$subMenuHover
:
#1A2137
;
$subMenuHover
:
#1A2137
;
$sideBarWidth
:
2
5
4px
;
$sideBarWidth
:
2
2
4px
;
$sideHideWidth
:
54px
;
$sideHideWidth
:
54px
;
// the :export directive is the magic sauce for webpack
// the :export directive is the magic sauce for webpack
...
...
src/views/login/login.vue
View file @
3f7513a3
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
position
:
fixed
;
position
:
fixed
;
top
:
17px
;
top
:
17px
;
left
:
43%
;
left
:
43%
;
width
:
5vw
;
//
width: 5vw;
}
}
.title
{
.title
{
margin
:
10vh
auto
7vh
auto
;
margin
:
10vh
auto
7vh
auto
;
...
@@ -196,9 +196,9 @@ export default {
...
@@ -196,9 +196,9 @@ export default {
//background: #ffffff no-repeat;
//background: #ffffff no-repeat;
background-size
:
59%
;
background-size
:
59%
;
background-position-y
:
57px
;
background-position-y
:
57px
;
width
:
2
9
vw
;
width
:
2
5
vw
;
height
:
6
5
vh
;
height
:
6
2
vh
;
padding
:
25px
25px
5px
2
5px
;
padding
:
25px
45px
5px
4
5px
;
.login-form-content
{
.login-form-content
{
//position: absolute;
//position: absolute;
//top: 40%;
//top: 40%;
...
...
src/views/overView/dashboard/equipment.vue
View file @
3f7513a3
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
<el-row
:gutter=
"12"
>
<el-row
:gutter=
"12"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<div
class=
"equipmentLeft"
>
<div
class=
"equipmentLeft"
>
<div
style=
"height: 50px"
></div>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
style=
"display: flex;margin-top: 10px"
>
<div
style=
"display: flex;margin-top: 10px"
>
<el-divider
direction=
"vertical"
/>
<el-divider
direction=
"vertical"
/>
...
@@ -46,10 +47,10 @@
...
@@ -46,10 +47,10 @@
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
style=
"display: flex;margin-top: 10px;margin-bottom: 10px"
>
<div
style=
"display: flex;margin-top: 10px;margin-bottom: 10px"
>
<el-divider
direction=
"vertical"
/>
<el-divider
direction=
"vertical"
/>
<div
class=
"cardTitle"
>
未处理警告
</div>
<div
style=
"margin-bottom: 8px"
class=
"cardTitle"
>
未处理警告
</div>
</div>
</div>
<div
v-for=
"(item, index) in messageList"
:key=
"index"
class=
"warnMessage"
>
<div
v-for=
"(item, index) in messageList"
:key=
"index"
class=
"warnMessage"
>
<div>
<div
style=
"display: flex;justify-content: space-between"
>
<span>
{{
item
.
label
}}
</span>
<span>
{{
item
.
label
}}
</span>
<span>
{{
item
.
time
}}
</span>
<span>
{{
item
.
time
}}
</span>
</div>
</div>
...
@@ -65,11 +66,11 @@
...
@@ -65,11 +66,11 @@
<div
id=
"echarts-proLineMonitor"
class=
"span_1"
>
<div
id=
"echarts-proLineMonitor"
class=
"span_1"
>
<el-row>
<el-row>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<div
id=
"dataCharts_proLineMonitor"
ref=
"chart_stay"
style=
"height:
3
0vh"
/>
<div
id=
"dataCharts_proLineMonitor"
ref=
"chart_stay"
style=
"height:
4
0vh"
/>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"middleLattice"
>
<div
class=
"middleLattice"
>
<div
style=
"margin-bottom: 15px;margin-top:
15
px"
>
设备总数:104
</div>
<div
style=
"margin-bottom: 15px;margin-top:
60
px"
>
设备总数:104
</div>
<div
class=
"middleLatticeChild"
>
正常:78
</div>
<div
class=
"middleLatticeChild"
>
正常:78
</div>
<div
class=
"middleLatticeChild"
>
故障:9
</div>
<div
class=
"middleLatticeChild"
>
故障:9
</div>
<div
class=
"middleLatticeChild"
>
危险:3
</div>
<div
class=
"middleLatticeChild"
>
危险:3
</div>
...
@@ -84,11 +85,11 @@
...
@@ -84,11 +85,11 @@
<div
id=
"echarts-MonitoringPpoint"
class=
"span_1"
>
<div
id=
"echarts-MonitoringPpoint"
class=
"span_1"
>
<el-row>
<el-row>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<div
id=
"dataCharts_MonitoringPpoint"
ref=
"chart_stay"
style=
"height:
3
0vh"
/>
<div
id=
"dataCharts_MonitoringPpoint"
ref=
"chart_stay"
style=
"height:
4
0vh"
/>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"middleLattice"
>
<div
class=
"middleLattice"
>
<div
style=
"margin-bottom: 15px;margin-top:
15
px"
>
监测点总数:2143
</div>
<div
style=
"margin-bottom: 15px;margin-top:
60
px"
>
监测点总数:2143
</div>
<div
class=
"middleLatticeChild"
>
正常:1658
</div>
<div
class=
"middleLatticeChild"
>
正常:1658
</div>
<div
class=
"middleLatticeChild"
>
故障:17
</div>
<div
class=
"middleLatticeChild"
>
故障:17
</div>
<div
class=
"middleLatticeChild"
>
危险:12
</div>
<div
class=
"middleLatticeChild"
>
危险:12
</div>
...
@@ -104,11 +105,11 @@
...
@@ -104,11 +105,11 @@
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<div
class=
"equipmentRight"
>
<div
class=
"equipmentRight"
>
<div
style=
"display: flex"
>
<div
style=
"display: flex
;justify-content: end; height: 50px;padding-right: 5px
"
>
<img
id=
"fullscreen_btn"
style=
"
cursor:pointer;
"
:src=
"expandPage"
>
<img
id=
"fullscreen_btn"
style=
"
cursor:pointer;height: 35px;width: 35px
"
:src=
"expandPage"
>
<div
style=
"font-size: 30px;padding-right: 20px"
>
{{
nowDate
}}
</div>
<div
style=
"font-size: 30px;padding-
left: 20px; padding-
right: 20px"
>
{{
nowDate
}}
</div>
<div>
<div>
<div>
{{
week
}}
</div>
<div
style=
"font-size: 20px"
>
{{
week
}}
</div>
<div>
{{
date_show
}}
</div>
<div>
{{
date_show
}}
</div>
</div>
</div>
</div>
</div>
...
@@ -168,6 +169,7 @@ export default {
...
@@ -168,6 +169,7 @@ export default {
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
},
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
},
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
},
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
},
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
},
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
},
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
},
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
}
{
label
:
'智盘服务器-10.1.154'
,
time
:
'2019-12-09'
}
],
],
equipmentIcon
:
require
(
'@/assets/image/shebeizongshu.png'
),
equipmentIcon
:
require
(
'@/assets/image/shebeizongshu.png'
),
...
@@ -475,26 +477,27 @@ export default {
...
@@ -475,26 +477,27 @@ export default {
textStyle
:
{
textStyle
:
{
textAlign
:
'center'
,
textAlign
:
'center'
,
fill
:
'#333'
,
fill
:
'#333'
,
fontSize
:
1
8
,
fontSize
:
1
4
,
fontWeight
:
400
fontWeight
:
400
}
}
},
},
graphic
:
{
graphic
:
{
type
:
'text'
,
type
:
'text'
,
left
:
'center'
,
left
:
'center'
,
top
:
'4
0
%'
,
top
:
'4
3
%'
,
style
:
{
style
:
{
text
:
'104'
,
text
:
'104'
,
textAlign
:
'center'
,
textAlign
:
'center'
,
fill
:
'#333'
,
fill
:
'#333'
,
fontSize
:
20
fontSize
:
18
,
fontWeight
:
800
}
}
},
},
series
:
[
series
:
[
{
{
name
:
'Access From'
,
name
:
'Access From'
,
type
:
'pie'
,
type
:
'pie'
,
radius
:
[
'30%'
,
'
7
0%'
],
radius
:
[
'30%'
,
'
5
0%'
],
avoidLabelOverlap
:
false
,
avoidLabelOverlap
:
false
,
itemStyle
:
{
itemStyle
:
{
borderRadius
:
10
,
borderRadius
:
10
,
...
@@ -540,26 +543,27 @@ export default {
...
@@ -540,26 +543,27 @@ export default {
textStyle
:
{
textStyle
:
{
textAlign
:
'center'
,
textAlign
:
'center'
,
fill
:
'#333'
,
fill
:
'#333'
,
fontSize
:
1
8
,
fontSize
:
1
4
,
fontWeight
:
400
fontWeight
:
400
}
}
},
},
graphic
:
{
graphic
:
{
type
:
'text'
,
type
:
'text'
,
left
:
'center'
,
left
:
'center'
,
top
:
'4
0
%'
,
top
:
'4
3
%'
,
style
:
{
style
:
{
text
:
'2143'
,
text
:
'2143'
,
textAlign
:
'center'
,
textAlign
:
'center'
,
fill
:
'#333'
,
fill
:
'#333'
,
fontSize
:
20
fontSize
:
18
,
fontWeight
:
800
}
}
},
},
series
:
[
series
:
[
{
{
name
:
'Access From'
,
name
:
'Access From'
,
type
:
'pie'
,
type
:
'pie'
,
radius
:
[
'30%'
,
'
7
0%'
],
radius
:
[
'30%'
,
'
5
0%'
],
avoidLabelOverlap
:
false
,
avoidLabelOverlap
:
false
,
itemStyle
:
{
itemStyle
:
{
borderRadius
:
10
,
borderRadius
:
10
,
...
@@ -591,24 +595,28 @@ export default {
...
@@ -591,24 +595,28 @@ export default {
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.equipment
{
.equipment
{
padding
:
15px
;
padding
:
0
15px
15px
;
.el-divider--vertical
{
margin-left
:
0px
!
important
;
}
.equipmentMiddle
{
.equipmentMiddle
{
.middleLattice
{
.middleLattice
{
.middleLatticeChild
{
.middleLatticeChild
{
width
:
9
0px
;
width
:
10
0px
;
padding
:
5px
;
padding
:
5px
;
border
:
1px
solid
black
;
border
:
1px
solid
black
;
border-bottom
:
0
;
border-bottom
:
0
;
}
}
}
}
.middleBody
{
.middleBody
{
padding-top
:
20px
;
.middleChild
{
.middleChild
{
margin-bottom
:
30px
;
margin-bottom
:
30px
;
}
}
}
}
.bigTitle
{
.bigTitle
{
text-align
:
center
;
text-align
:
center
;
font-size
:
3
5
px
;
font-size
:
3
2
px
;
color
:
#46bcf2
;
color
:
#46bcf2
;
}
}
}
}
...
@@ -617,13 +625,14 @@ export default {
...
@@ -617,13 +625,14 @@ export default {
margin-bottom
:
10px
;
margin-bottom
:
10px
;
.el-divider--vertical
{
.el-divider--vertical
{
width
:
5px
!
important
;
width
:
5px
!
important
;
background-color
:
#
46bcf2
!
important
;
background-color
:
#
168DE8
!
important
;
}
}
.warnMessage
{
.warnMessage
{
padding-bottom
:
5px
;
margin-left
:
15px
;
margin-bottom
:
5px
;
padding-bottom
:
10px
;
border-bottom
:
1px
solid
#46bcf2
;
margin-bottom
:
10px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-size
:
14px
;
}
}
.cardTitle
{
.cardTitle
{
text-align
:
left
;
text-align
:
left
;
...
@@ -638,12 +647,14 @@ export default {
...
@@ -638,12 +647,14 @@ export default {
}
}
.cardNum
{
.cardNum
{
margin-top
:
10px
;
margin-top
:
10px
;
font-weight
:
bold
;
font-size
:
20px
;
font-size
:
20px
;
}
}
}
}
.el-card__body
{
.el-card__body
{
text-align
:
center
!
important
;
text-align
:
center
!
important
;
padding
:
10px
!
important
;
padding
:
10px
!
important
;
padding-left
:
0px
!
important
;
}
}
.span_middle
{
.span_middle
{
font-size
:
14px
;
font-size
:
14px
;
...
...
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