Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
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
Administrator
web-monitor
Commits
2b8449f7
Commit
2b8449f7
authored
Feb 10, 2022
by
neogcg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
a3aa099c
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
462 additions
and
156 deletions
+462
-156
dist.zip
dist.zip
+0
-0
dist1.zip
dist1.zip
+0
-0
orgTree.vue
src/components/orgTree.vue
+4
-1
AppMain.vue
src/layout/components/AppMain.vue
+3
-3
Navbar.vue
src/layout/components/Navbar.vue
+33
-2
index.js
src/router/index.js
+7
-1
common.scss
src/styles/common.scss
+3
-0
element-ui.scss
src/styles/element-ui.scss
+1
-1
sidebar.scss
src/styles/sidebar.scss
+1
-0
variables.scss
src/styles/variables.scss
+7
-7
index.vue
src/views/alarm/cableTime/index.vue
+6
-6
index.vue
src/views/alarm/device/index.vue
+6
-7
index.vue
src/views/dashboard/index.vue
+73
-10
index.vue
src/views/history/deviceLinkRepair/index.vue
+2
-2
index.vue
src/views/setting/statistics/index.vue
+126
-98
index.vue
src/views/user/userList/index.vue
+38
-18
index.vue
src/views/user/userLog/index.vue
+152
-0
No files found.
dist.zip
0 → 100644
View file @
2b8449f7
File added
dist1.zip
0 → 100644
View file @
2b8449f7
File added
src/components/orgTree.vue
View file @
2b8449f7
...
@@ -209,7 +209,7 @@ export default {
...
@@ -209,7 +209,7 @@ export default {
.el-select-tree
{
.el-select-tree
{
width
:
300px
;
width
:
300px
;
height
:
calc
(
100vh
-
10px
);
height
:
calc
(
100vh
-
10px
);
background
:
rgba
(
2
38
,
247
,
254
,
0
.39
);
background
:
rgba
(
2
55
,
255
,
255
,
1
);
.tree_header
{
.tree_header
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -224,4 +224,7 @@ export default {
...
@@ -224,4 +224,7 @@ export default {
// border: 1px dotted;
// border: 1px dotted;
// display: inline-block;
// display: inline-block;
}
}
.el-tree-node.is-current
>
.el-tree-node__content
{
background-color
:
#deeaff
!
important
;
}
</
style
>
</
style
>
\ No newline at end of file
src/layout/components/AppMain.vue
View file @
2b8449f7
...
@@ -20,13 +20,13 @@ export default {
...
@@ -20,13 +20,13 @@ export default {
<
style
scoped
>
<
style
scoped
>
.app-main
{
.app-main
{
margin
:
0
2
0px
20px
20px
;
margin
:
0
0px
20px
20px
;
padding
:
20px
;
padding
:
20px
20px
20px
20px
;
background
:
#fff
;
background
:
#fff
;
border-radius
:
8px
;
border-radius
:
8px
;
/*50 = navbar */
/*50 = navbar */
min-height
:
calc
(
100vh
-
50px
);
min-height
:
calc
(
100vh
-
50px
);
width
:
100
%
;
width
:
98
%
;
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
...
...
src/layout/components/Navbar.vue
View file @
2b8449f7
...
@@ -11,8 +11,9 @@
...
@@ -11,8 +11,9 @@
</span>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
divided
@
click
.
native=
"logout"
>
<el-dropdown-item
divided
@
click
.
native=
"logout"
>
<span
style=
"display:block;"
>
退出
</span>
<span
style=
"display:block;"
>
退出
登录
</span>
</el-dropdown-item>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
<span
style=
"color: white; padding-right: 10px"
>
{{
dateTime
}}
</span>
<span
style=
"color: white; padding-right: 10px"
>
{{
dateTime
}}
</span>
...
@@ -115,7 +116,7 @@ export default {
...
@@ -115,7 +116,7 @@ export default {
line-height
:
50px
;
line-height
:
50px
;
position
:
absolute
;
position
:
absolute
;
top
:
5px
;
top
:
5px
;
right
:
2
0px
;
right
:
3
0px
;
&
:focus
{
&
:focus
{
outline
:
none
;
outline
:
none
;
...
@@ -163,4 +164,34 @@ export default {
...
@@ -163,4 +164,34 @@ export default {
}
}
}
}
}
}
.el-dropdown-menu__item
{
color
:
#B2DDFF
;
}
.el-popper
[
x-placement
^=
bottom
]
{
margin-top
:
5px
;
}
.el-dropdown-menu__item--divided
{
border
:none
;
margin-top
:
0
;
}
.el-dropdown-menu__item--divided
:before
{
content
:
''
;
height
:
6px
;
display
:
none
;
margin
:
0
;
background-color
:
transparent
;
}
</
style
>
<
style
>
.el-popper
.popper__arrow
{
display
:
none
!important
;
}
.el-dropdown-menu
{
padding
:
5px
0
;
background
:
#2066f9
;
}
.el-dropdown-menu__item
:not
(
.is-disabled
)
:hover
{
background-color
:
#1a52c7
;
color
:
#fff
;
}
</
style
>
</
style
>
src/router/index.js
View file @
2b8449f7
...
@@ -188,7 +188,13 @@ export const constantRoutes = [
...
@@ -188,7 +188,13 @@ export const constantRoutes = [
name
:
'UserList'
,
name
:
'UserList'
,
component
:
()
=>
import
(
'@/views/user/userList'
),
component
:
()
=>
import
(
'@/views/user/userList'
),
meta
:
{
title
:
'用户信息列表'
}
meta
:
{
title
:
'用户信息列表'
}
}
},
{
path
:
'userLog'
,
name
:
'UserLog'
,
component
:
()
=>
import
(
'@/views/user/userLog'
),
meta
:
{
title
:
'用户操作日志'
}
},
]
]
},
},
// 404 page must be placed at the end !!!
// 404 page must be placed at the end !!!
...
...
src/styles/common.scss
View file @
2b8449f7
...
@@ -22,3 +22,6 @@
...
@@ -22,3 +22,6 @@
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.leakage-cable
.leakage-top
{
padding-right
:
10px
;
}
src/styles/element-ui.scss
View file @
2b8449f7
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
// button
// button
.el-button--primary
{
.el-button--primary
{
color
:
#fff
;
color
:
#fff
;
background
:
rgba
(
11
,
65
,
177
)
;
background
:
#2066F9
!
important
;
opacity
:
1
;
opacity
:
1
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
...
...
src/styles/sidebar.scss
View file @
2b8449f7
...
@@ -207,6 +207,7 @@
...
@@ -207,6 +207,7 @@
&
:hover
{
&
:hover
{
// you can use $subMenuHover
// you can use $subMenuHover
background-color
:
$menuHover
!
important
;
background-color
:
$menuHover
!
important
;
color
:
#fff
!
important
;
}
}
}
}
...
...
src/styles/variables.scss
View file @
2b8449f7
// sidebar
// sidebar
$menuText
:
#
fff
;
$menuText
:
#
B2DDFF
;
//标题未选中颜色
$menuActiveText
:
#
333
;
$menuActiveText
:
#
fff
;
//标题选中
$subMenuActiveText
:
#fff
;
//https://github.com/ElemeFE/element/issues/12951
$subMenuActiveText
:
#fff
;
//
子菜单选中颜色//
https://github.com/ElemeFE/element/issues/12951
$menuBg
:
#2066F9
;
$menuBg
:
#2066F9
;
//标题背景
$menuHover
:
#
263445
;
$menuHover
:
#
1a52c7
;
//标题悬浮色
$subMenuBg
:
#
1f2d3d
;
$subMenuBg
:
#
2066F9
;
$subMenuHover
:
#
001528
;
$subMenuHover
:
#
1a52c7
;
$sideBarWidth
:
120px
;
$sideBarWidth
:
120px
;
...
...
src/views/alarm/cableTime/index.vue
View file @
2b8449f7
<
template
>
<
template
>
<!-- 漏缆实时状态 -->
<!-- 漏缆实时状态 -->
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
><el-button-group>
<div
class=
"leakage-top"
>
<el-button-group>
<el-button
v-for=
"item in tabs"
:key=
"item.key"
:type=
"activeName === item.key ? 'primary' : ''"
@
click=
"changeType(item)"
>
{{
item
.
label
}}
</el-button>
<el-button
v-for=
"item in tabs"
:key=
"item.key"
:type=
"activeName === item.key ? 'primary' : ''"
@
click=
"changeType(item)"
>
{{
item
.
label
}}
</el-button>
</el-button-group>
</el-button-group>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共5条数据
</div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
查询
</el-button>
<el-button
type=
"primary"
>
查询
</el-button>
<el-button
type=
"primary"
>
导出
</el-button>
<el-button
type=
"primary"
>
导出
</el-button>
</div>
</div>
</div>
</div>
<div
style=
"color: #666666"
>
共5条数据
</div>
<el-table
:data=
"tableData"
style=
"width: 100%"
:cell-class-name=
"cellClassFn"
:header-cell-style=
"
{background:'#EAF1FE',color:'#666666'}">
<el-table
:data=
"tableData"
style=
"width: 100%"
:cell-class-name=
"cellClassFn"
:header-cell-style=
"
{background:'#EAF1FE',color:'#666666'}">
<el-table-column
type=
"index"
label=
"序列号"
width=
"100"
align=
"center"
/>
<el-table-column
type=
"index"
label=
"序列号"
width=
"100"
align=
"center"
/>
<el-table-column
prop=
"name"
label=
"基站名称"
width=
"180"
align=
"center"
/>
<el-table-column
prop=
"name"
label=
"基站名称"
width=
"180"
align=
"center"
/>
...
...
src/views/alarm/device/index.vue
View file @
2b8449f7
<
template
>
<
template
>
<!-- 漏缆实时状态 -->
<!-- 漏缆实时状态 -->
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<div
class=
"leakage-top"
>
<el-button-group>
<el-button-group>
<el-button
v-for=
"item in tabs"
:key=
"item.key"
:type=
"activeName === item.key ? 'primary' : ''"
@
click=
"changeType(item)"
>
{{
item
.
label
}}
</el-button>
<el-button
v-for=
"item in tabs"
:key=
"item.key"
:type=
"activeName === item.key ? 'primary' : ''"
@
click=
"changeType(item)"
>
{{
item
.
label
}}
</el-button>
</el-button-group>
</el-button-group>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共6条数据
</div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
查询
</el-button>
<el-button
type=
"primary"
>
查询
</el-button>
<el-button
type=
"primary"
>
导出
</el-button>
<el-button
type=
"primary"
>
导出
</el-button>
</div>
</div>
</div>
</div>
<div>
共6条数据
</div>
<el-table
:data=
"tableData"
style=
"width: 100%"
:cell-class-name=
"cellClassFn"
:header-cell-style=
"
{background:'#EAF1FE',color:'#666666'}">
<el-table
:data=
"tableData"
style=
"width: 100%"
:cell-class-name=
"cellClassFn"
:header-cell-style=
"
{background:'#EAF1FE',color:'#666666'}">
<el-table-column
prop=
"equipment1"
label=
"网元设备"
align=
"center"
/>
<el-table-column
prop=
"equipment1"
label=
"网元设备"
align=
"center"
/>
<el-table-column
prop=
"state1"
label=
"连接状态"
align=
"center"
/>
<el-table-column
prop=
"state1"
label=
"连接状态"
align=
"center"
/>
...
...
src/views/dashboard/index.vue
View file @
2b8449f7
...
@@ -9,20 +9,20 @@
...
@@ -9,20 +9,20 @@
<span>
{{
item
.
title
}}
</span>
<span>
{{
item
.
title
}}
</span>
<el-button
v-if=
"item.option"
style=
"float: right; padding: 3px 0;margin-right:20px"
type=
"text"
>
保存
</el-button>
<el-button
v-if=
"item.option"
style=
"float: right; padding: 3px 0;margin-right:20px"
type=
"text"
>
保存
</el-button>
</div>
</div>
<div
v-for=
"k in item.list"
:key=
"k.name"
class=
"text
"
>
<div
v-for=
"k in item.list"
:key=
"k.name"
:class=
"item.list.length
<
=
2
?
'
text2
'
:
'
text
'
"
>
<el-row
:gutter=
"24"
>
<el-row
:gutter=
"24"
>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<div
class=
"item_name"
>
{{
k
.
name
}}
</div>
<div
class=
"item_name"
>
{{
k
.
name
}}
</div>
</el-col>
</el-col>
<el-col
:span=
"1
4
"
>
<el-col
:span=
"1
0
"
>
<div
v-if=
"item.option"
>
<div
v-if=
"item.option"
>
<el-input
v-model=
"k.value"
size=
"mini"
clearable
placeholder=
"请输入内容"
>
{{
k
.
value
}}
</el-input>
<el-input
v-model=
"k.value"
clearable
placeholder=
"请输入内容"
>
{{
k
.
value
}}
</el-input>
</div>
</div>
<el-row
:gutter=
"20"
v-else-if=
"k.handle"
>
<el-row
:gutter=
"20"
v-else-if=
"k.handle"
>
<el-col
:span=
"10"
class=
"value_handle"
>
{{
k
.
value
}}
</el-col>
<el-col
:span=
"10"
class=
"value_handle"
>
{{
k
.
value
}}
</el-col>
<el-col
:span=
"10"
><el-button
type=
"primary"
size=
"mini"
>
处理告警
</el-button></el-col>
<el-col
:span=
"10"
><el-button
class=
"alarmbtn"
type=
"primary"
size=
"mini"
>
处理告警
</el-button></el-col>
</el-row>
</el-row>
<div
v-else
>
{{
k
.
value
}}
</div>
<div
class=
"item_data"
v-else
>
{{
k
.
value
}}
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
::v-deep
.el-card
{
::v-deep
.el-card
{
border
:
1px
solid
#E3E3E3
;
border
:
1px
solid
#E3E3E3
;
border-radius
:
8px
;
border-radius
:
8px
;
min-height
:
300
px
;
min-height
:
243
px
;
.el-card__header
{
.el-card__header
{
font-size
:
18px
;
font-size
:
18px
;
color
:
#333333
;
color
:
#333333
;
...
@@ -78,25 +78,88 @@ export default {
...
@@ -78,25 +78,88 @@ export default {
background
:
rgba
(
226
,
235
,
255
,
0
.39
);
background
:
rgba
(
226
,
235
,
255
,
0
.39
);
opacity
:
1
;
opacity
:
1
;
}
}
.el-card__body
{
padding
:
0px
;
}
}
}
// .el-col {
// .el-col {
// margin-bottom: 20px;
// margin-bottom: 20px;
// }
// }
.text
{
.text
{
// display: flex;
// display: flex;
padding
:
20px
;
padding
:
10px
20px
10px
20px
;
border-bottom
:
1px
solid
#E3E3E3
;
border-bottom
:
1px
solid
#E3E3E3
;
&
:last-child
{
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
none
;
}
.item_name
,
.item_data
,
.value_handle
{
height
:
16px
;
line-height
:
16px
;
margin-top
:
12px
;
margin-bottom
:
12px
;
}
}
.item_name
{
.item_name
{
width
:
262px
;
width
:
262px
;
height
:
26px
;
height
:
16px
;
line-height
:
1
;
line-height
:
16px
;
color
:
#7E7E7E
;
margin-top
:
12px
;
margin-bottom
:
12px
;
}
.item_data
{
}
}
.value_handle
{
.value_handle
{
color
:red
;
color
:red
;
margin-right
:
10px
;
margin-right
:
10px
;
}
.alarmbtn
{
margin-top
:
6px
;
margin-bottom
:
6px
;
}
}
.el-card
:last-child
.text
{
border-bottom
:
none
!
important
;
}
}
}
.text2
{
// display: flex;
padding
:
10px
20px
10px
20px
;
border-bottom
:
1px
solid
#E3E3E3
;
.item_name
,
.item_data
,
.value_handle
{
height
:
16px
;
line-height
:
16px
;
margin-top
:
12px
;
margin-bottom
:
12px
;
}
.item_name
{
width
:
262px
;
height
:
16px
;
line-height
:
16px
;
color
:
#7E7E7E
;
margin-top
:
12px
;
margin-bottom
:
12px
;
}
.item_data
{
}
.value_handle
{
color
:red
;
margin-right
:
10px
;
}
.alarmbtn
{
margin-top
:
6px
;
margin-bottom
:
6px
;
}
.el-card
:last-child
.text
{
border-bottom
:
none
!
important
;
}
}
</
style
>
</
style
>
src/views/history/deviceLinkRepair/index.vue
View file @
2b8449f7
...
@@ -34,11 +34,11 @@
...
@@ -34,11 +34,11 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"netDevice2"
label=
"网元设备"
align=
"center"
>
<el-table-column
prop=
"netDevice2"
label=
"网元设备"
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"repairPerson"
label=
"
网元设备
"
align=
"center"
>
<el-table-column
prop=
"repairPerson"
label=
"
维修人员信息
"
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"linkRepairDate"
prop=
"linkRepairDate"
label=
"
链
接告警维修时间"
label=
"
连
接告警维修时间"
align=
"center"
align=
"center"
/>
/>
...
...
src/views/setting/statistics/index.vue
View file @
2b8449f7
<
template
>
<
template
>
<div
class=
"statistics"
>
<div
class=
"leakage-cable"
>
<div
class=
"header"
>
<el-button-group>
<div
class=
"header-left"
>
<el-button
<el-button-group>
v-for=
"item in tabs"
<el-button
v-for=
"item in tabs"
:key=
"item.key"
:type=
"activeName === item.key ? 'primary' : ''"
@
click=
"changeType(item)"
>
{{
item
.
label
}}
</el-button>
:key=
"item.key"
</el-button-group>
:type=
"activeName === item.key ? 'primary' : ''"
</div>
@
click=
"changeType(item)"
<div
class=
"header-right"
>
>
{{
item
.
label
}}
</el-button
>
</el-button-group>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共10条数据
</div>
<div
class=
"operate-btn"
>
<el-button
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:type=
"multipleSelection.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.length"
:disabled=
"!multipleSelection.length"
@
click=
"delData"
@
click=
"delData"
>
删除
</el-button>
>
删除
</el-button
>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"query"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"query"
>
查询
</el-button>
<el-button
<el-button
type=
"primary"
@
click=
"exportData"
>
导出
</el-button>
type=
"primary"
@
click=
"exportData"
>
导出
</el-button>
</div>
</div>
</div>
</div>
<el-table
<el-table
...
@@ -28,7 +32,12 @@
...
@@ -28,7 +32,12 @@
style=
"width: 100%"
style=
"width: 100%"
:row-class-name=
"tableRowClassName"
:row-class-name=
"tableRowClassName"
:row-style=
"
{ height: '50px' }"
:row-style=
"
{ height: '50px' }"
:header-cell-style="{background:'#eaf1fe',color:'#000', fontWeight: 700, height: '50px'}"
:header-cell-style="{
background: '#eaf1fe',
color: '#000',
fontWeight: 700,
height: '50px',
}"
@selection-change="handleSelectionChange"
@selection-change="handleSelectionChange"
>
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
...
@@ -53,11 +62,9 @@
...
@@ -53,11 +62,9 @@
align=
"center"
align=
"center"
>
>
<template
slot-scope=
"
{ row }">
<template
slot-scope=
"
{ row }">
<el-link
<el-link
type=
"primary"
:underline=
"false"
@
click=
"handleView(row)"
type=
"primary"
>
查看
</el-link
:underline=
"false"
>
@
click=
"handleView(row)"
>
查看
</el-link>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -72,148 +79,169 @@
...
@@ -72,148 +79,169 @@
</template>
</template>
<
script
>
<
script
>
import
Pagination
from
'@/components/Pagination'
import
Pagination
from
"@/components/Pagination"
;
export
default
{
export
default
{
components
:
{
Pagination
},
components
:
{
Pagination
},
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
searchForm
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
,
},
},
total
:
10
,
total
:
10
,
activeName
:
'0'
,
activeName
:
"0"
,
tabs
:
[
tabs
:
[
{
{
label
:
'铁路线'
,
label
:
"铁路线"
,
key
:
'0'
key
:
"0"
,
},
},
{
{
label
:
'站点'
,
label
:
"站点"
,
key
:
'1'
key
:
"1"
,
},
},
{
{
label
:
'FSU'
,
label
:
"FSU"
,
key
:
'2'
key
:
"2"
,
},
},
{
{
label
:
'检测设备'
,
label
:
"检测设备"
,
key
:
'3'
key
:
"3"
,
},
},
{
{
label
:
'漏缆'
,
label
:
"漏缆"
,
key
:
'4'
key
:
"4"
,
},
},
{
{
label
:
'天馈线'
,
label
:
"天馈线"
,
key
:
'5'
key
:
"5"
,
}
}
,
],
],
tableData
:
[
tableData
:
[
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
},
},
{
{
name
:
'张呼铁路客运专线'
,
name
:
"张呼铁路客运专线"
,
start
:
'张家口'
,
start
:
"张家口"
,
end
:
'呼和浩特'
,
end
:
"呼和浩特"
,
long
:
286.8
long
:
286.8
,
}
}
,
],
],
multipleSelection
:
[]
multipleSelection
:
[]
,
}
}
;
},
},
methods
:
{
methods
:
{
tableRowClassName
({
row
,
rowIndex
})
{
tableRowClassName
({
row
,
rowIndex
})
{
return
rowIndex
%
2
===
0
?
''
:
'single-row'
return
rowIndex
%
2
===
0
?
""
:
"single-row"
;
},
},
changeType
(
item
)
{
changeType
(
item
)
{
this
.
activeName
=
item
.
key
this
.
activeName
=
item
.
key
;
},
},
delData
()
{},
delData
()
{},
refresh
()
{},
refresh
()
{},
query
()
{},
query
()
{},
exportData
()
{},
exportData
()
{},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
this
.
multipleSelection
=
val
;
},
},
handleView
()
{},
handleView
()
{},
handlePageChange
(
pageData
)
{
handlePageChange
(
pageData
)
{
this
.
searchForm
.
pageSize
=
pageData
.
size
this
.
searchForm
.
pageSize
=
pageData
.
size
;
this
.
searchForm
.
pageNum
=
pageData
.
page
this
.
searchForm
.
pageNum
=
pageData
.
page
;
}
}
,
}
}
,
}
}
;
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.el-table
th
.el-table__cell
>
.cell
{
.leakage-cable
{
color
:
#747679
;
.leakage-top
{
margin-bottom
:
20px
;
display
:
flex
;
align-items
:
flex-end
;
justify-content
:
space-between
;
}
&
:
:
v-deep
.
cell
{
color
:
#333333
;
}
&
:
:
v-deep
.
stripe
{
background-color
:
#eaf1fe
;
}
&
:
:
v-deep
.
red
{
background-color
:
#f00
;
}
&
:
:
v-deep
.
green
{
background-color
:
green
;
}
.page
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin
:
20px
0
;
.pageNum
{
margin
:
0
20px
;
}
}
}
}
</
style
>
<
style
lang=
"scss"
>
.statistics-table
{
.statistics-table
{
padding-top
:
50px
;
.single-row
{
.single-row
{
background
:
#f1f6ff
;
background
:
#f1f6ff
;
}
}
}
td
{
.statistics
{
padding
:
5px
!
important
;
padding
:
10px
;
.header
{
display
:
flex
;
justify-content
:
space-between
;
.header-right
{
}
}
}
}
}
</
style
>
</
style
>
src/views/user/userList/index.vue
View file @
2b8449f7
<
template
>
<
template
>
<div
>
<div
class=
"leakage-cable"
>
<el-row
class=
"header
"
>
<div
class=
"leakage-top
"
>
<
el-col
:span=
"4"
>
<
div
style=
"color: #666666"
>
共10条数据
</div
>
<div
class=
"message"
>
共
<span>
5
</span>
条数据
</div>
<
/el-col
>
<
div
class=
"operate-btn"
>
<el-col
:span=
"2"
:offset=
"18"
>
<el-button
type=
"primary"
>
添加新用户
</el-button>
<el-button
type=
"primary"
>
添加新用户
</el-button>
</
el-col
>
</
div
>
</
el-row
>
</
div
>
<el-table
<el-table
v-loading=
"loading"
v-loading=
"loading"
:data=
"tableData"
:data=
"tableData"
...
@@ -105,14 +105,34 @@ export default {
...
@@ -105,14 +105,34 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.message
{
.leakage-cable
{
display
:
inline-block
;
.leakage-top
{
margin-top
:
20px
;
margin-bottom
:
20px
;
font-size
:
16px
;
display
:
flex
;
color
:
#666666
;
align-items
:
flex-end
;
}
justify-content
:
space-between
;
.header
{
}
margin-bottom
:
20px
;
&
:
:
v-deep
.
cell
{
color
:
#333333
;
}
&
:
:
v-deep
.
stripe
{
background-color
:
#eaf1fe
;
}
&
:
:
v-deep
.
red
{
background-color
:
#f00
;
}
&
:
:
v-deep
.
green
{
background-color
:
green
;
}
.page
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin
:
20px
0
;
.pageNum
{
margin
:
0
20px
;
}
}
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
...
@@ -124,4 +144,4 @@ export default {
...
@@ -124,4 +144,4 @@ export default {
padding
:
5px
!
important
;
padding
:
5px
!
important
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/user/userLog/index.vue
0 → 100644
View file @
2b8449f7
<
template
>
<!-- 用户操作日志 -->
<div
class=
"leakage-cable"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共6条数据
</div>
<div
class=
"operate-btn"
>
<!--
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:disabled=
"!multipleSelection.length"
>
删除
</el-button
>
-->
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
查询
</el-button>
<el-button
type=
"primary"
>
导出
</el-button>
</div>
</div>
<el-table
:data=
"tableData"
style=
"width: 100%"
:header-cell-style=
"
{ background: '#EAF1FE', color: '#666666' }"
@selection-change="handleSelectionChange"
>
<el-table-column
prop=
"name"
label=
"用户名"
align=
"center"
/>
<el-table-column
prop=
"operatingClass"
label=
"操作类别"
align=
"center"
/>
<el-table-column
prop=
"operatingObject"
label=
"操作对象"
align=
"center"
/>
<el-table-column
prop=
"objectName"
label=
"对象名称"
align=
"center"
/>
<el-table-column
prop=
"operatingContent"
label=
"操作内容"
align=
"center"
/>
<el-table-column
prop=
"operatingeRsult"
label=
"操作结果"
align=
"center"
/>
<el-table-column
prop=
"operatingDate"
label=
"操作时间"
align=
"center"
/>
</el-table>
<pagination
:limit=
"searchForm.pageSize"
:page=
"searchForm.pageNum"
:total=
"total"
class=
"pagination"
@
pagination=
"handlePageChange"
/>
</div>
</
template
>
<
script
>
import
Pagination
from
"@/components/Pagination"
;
export
default
{
props
:
[],
components
:
{
Pagination
,
},
data
()
{
return
{
multipleSelection
:
[],
searchForm
:
{
pageNum
:
1
,
pageSize
:
10
,
},
total
:
10
,
tableData
:
[
{
name
:
"admin"
,
operatingClass
:
"修改"
,
operatingObject
:
"FSU"
,
objectName
:
"FSU_193.168.1.20"
,
operatingContent
:
"修改FSU现场管理单位"
,
operatingeRsult
:
"成功"
,
operatingDate
:
"2022/12/18 11:59:42"
,
},
{
name
:
"admin"
,
operatingClass
:
"告警确认"
,
operatingObject
:
"故障定位设备"
,
objectName
:
"故障定位单位_12"
,
operatingContent
:
"确认连接告警"
,
operatingeRsult
:
"失败"
,
operatingDate
:
"2022/12/18 12:24:15"
,
},
{
name
:
"admin"
,
operatingClass
:
"修改"
,
operatingObject
:
"FSU"
,
objectName
:
"FSU_193.168.1.20"
,
operatingContent
:
"修改FSU现场管理单位"
,
operatingeRsult
:
"成功"
,
operatingDate
:
"2022/12/18 11:59:42"
,
},
{
name
:
"admin"
,
operatingClass
:
"告警确认"
,
operatingObject
:
"故障定位设备"
,
objectName
:
"故障定位单位_12"
,
operatingContent
:
"确认连接告警"
,
operatingeRsult
:
"失败"
,
operatingDate
:
"2022/12/18 12:24:15"
,
},
{
name
:
"admin"
,
operatingClass
:
"修改"
,
operatingObject
:
"FSU"
,
objectName
:
"FSU_193.168.1.20"
,
operatingContent
:
"修改FSU现场管理单位"
,
operatingeRsult
:
"成功"
,
operatingDate
:
"2022/12/18 11:59:42"
,
},
{
name
:
"admin"
,
operatingClass
:
"告警确认"
,
operatingObject
:
"故障定位设备"
,
objectName
:
"故障定位单位_12"
,
operatingContent
:
"确认连接告警"
,
operatingeRsult
:
"失败"
,
operatingDate
:
"2022/12/18 12:24:15"
,
},
],
};
},
computed
:
{},
methods
:
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
handlePageChange
(
pageData
)
{
this
.
searchForm
.
pageSize
=
pageData
.
size
;
this
.
searchForm
.
pageNum
=
pageData
.
page
;
},
},
mounted
()
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.leakage-cable
{
.leakage-top
{
margin-bottom
:
20px
;
display
:
flex
;
align-items
:
flex-end
;
justify-content
:
space-between
;
}
&
:
:
v-deep
.
cell
{
color
:
#333333
;
}
.page
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin
:
20px
0
;
.pageNum
{
margin
:
0
20px
;
}
}
}
</
style
>
\ No newline at end of file
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