Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
Commits
16b89931
Commit
16b89931
authored
Aug 09, 2021
by
yaqizhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据检测实时数据详情页
parent
d5f664c5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2037 additions
and
2 deletions
+2037
-2
index.js
gassafety-web/src/router/index.js
+52
-0
index.vue
...afety-web/src/views/dataMonitoring/realtimeData/index.vue
+16
-0
realtimedetail.vue
.../src/views/dataMonitoring/realtimeData/realtimedetail.vue
+976
-0
index.vue
gassafety-web/src/views/dataMonitoring/reportData/index.vue
+17
-2
reportdetail.vue
...-web/src/views/dataMonitoring/reportData/reportdetail.vue
+976
-0
No files found.
gassafety-web/src/router/index.js
View file @
16b89931
...
...
@@ -184,6 +184,58 @@ export const constantRoutes = [
}
]
},
{
path
:
'/realtimeData'
,
component
:
Layout
,
hidden
:
true
,
children
:
[
{
path
:
'realtimedetail'
,
component
:
(
resolve
)
=>
require
([
'@/views/dataMonitoring/realtimeData/realtimedetail'
],
resolve
),
name
:
'realtimeData-realtimedetail'
,
meta
:
{
title
:
'详情'
}
}
],
},
{
path
:
'/realtimeData'
,
component
:
Layout
,
hidden
:
true
,
children
:
[
{
path
:
'index'
,
component
:
(
resolve
)
=>
require
([
'@/views/dataMonitoring/realtimeData/index'
],
resolve
),
name
:
'index'
,
meta
:
{
title
:
'返回'
}
}
]
},
{
path
:
'/reportData'
,
component
:
Layout
,
hidden
:
true
,
children
:
[
{
path
:
'reportdetail'
,
component
:
(
resolve
)
=>
require
([
'@/views/dataMonitoring/reportData/reportdetail'
],
resolve
),
name
:
'reportData-reportdetail'
,
meta
:
{
title
:
'详情'
}
}
],
},
{
path
:
'/reportData'
,
component
:
Layout
,
hidden
:
true
,
children
:
[
{
path
:
'index'
,
component
:
(
resolve
)
=>
require
([
'@/views/dataMonitoring/reportData/index'
],
resolve
),
name
:
'index'
,
meta
:
{
title
:
'返回'
}
}
]
},
{
path
:
'/gen'
,
component
:
Layout
,
...
...
gassafety-web/src/views/dataMonitoring/realtimeData/index.vue
View file @
16b89931
...
...
@@ -178,6 +178,13 @@
@
click
=
"handleDelete(scope.row)"
v
-
hasPermi
=
"['system:data:remove']"
>
删除
<
/el-button
>
<
el
-
button
size
=
"mini"
type
=
"text"
icon
=
"el-icon-edit"
@
click
=
"showDetail(scope.row)"
v
-
hasPermi
=
"['system:data:export']"
>
详情
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
...
...
@@ -386,6 +393,15 @@ export default {
}
}
);
}
,
//详情按钮
showDetail
(
row
)
{
this
.
$router
.
push
({
path
:
'/realtimeData/realtimedetail'
,
query
:{
orderId
:
row
.
orderId
}
}
)
//带参跳转
}
,
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
deviceReportDataIds
=
row
.
deviceReportDataId
||
this
.
ids
;
...
...
gassafety-web/src/views/dataMonitoring/realtimeData/realtimedetail.vue
0 → 100644
View file @
16b89931
This diff is collapsed.
Click to expand it.
gassafety-web/src/views/dataMonitoring/reportData/index.vue
View file @
16b89931
...
...
@@ -162,7 +162,7 @@
<
/el-table-column
>
<
el
-
table
-
column
label
=
"通讯状态"
align
=
"center"
prop
=
"communicationStatus"
/>
<
el
-
table
-
column
label
=
"设备状态"
align
=
"center"
prop
=
"deviceStatus"
/>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
!--
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
size
=
"mini"
...
...
@@ -178,8 +178,14 @@
@
click
=
"handleDelete(scope.row)"
v
-
hasPermi
=
"['system:data:remove']"
>
删除
<
/el-button
>
<
el
-
button
size
=
"mini"
type
=
"text"
icon
=
"el-icon-edit"
@
click
=
"showDetail(scope.row)"
>
详情
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table-column>
--
>
<
/el-table
>
<
pagination
...
...
@@ -366,6 +372,15 @@ export default {
this
.
title
=
"修改设备监控"
;
}
);
}
,
/** 工单详细信息跳转 */
showDetail
(
row
)
{
this
.
$router
.
push
({
path
:
'/reportData/reportdetail'
,
query
:{
orderId
:
row
.
orderId
}
}
)
//带参跳转
}
,
/** 提交按钮 */
submitForm
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
...
...
gassafety-web/src/views/dataMonitoring/reportData/reportdetail.vue
0 → 100644
View file @
16b89931
This diff is collapsed.
Click to expand it.
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