Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
dxgaqgl-vue
Commits
817ba19c
Commit
817ba19c
authored
Jun 03, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加模块调整bug
parent
97a6d75d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
10 deletions
+104
-10
index.js
src/router/index.js
+89
-0
index.vue
src/views/dangerManagement/yhznytj/index.vue
+15
-10
No files found.
src/router/index.js
View file @
817ba19c
...
...
@@ -1373,6 +1373,44 @@ export const powerRoutes=[
name
:
'paper'
,
},
/* 查询统计 */
{
path
:
'/cxtj'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
redirect
:
'yhznytj'
,
meta
:
{
title
:
"查询统计"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
907000000
},
children
:
[
/* */
{
component
:
'dangerManagement/cxcqyh/index'
,
hidden
:
false
,
meta
:{
"title"
:
"查询超期隐患记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'907000400'
,
},
name
:
'cxcqyh'
,
path
:
"cxcqyh"
},
{
component
:
'dangerManagement/yhznytj/index'
,
hidden
:
false
,
meta
:{
"title"
:
"安全隐患逐年汇总"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'907000200'
,
},
name
:
'yhznytj'
,
path
:
"yhznytj"
}
]
},
/* 设备管理 */
{
...
...
@@ -1492,6 +1530,57 @@ export const powerRoutes=[
}
]
},
/* 事故管理*/
{
path
:
'/sggl'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
redirect
:
'shlx'
,
meta
:
{
title
:
"事故管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
1912000000
},
children
:
[
/* */
{
component
:
'riskPrecontrol/shlx/index'
,
hidden
:
false
,
meta
:{
"title"
:
"伤害类型维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1912000100
,
},
name
:
'shlx'
,
path
:
"shlx"
},
{
component
:
'riskPrecontrol/maintenanceRisk/index'
,
hidden
:
false
,
meta
:{
"title"
:
"维护风险事件库"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1912000200
,
},
name
:
'maintenanceRisk'
,
path
:
"maintenanceRisk"
},
{
component
:
'riskPrecontrol/queryRisk/index'
,
hidden
:
false
,
meta
:{
"title"
:
"查询风险事件库"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1912000300
,
},
name
:
'queryRisk'
,
path
:
"queryRisk"
},
]
},
/* 外协管理 */
{
path
:
'/outsourcingDirector'
,
...
...
src/views/dangerManagement/yhznytj/index.vue
View file @
817ba19c
...
...
@@ -69,12 +69,17 @@
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
async
mounted
()
{
mounted
()
{
this
.
getYearsToNow
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$nextTick
(()
=>
{
var
yhtjChart
=
document
.
getElementById
(
'yhtjChart'
);
var
inityhtjChart
=
echarts
.
init
(
yhtjChart
);
console
.
log
(
yhtjChart
,
'yhtjChart'
)
var
inityhtjChart
=
this
.
$echarts
.
init
(
yhtjChart
);
this
.
myChart
=
inityhtjChart
this
.
$refs
[
'TablePager'
].
pageQuery
()
})
},
computed
:
{
radio
()
{
...
...
@@ -84,10 +89,10 @@
},
/* 初始额外赋值*/
async
mounted
()
{
this
.
getYearsToNow
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
//
async mounted() {
//
this.$refs['TablePager'].pageQuery()
//
},
data
()
{
return
{
myChart
:{},
...
...
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