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
74446df7
Commit
74446df7
authored
Jul 06, 2022
by
yanzhongrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
6247fcc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
37 deletions
+39
-37
index.js
src/router/index.js
+33
-33
trendAnalysis.vue
src/views/dashboard/components/trendAnalysis.vue
+4
-2
type6.vue
src/views/dashboard/components/type6.vue
+2
-2
No files found.
src/router/index.js
View file @
74446df7
...
...
@@ -153,27 +153,27 @@ export const constantRoutes = [
}
]
},
{
path
:
'/maintain'
,
component
:
Layout
,
redirect
:
'/maintain/oneself'
,
name
:
'Maintain'
,
meta
:
{
title
:
'维护管理'
,
icon
:
'maintain'
},
children
:
[
{
path
:
'oneself'
,
name
:
'MaintainOneself'
,
component
:
()
=>
import
(
'@/views/maintain/oneself/index'
),
meta
:
{
title
:
'设备本身维护'
}
},
{
path
:
'parameter'
,
name
:
'MaintainParameter'
,
component
:
()
=>
import
(
'@/views/maintain/parameter/index'
),
meta
:
{
title
:
'设备告警参数设置'
}
}
]
},
//
{
//
path: '/maintain',
//
component: Layout,
//
redirect: '/maintain/oneself',
//
name: 'Maintain',
//
meta: { title: '维护管理', icon: 'maintain' },
//
children: [
//
{
//
path: 'oneself',
//
name: 'MaintainOneself',
//
component: () => import('@/views/maintain/oneself/index'),
//
meta: { title: '设备本身维护' }
//
},
//
{
//
path: 'parameter',
//
name: 'MaintainParameter',
//
component: () => import('@/views/maintain/parameter/index'),
//
meta: { title: '设备告警参数设置' }
//
}
//
]
//
},
{
path
:
'/history'
,
component
:
Layout
,
...
...
@@ -181,24 +181,24 @@ export const constantRoutes = [
name
:
'History'
,
meta
:
{
title
:
'历史数据'
,
icon
:
'history'
},
children
:
[
{
path
:
'leakyCableStatus'
,
name
:
'leakyCableStatus'
,
component
:
()
=>
import
(
'@/views/history/leakyCableStatus/index.vue'
),
meta
:
{
title
:
'漏缆监测历史状态'
}
},
//
{
//
path: 'leakyCableStatus',
//
name: 'leakyCableStatus',
//
component: () => import('@/views/history/leakyCableStatus/index.vue'),
//
meta: { title: '漏缆监测历史状态' }
//
},
{
path
:
'leakyCableRepair'
,
name
:
'leakyCableRepair'
,
component
:
()
=>
import
(
'@/views/history/leakyCableRepair/index.vue'
),
meta
:
{
title
:
'漏缆监测维修历史'
}
},
{
path
:
'deviceLinkStatus'
,
name
:
'deviceLinkStatus'
,
component
:
()
=>
import
(
'@/views/history/deviceLinkStatus/index.vue'
),
meta
:
{
title
:
'设备连接历史状态'
}
},
//
{
//
path: 'deviceLinkStatus',
//
name: 'deviceLinkStatus',
//
component: () => import('@/views/history/deviceLinkStatus/index.vue'),
//
meta: { title: '设备连接历史状态' }
//
},
{
path
:
'deviceLinkRepair'
,
name
:
'deviceLinkRepair'
,
...
...
src/views/dashboard/components/trendAnalysis.vue
View file @
74446df7
...
...
@@ -69,8 +69,10 @@ export default {
finalyText
()
{
if
(
this
.
$route
.
query
.
name
)
{
return
'趋势分析图形('
+
this
.
$route
.
query
.
name
+
')'
}
else
{
}
else
if
(
this
.
type
==
0
)
{
return
'趋势分析图形('
+
this
.
curInfo
.
baseInfo
.
leakyCableDescribe
+
')'
}
else
{
return
'趋势分析图形('
+
this
.
curInfo
.
baseInfo
.
feederDescribe
+
')'
}
},
isDisableYear
()
{
...
...
@@ -146,7 +148,7 @@ export default {
init
(
type
)
{
let
params
=
{
type
:
this
.
type
,
applyId
:
this
.
selectId
,
applyId
:
this
.
$route
.
query
.
id
?
this
.
$route
.
query
.
id
:
this
.
selectId
,
creationTime
:
this
.
date
==
1
?
this
.
year
+
'-00-00 00:00:00'
:
this
.
year
+
'-'
+
this
.
month
}
if
(
type
==
1
)
{
...
...
src/views/dashboard/components/type6.vue
View file @
74446df7
...
...
@@ -290,7 +290,7 @@
</el-row>
<picAnalysis
:flag=
"curflag"
:curInfo=
"curObj"
@
cancel=
"cancel"
/>
<trendAnalysis
:flag=
"trendflag"
:selectId=
"selectId"
:type=
"type==5 ? 0 : 1"
@
cancel=
"cancel"
/>
<trendAnalysis
:flag=
"trendflag"
:selectId=
"selectId"
:
curInfo=
"curInfo"
:
type=
"type==5 ? 0 : 1"
@
cancel=
"cancel"
/>
</div>
</
template
>
...
...
@@ -345,7 +345,7 @@ export default {
generateChart
()
{
this
.
curObj
=
[]
this
.
curflag
=
1
this
.
curObj
.
push
(
this
.
curInfo
.
baseInfo
.
leakyCable
Describe
)
this
.
curObj
.
push
(
this
.
curInfo
.
baseInfo
.
feeder
Describe
)
},
cancel
()
{
this
.
curflag
=
0
...
...
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