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
fe495c03
Commit
fe495c03
authored
Feb 11, 2022
by
neogcg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loginPage,pagination
parent
824d0878
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
27 additions
and
17 deletions
+27
-17
index.vue
src/components/Pagination/index.vue
+3
-3
index.vue
src/views/alarm/cableTime/index.vue
+1
-1
index.vue
src/views/alarm/device/index.vue
+1
-1
index.vue
src/views/history/deviceLinkRepair/index.vue
+15
-4
index.vue
src/views/history/deviceLinkStatus/index.vue
+1
-1
index.vue
src/views/history/leakyCableRepair/index.vue
+1
-1
index.vue
src/views/history/leakyCableStatus/index.vue
+0
-1
equipment.vue
src/views/monitor/equipment.vue
+1
-1
leakageCable.vue
src/views/monitor/leakageCable.vue
+1
-1
index.vue
src/views/setting/statistics/index.vue
+1
-1
index.vue
src/views/user/userList/index.vue
+1
-1
index.vue
src/views/user/userLog/index.vue
+1
-1
No files found.
src/components/Pagination/index.vue
View file @
fe495c03
<
template
>
<
template
>
<div
class=
"pagination-wraper"
>
<div
class=
"pagination-wraper"
>
<el-pagination
<el-pagination
background
layout=
"
prev, pager, next
"
layout=
"
total, sizes, prev, pager, next, jumper
"
prev-text=
"上一页"
prev-text=
"上一页"
next-text=
"下一页"
next-text=
"下一页"
:total=
"total"
:total=
"total"
...
@@ -34,7 +34,7 @@ export default {
...
@@ -34,7 +34,7 @@ export default {
pageSizes
:
{
pageSizes
:
{
type
:
Array
,
type
:
Array
,
default
()
{
default
()
{
return
[
5
,
10
,
20
,
30
]
return
[
5
,
10
,
20
,
30
,
40
,
50
]
}
}
}
}
},
},
...
...
src/views/alarm/cableTime/index.vue
View file @
fe495c03
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
</el-button-group>
</el-button-group>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
<div
style=
"color: #666666"
>
共5条数据
</div>
</div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
刷新
</el-button>
...
...
src/views/alarm/device/index.vue
View file @
fe495c03
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</el-button-group>
</el-button-group>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共6条数据
</div>
<div
style=
"color: #666666"
></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>
...
...
src/views/history/deviceLinkRepair/index.vue
View file @
fe495c03
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<!-- 设备连接维修历史 -->
<!-- 设备连接维修历史 -->
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共14条数据
</div>
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:type=
"multipleSelection.length ? 'primary' : 'info'"
...
@@ -43,14 +43,14 @@
...
@@ -43,14 +43,14 @@
align=
"center"
align=
"center"
/>
/>
</el-table>
</el-table>
<
p
agination
<
P
agination
:limit=
"searchForm.pageSize"
:limit=
"searchForm.pageSize"
:page=
"searchForm.pageNum"
:page=
"searchForm.pageNum"
:total=
"total"
:total=
"total"
class=
"pagination"
class=
"pagination"
@
pagination=
"handlePageChange"
@
pagination=
"handlePageChange"
>
>
</
p
agination>
</
P
agination>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -66,6 +66,7 @@ export default {
...
@@ -66,6 +66,7 @@ export default {
pageSize
:
10
,
pageSize
:
10
,
},
},
total
:
10
,
total
:
10
,
tableData2
:[],
tableData
:
[
tableData
:
[
{
{
netDevice
:
"监控中心LSC"
,
netDevice
:
"监控中心LSC"
,
...
@@ -176,7 +177,15 @@ export default {
...
@@ -176,7 +177,15 @@ export default {
handlePageChange
(
pageData
)
{
handlePageChange
(
pageData
)
{
this
.
searchForm
.
pageSize
=
pageData
.
size
;
this
.
searchForm
.
pageSize
=
pageData
.
size
;
this
.
searchForm
.
pageNum
=
pageData
.
page
;
this
.
searchForm
.
pageNum
=
pageData
.
page
;
this
.
getTableData
()
},
},
// getTableData() {
// this.tableData2 = this.tableData.slice((this.currentPage - 1) * this.pageSize,
// this.currentPage * this.pageSize
// );
// this.total = this.tableData.length
// },
cellClassFn
({
row
,
column
,
rowIndex
,
columnIndex
})
{
cellClassFn
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
row
.
linkStatus
==
"连接异常"
&&
column
.
label
==
"连接状态"
)
{
if
(
row
.
linkStatus
==
"连接异常"
&&
column
.
label
==
"连接状态"
)
{
return
"emergency"
;
return
"emergency"
;
...
@@ -188,7 +197,9 @@ export default {
...
@@ -188,7 +197,9 @@ export default {
}
}
},
},
},
},
mounted
()
{},
mounted
()
{
// this.getTableData()
},
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
src/views/history/deviceLinkStatus/index.vue
View file @
fe495c03
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<!-- 设备连接状态 -->
<!-- 设备连接状态 -->
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共14条数据
</div>
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:type=
"multipleSelection.length ? 'primary' : 'info'"
...
...
src/views/history/leakyCableRepair/index.vue
View file @
fe495c03
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<!-- 设备维护历史 -->
<!-- 设备维护历史 -->
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共8条数据
</div>
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:type=
"multipleSelection.length ? 'primary' : 'info'"
...
...
src/views/history/leakyCableStatus/index.vue
View file @
fe495c03
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
<div
style=
"color: #666666"
>
共6条数据
</div>
</div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
<el-button
...
...
src/views/monitor/equipment.vue
View file @
fe495c03
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div>
<div>
共6条数据
</div>
</div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
刷新
</el-button>
...
...
src/views/monitor/leakageCable.vue
View file @
fe495c03
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
<div
style=
"color: #666666"
>
共6条数据
</div>
</div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
type=
"primary"
>
刷新
</el-button>
<el-button
type=
"primary"
>
刷新
</el-button>
...
...
src/views/setting/statistics/index.vue
View file @
fe495c03
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
>
>
</el-button-group>
</el-button-group>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共10条数据
</div>
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
<el-button
...
...
src/views/user/userList/index.vue
View file @
fe495c03
<
template
>
<
template
>
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共10条数据
</div>
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
...
...
src/views/user/userLog/index.vue
View file @
fe495c03
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!-- 用户操作日志 -->
<!-- 用户操作日志 -->
<div
class=
"leakage-cable"
>
<div
class=
"leakage-cable"
>
<div
class=
"leakage-top"
>
<div
class=
"leakage-top"
>
<div
style=
"color: #666666"
>
共6条数据
</div>
<div
style=
"color: #666666"
></div>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<!--
<el-button
<!--
<el-button
:type=
"multipleSelection.length ? 'primary' : 'info'"
:type=
"multipleSelection.length ? 'primary' : 'info'"
...
...
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