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
0a438959
Commit
0a438959
authored
Mar 01, 2022
by
neogcg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.1
parent
3ade77ab
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
90 additions
and
76 deletions
+90
-76
fsuTable.vue
src/views/setting/statistics/comp/fsuTable.vue
+7
-1
leakyTable.vue
src/views/setting/statistics/comp/leakyTable.vue
+7
-1
monitorTable.vue
src/views/setting/statistics/comp/monitorTable.vue
+7
-1
railWayTable.vue
src/views/setting/statistics/comp/railWayTable.vue
+62
-72
stationTable.vue
src/views/setting/statistics/comp/stationTable.vue
+7
-1
No files found.
src/views/setting/statistics/comp/fsuTable.vue
View file @
0a438959
...
...
@@ -319,7 +319,13 @@ export default {
},
handleView
(
row
)
{
this
.
$router
.
push
({
path
:
'/'
,
query
:{
id
:
row
.
id
}
})
let
id
=
row
.
id
;
fsudetail
({
id
}).
then
((
res
)
=>
{
this
.
Info
=
res
...
...
src/views/setting/statistics/comp/leakyTable.vue
View file @
0a438959
...
...
@@ -164,7 +164,13 @@ export default {
},
handleView
(
row
)
{
this
.
$router
.
push
({
path
:
'/'
,
query
:{
id
:
row
.
id
}
})
let
id
=
row
.
id
;
leakyCabledetail
({
id
}).
then
((
res
)
=>
{
...
...
src/views/setting/statistics/comp/monitorTable.vue
View file @
0a438959
...
...
@@ -161,7 +161,13 @@ export default {
},
handleView
(
row
)
{
this
.
$router
.
push
({
path
:
'/'
,
query
:{
id
:
row
.
id
}
})
let
id
=
row
.
id
;
monitorEquipdetail
({
id
}).
then
((
res
)
=>
{
...
...
src/views/setting/statistics/comp/railWayTable.vue
View file @
0a438959
...
...
@@ -63,62 +63,53 @@
</
template
>
</el-table-column>
</el-table>
<el-dialog
:showClose=
"false"
title=
"铁路线详情"
:visible
.
sync=
"visible"
width=
"500px"
>
<table
style=
"margin: auto"
class=
"device-detail-tb"
>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label
>
铁路名:
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.name"
></label>
</td>
</tr>
<el-dialog
:showClose=
"false"
title=
"铁路线详情"
:visible
.
sync=
"visible"
width=
"500px"
>
<table
style=
"margin: auto"
class=
"device-detail-tb"
>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label>
铁路名:
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.name"
></label>
</td>
</tr>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label
>
铁路线起点站名:
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.startPointName"
></label>
</td>
</tr>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label
>
铁路线终点站名:
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.endPointName"
></label>
</td>
</tr>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label
>
铁路全长(公里):
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.totalLong"
></label>
</td>
</tr>
</table>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"visible=false"
>
关闭
</el-button
></span>
</el-dialog>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label>
铁路线起点站名:
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.startPointName"
></label>
</td>
</tr>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label>
铁路线终点站名:
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.endPointName"
></label>
</td>
</tr>
<tr
style=
"line-height: 50px"
>
<td
style=
"width: 145px"
>
<label>
铁路全长(公里):
</label>
</td>
<td
style=
"width: 180px; text-align: left"
>
<label
v-text=
"Info.totalLong"
></label>
</td>
</tr>
</table>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"visible = false"
>
关闭
</el-button
></span
>
</el-dialog>
<pagination
:limit=
"params.pageSize"
:page=
"params.pageNum"
...
...
@@ -131,14 +122,14 @@
<
script
>
import
Pagination
from
"@/components/Pagination"
;
import
{
railWaylist
,
railWaybatchDelete
,
railWaydetail
}
from
"../../api"
;
import
{
successAlert
,
warningAlert
}
from
"@/utils/alert"
;
import
{
successAlert
,
warningAlert
}
from
"@/utils/alert"
;
export
default
{
props
:
[],
components
:
{
Pagination
},
data
()
{
return
{
visible
:
false
,
Info
:[],
visible
:
false
,
Info
:
[],
tableData
:
[],
params
:
{
pageNum
:
1
,
...
...
@@ -151,7 +142,6 @@ export default {
},
computed
:
{},
methods
:
{
tableRowClassName
({
row
,
rowIndex
})
{
return
rowIndex
%
2
===
0
?
""
:
"single-row"
;
},
...
...
@@ -161,14 +151,13 @@ export default {
delData
()
{
let
ids
=
this
.
ids
;
railWaybatchDelete
({
ids
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
successAlert
(
"删除成功"
);
this
.
getTableData
();
}
else
{
warningAlert
(
"删除失败"
)
this
.
getTableData
();
}
else
{
warningAlert
(
"删除失败"
)
;
}
});
},
refresh
()
{
this
.
getTableData
();
...
...
@@ -182,13 +171,17 @@ export default {
},
handleView
(
row
)
{
this
.
$router
.
push
({
path
:
'/'
,
query
:{
id
:
row
.
id
}
})
let
id
=
row
.
id
;
railWaydetail
({
id
}).
then
((
res
)
=>
{
console
.
log
(
res
);
// this.$router.push('/')
// this.visible=true
this
.
Info
=
res
console
.
log
(
this
.
Info
);
this
.
Info
=
res
;
});
},
handlePageChange
(
pageData
)
{
...
...
@@ -197,10 +190,7 @@ export default {
this
.
getTableData
();
},
getTableData
()
{
// this.tableData2 = this.tableData.slice(( this.params.pageNum - 1) * this.params.pageSize,
// this.params.pageNum * this.params.pageSize
// );
// this.total = this.tableData.length
let
params
=
{
current
:
this
.
params
.
pageNum
,
size
:
this
.
params
.
pageSize
,
...
...
src/views/setting/statistics/comp/stationTable.vue
View file @
0a438959
...
...
@@ -260,7 +260,13 @@ export default {
},
handleView
(
row
)
{
this
.
$router
.
push
({
path
:
'/'
,
query
:{
id
:
row
.
id
}
})
let
id
=
row
.
id
;
sitedetail
({
id
}).
then
((
res
)
=>
{
this
.
Info
=
res
...
...
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