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
30dc20ae
Commit
30dc20ae
authored
Jun 20, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5d5e8b02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1618 additions
and
1468 deletions
+1618
-1468
index.js
src/router/index.js
+1618
-1468
No files found.
src/router/index.js
View file @
30dc20ae
...
...
@@ -27,8 +27,7 @@ import Layout from '@/layout'
activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。
}
*/
export
const
powerRoutes
=
[
{
export
const
powerRoutes
=
[{
path
:
'/system'
,
component
:
"Layout"
,
hidden
:
false
,
...
...
@@ -691,117 +690,137 @@ export const powerRoutes=[
{
path
:
'/basicData'
,
component
:
"Layout"
,
component
:
"Layout"
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'organizationalManagement'
,
meta
:
{
title
:
"基础数据"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
901000000
},
meta
:
{
title
:
"基础数据"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
901000000
},
children
:
[
/* end*/
{
component
:
'basicData/organizationalManagement/index'
,
hidden
:
false
,
meta
:
{
component
:
'basicData/organizationalManagement/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"组织管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
901000200
,
"mkid"
:
901000200
,
},
name
:
'organizationalManagement'
,
path
:
"organizationalManagement"
name
:
'organizationalManagement'
,
path
:
"organizationalManagement"
},
{
component
:
'basicData/scgw/index'
,
hidden
:
false
,
meta
:{
component
:
'basicData/scgw/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"岗位管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
901000300
,
"mkid"
:
901000300
,
},
name
:
'scgw'
,
path
:
"scgw"
name
:
'scgw'
,
path
:
"scgw"
},
{
component
:
'basicData/logQuery/index'
,
hidden
:
false
,
meta
:{
component
:
'basicData/logQuery/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"登录日志查询"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'901000920'
,
"mkid"
:
'901000920'
,
},
name
:
'logQuery'
,
path
:
"logQuery"
name
:
'logQuery'
,
path
:
"logQuery"
},
{
component
:
'basicData/announcementManagement/index'
,
hidden
:
false
,
meta
:
{
component
:
'basicData/announcementManagement/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"公告管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
901000400
,
"mkid"
:
901000400
,
},
name
:
'announcementManagement'
,
path
:
"announcementManagement"
name
:
'announcementManagement'
,
path
:
"announcementManagement"
},
{
component
:
'basicData/ryq/index'
,
hidden
:
false
,
meta
:{
component
:
'basicData/ryq/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"荣誉墙"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
901000900
,
"mkid"
:
901000900
,
},
name
:
'ryq'
,
path
:
"ryq"
name
:
'ryq'
,
path
:
"ryq"
},
{
component
:
'basicData/mlvh/index'
,
hidden
:
false
,
meta
:
{
component
:
'basicData/mlvh/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"目录维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
901000500
,
"mkid"
:
901000500
,
},
name
:
'mlvh'
,
path
:
"mlvh"
name
:
'mlvh'
,
path
:
"mlvh"
},
{
component
:
'basicData/securityDocumentManagement/index'
,
hidden
:
false
,
meta
:
{
component
:
'basicData/securityDocumentManagement/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全文档管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
901000600
,
"mkid"
:
901000600
,
},
name
:
'securityDocumentManagement'
,
path
:
"securityDocumentManagement"
},
name
:
'securityDocumentManagement'
,
path
:
"securityDocumentManagement"
/* 目录维护 */
/* {
component: 'basicData/bzwdmlwh/index',
hidden: false,
meta: {
"title": "标准作业文档管理目录维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000750,
},
name: 'bzwdmlwh',
path: "bzwdmlwh"
}, */
{
component
:
'basicData/operationDcManagement/index'
,
hidden
:
false
,
meta
:
{
component
:
'basicData/operationDcManagement/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"标准作业文档管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
901000800
,
"mkid"
:
901000800
,
},
name
:
'operationDcManagement'
,
path
:
"operationDcManagement"
name
:
'operationDcManagement'
,
path
:
"operationDcManagement"
}
]
},
...
...
@@ -810,57 +829,68 @@ export const powerRoutes=[
erpComponent
:
true
,
component
:
'template/index'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'scyfjz'
,
meta
:
{
title
:
"双重预防机制"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
999000007
}
meta
:
{
title
:
"双重预防机制"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
999000007
}
},
/* 重点工作管理*/
{
path
:
'/zdgzgl'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'zdgzap'
,
meta
:
{
title
:
"重点工作管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
910000000
},
children
:
[
{
component
:
'daily/zdgzap/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"重点工作管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
910000000
},
children
:
[{
component
:
'daily/zdgzap/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"重点工作安排"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
910000100
,
"mkid"
:
910000100
,
},
name
:
'zdgzap'
,
path
:
"zdgzap"
name
:
'zdgzap'
,
path
:
"zdgzap"
},
{
component
:
'daily/zdgzrw/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/zdgzrw/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"重点工作任务"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
910000200
,
"mkid"
:
910000200
,
},
name
:
'zdgzrw'
,
path
:
"zdgzrw"
name
:
'zdgzrw'
,
path
:
"zdgzrw"
},
{
component
:
'daily/zdgzrwfk/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/zdgzrwfk/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"重点工作任务反馈"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
910000300
,
"mkid"
:
910000300
,
},
name
:
'zdgzrwfk'
,
path
:
"zdgzrwfk"
name
:
'zdgzrwfk'
,
path
:
"zdgzrwfk"
}
]
},
...
...
@@ -870,113 +900,118 @@ export const powerRoutes=[
erpComponent
:
true
,
component
:
'template/index'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'screeningCriteria'
,
meta
:
{
title
:
"风险预控"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
902000000
},
children
:
[
{
component
:
'riskPrecontrol/screeningCriteria/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"风险预控"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
902000000
},
children
:
[{
component
:
'riskPrecontrol/screeningCriteria/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"风险点维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
902000200
,
"mkid"
:
902000200
,
},
name
:
'screeningCriteria'
,
path
:
"screeningCriteria"
name
:
'screeningCriteria'
,
path
:
"screeningCriteria"
},
{
component
:
'riskPrecontrol/riskSet/index'
,
hidden
:
false
,
meta
:{
component
:
'riskPrecontrol/riskSet/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"风险排查设置"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
902000300
,
"mkid"
:
902000300
,
},
name
:
'riskSet'
,
path
:
"riskSet"
name
:
'riskSet'
,
path
:
"riskSet"
},
{
component
:
'riskPrecontrol/maintenanceRiskTask/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/maintenanceRiskTask/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"维护风险排查任务"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
902000400
,
"mkid"
:
902000400
,
},
name
:
'maintenanceRiskTask'
,
path
:
"maintenanceRiskTask"
name
:
'maintenanceRiskTask'
,
path
:
"maintenanceRiskTask"
},
{
component
:
'riskPrecontrol/queryRiskTask/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/queryRiskTask/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"查询风险排查任务"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'902000500'
,
"mkid"
:
'902000500'
,
},
name
:
'queryRiskTask'
,
path
:
"queryRiskTask"
name
:
'queryRiskTask'
,
path
:
"queryRiskTask"
},
{
component
:
'riskPrecontrol/riskAnalysis/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/riskAnalysis/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"风险排查综合分析"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
902000600
,
"mkid"
:
902000600
,
},
name
:
'riskAnalysis'
,
path
:
"riskAnalysis"
name
:
'riskAnalysis'
,
path
:
"riskAnalysis"
},
{
component
:
'riskPrecontrol/shlx/index'
,
hidden
:
false
,
meta
:{
component
:
'riskPrecontrol/shlx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"伤害类型维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
902000700
,
"mkid"
:
902000700
,
},
name
:
'shlx'
,
path
:
"shlx"
name
:
'shlx'
,
path
:
"shlx"
},
{
component
:
'riskPrecontrol/maintenanceRisk/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/maintenanceRisk/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"维护风险事件库"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
902000800
,
"mkid"
:
902000800
,
},
name
:
'maintenanceRisk'
,
path
:
"maintenanceRisk"
name
:
'maintenanceRisk'
,
path
:
"maintenanceRisk"
},
{
component
:
'riskPrecontrol/queryRisk/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/queryRisk/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"查询风险事件库"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
902001000
,
"mkid"
:
902001000
,
},
name
:
'queryRisk'
,
path
:
"queryRisk"
name
:
'queryRisk'
,
path
:
"queryRisk"
},
]
...
...
@@ -987,22 +1022,27 @@ export const powerRoutes=[
erpComponent
:
true
,
component
:
'template/index'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'maintenanceDg'
,
meta
:
{
title
:
"隐患管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
903000000
},
children
:
[
{
component
:
'dangerManagement/yhfl/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"隐患管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
903000000
},
children
:
[{
component
:
'dangerManagement/yhfl/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"隐患分类"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
903000100
,
"mkid"
:
903000100
,
},
name
:
'yhfl'
,
path
:
"yhfl"
name
:
'yhfl'
,
path
:
"yhfl"
},
/* {
component:'dangerManagement/yhbzfl/index',
...
...
@@ -1031,123 +1071,123 @@ export const powerRoutes=[
path:"maintenanceDg"
},*/
{
component
:
'dangerManagement/enterSafetyRecords/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/enterSafetyRecords/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"录入安全隐患记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
903000400
,
"mkid"
:
903000400
,
},
name
:
'enterSafetyRecords'
,
path
:
"enterSafetyRecords"
name
:
'enterSafetyRecords'
,
path
:
"enterSafetyRecords"
},
{
component
:
'dangerManagement/safetyDisposalRecord/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/safetyDisposalRecord/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"隐患责任分配"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
903000600
,
"mkid"
:
903000600
,
},
name
:
'safetyDisposalRecord'
,
path
:
"safetyDisposalRecord"
name
:
'safetyDisposalRecord'
,
path
:
"safetyDisposalRecord"
},
{
component
:
'dangerManagement/dangerRectificationRecord/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/dangerRectificationRecord/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"隐患整改"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
903000800
,
"mkid"
:
903000800
,
},
name
:
'dangerRectificationRecord'
,
path
:
"dangerRectificationRecord"
name
:
'dangerRectificationRecord'
,
path
:
"dangerRectificationRecord"
},
/* 10 13*/
{
component
:
'dangerManagement/dangerReviewRecord/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/dangerReviewRecord/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"隐患复查"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
903001000
,
"mkid"
:
903001000
,
},
name
:
'dangerReviewRecord'
,
path
:
"dangerReviewRecord"
name
:
'dangerReviewRecord'
,
path
:
"dangerReviewRecord"
},
{
component
:
'dangerManagement/queryDangerRecords/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/queryDangerRecords/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"查询安全隐患记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
903001200
,
"mkid"
:
903001200
,
},
name
:
'queryDangerRecords'
,
path
:
"queryDangerRecords"
name
:
'queryDangerRecords'
,
path
:
"queryDangerRecords"
},
{
component
:
'dangerManagement/yhtj/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/yhtj/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"风险点隐患统计"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
903001400
,
"mkid"
:
903001400
,
},
name
:
'yhtj'
,
path
:
"yhtj"
name
:
'yhtj'
,
path
:
"yhtj"
},
{
component
:
'dangerManagement/cxcqyh/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/cxcqyh/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"查询超期隐患记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'903001500'
,
"mkid"
:
'903001500'
,
},
name
:
'cxcqyh'
,
path
:
"cxcqyh"
name
:
'cxcqyh'
,
path
:
"cxcqyh"
},
{
component
:
'dangerManagement/yhznytj/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/yhznytj/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全隐患逐年汇总"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'903001600'
,
"mkid"
:
'903001600'
,
},
name
:
'yhznytj'
,
path
:
"yhznytj"
name
:
'yhznytj'
,
path
:
"yhznytj"
},
{
component
:
'dangerManagement/yhslhz/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/yhslhz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"隐患数量汇总"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'903001700'
,
"mkid"
:
'903001700'
,
},
name
:
'yhslhz'
,
path
:
"yhslhz"
name
:
'yhslhz'
,
path
:
"yhslhz"
}
]
},
...
...
@@ -1156,9 +1196,15 @@ export const powerRoutes=[
path
:
'/threeViolations'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'maintainTV'
,
meta
:
{
title
:
"三违管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
904000000
},
meta
:
{
title
:
"三违管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
904000000
},
children
:
[
// {
// component:'threeViolations/homePage/oldIndex',
...
...
@@ -1174,82 +1220,82 @@ export const powerRoutes=[
// path:"homePage"
// },
{
component
:
'threeViolations/maintainTV/index'
,
hidden
:
false
,
meta
:
{
component
:
'threeViolations/maintainTV/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"维护三违处罚标准"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904000200
,
"mkid"
:
904000200
,
},
name
:
'maintainTV'
,
path
:
"maintainTV"
name
:
'maintainTV'
,
path
:
"maintainTV"
},
{
component
:
'threeViolations/enterTV/index'
,
hidden
:
false
,
meta
:
{
component
:
'threeViolations/enterTV/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"录入三违情况记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904000400
,
"mkid"
:
904000400
,
},
name
:
'enterTV'
,
path
:
"enterTV"
name
:
'enterTV'
,
path
:
"enterTV"
},
{
component
:
'threeViolations/tFPasses/index'
,
hidden
:
false
,
meta
:
{
component
:
'threeViolations/tFPasses/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"三违过五关"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904000600
,
"mkid"
:
904000600
,
},
name
:
'tFPasses'
,
path
:
"tFPasses"
name
:
'tFPasses'
,
path
:
"tFPasses"
},
{
component
:
'threeViolations/correctTV/index'
,
hidden
:
false
,
meta
:
{
component
:
'threeViolations/correctTV/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"三违行为纠正"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904000800
,
"mkid"
:
904000800
,
},
name
:
'correctTV'
,
path
:
"correctTV"
name
:
'correctTV'
,
path
:
"correctTV"
},
{
component
:
'threeViolations/queryRecords/index'
,
hidden
:
false
,
meta
:
{
component
:
'threeViolations/queryRecords/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"查询人员三违记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904001000
,
"mkid"
:
904001000
,
},
name
:
'queryRecords'
,
path
:
"queryRecords"
name
:
'queryRecords'
,
path
:
"queryRecords"
},
{
component
:
'threeViolations/punishmentRecord/index'
,
hidden
:
false
,
meta
:
{
component
:
'threeViolations/punishmentRecord/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全处罚记录管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904001200
,
"mkid"
:
904001200
,
},
name
:
'punishmentRecord'
,
path
:
"punishmentRecord"
name
:
'punishmentRecord'
,
path
:
"punishmentRecord"
}
]
},
...
...
@@ -1259,48 +1305,53 @@ export const powerRoutes=[
path
:
'/contingency'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'contingencyManager'
,
meta
:
{
title
:
"应急管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
904100000
},
children
:
[
{
component
:
'contingency/contingencyManager/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"应急管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
904100000
},
children
:
[{
component
:
'contingency/contingencyManager/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"应急预案管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904100200
,
"mkid"
:
904100200
,
},
name
:
'contingencyManager'
,
path
:
"contingencyManager"
name
:
'contingencyManager'
,
path
:
"contingencyManager"
},
{
component
:
'contingency/contingencyplan/index'
,
hidden
:
false
,
meta
:{
component
:
'contingency/contingencyplan/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"应急演练计划"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904100400
,
"mkid"
:
904100400
,
},
name
:
'contingencyplan'
,
path
:
"contingencyplan"
name
:
'contingencyplan'
,
path
:
"contingencyplan"
},
{
component
:
'contingency/contingencystudy/index'
,
hidden
:
false
,
meta
:{
component
:
'contingency/contingencystudy/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"应急演练"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904100600
,
"mkid"
:
904100600
,
},
name
:
'contingencystudy'
,
path
:
"contingencystudy"
name
:
'contingencystudy'
,
path
:
"contingencystudy"
}
]
},
...
...
@@ -1310,48 +1361,53 @@ export const powerRoutes=[
path
:
'/safetyactivity'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'activityRecord'
,
meta
:
{
title
:
"安全活动"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
904400000
},
children
:
[
{
component
:
'safetyactivity/activityRecord/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"安全活动"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
904400000
},
children
:
[{
component
:
'safetyactivity/activityRecord/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"维护安全活动记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904400200
,
"mkid"
:
904400200
,
},
name
:
'activityRecord'
,
path
:
"activityRecord"
name
:
'activityRecord'
,
path
:
"activityRecord"
},
{
component
:
'safetyactivity/aqhdzxgz/index'
,
hidden
:
false
,
meta
:
{
component
:
'safetyactivity/aqhdzxgz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全活动执行跟踪"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904400400
,
"mkid"
:
904400400
,
},
name
:
'aqhdzxgz'
,
path
:
"aqhdzxgz"
name
:
'aqhdzxgz'
,
path
:
"aqhdzxgz"
},
{
component
:
'safetyactivity/bzhzy/index'
,
hidden
:
false
,
meta
:{
component
:
'safetyactivity/bzhzy/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"标准化作业"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
904400500
,
"mkid"
:
904400500
,
},
name
:
'bzhzy'
,
path
:
"bzhzy"
name
:
'bzhzy'
,
path
:
"bzhzy"
}
]
},
...
...
@@ -1360,138 +1416,148 @@ export const powerRoutes=[
path
:
'/dailya'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'zsfl'
,
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905010000
},
children
:
[
{
component
:
'daily/zsfl/index'
,
hidden
:
false
,
meta
:{
"title"
:
"证书分类"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905000500
,
},
name
:
'zsfl'
,
path
:
"zsfl"
},
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905010000
},
children
:
[{
component
:
'daily/zsfl/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"证书分类"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905000500
,
},
name
:
'zsfl'
,
path
:
"zsfl"
},
{
component
:
'daily/holdCertificate/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/holdCertificate/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"职工持证信息管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905000600
,
"mkid"
:
905000600
,
},
name
:
'holdCertificate'
,
path
:
"holdCertificate"
name
:
'holdCertificate'
,
path
:
"holdCertificate"
},
/* 5.21新增*/
{
component
:
'daily/zyfzr/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/zyfzr/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"主要负责人"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905000700
,
"mkid"
:
905000700
,
},
name
:
'zyfzr'
,
path
:
"zyfzr"
name
:
'zyfzr'
,
path
:
"zyfzr"
},
{
component
:
'daily/aqglry/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/aqglry/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全管理人员"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905000800
,
"mkid"
:
905000800
,
},
name
:
'aqglry'
,
path
:
"aqglry"
name
:
'aqglry'
,
path
:
"aqglry"
},
{
component
:
'daily/tzzyry/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/tzzyry/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"特种作业人员"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905000900
,
"mkid"
:
905000900
,
},
name
:
'tzzyry'
,
path
:
"tzzyry"
name
:
'tzzyry'
,
path
:
"tzzyry"
}
]
},
/*非常规作业*/
/*非常规作业*/
{
path
:
'/dailyb'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'nrtm'
,
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905100000
},
children
:
[
{
component
:
'daily/nrtm/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905100000
},
children
:
[{
component
:
'daily/nrtm/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"非常规作业类型"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905100400
,
"mkid"
:
905100400
,
},
name
:
'nrtm'
,
path
:
"nrtm"
name
:
'nrtm'
,
path
:
"nrtm"
},
{
component
:
'daily/fcgzysqd/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/fcgzysqd/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"非常规作业申请单"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905100500
,
"mkid"
:
905100500
,
},
name
:
'fcgzysqd'
,
path
:
"fcgzysqd"
name
:
'fcgzysqd'
,
path
:
"fcgzysqd"
},
{
component
:
'daily/nros/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/nros/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"非常规作业标准"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905100200
,
"mkid"
:
905100200
,
},
name
:
'nros'
,
path
:
"nros"
name
:
'nros'
,
path
:
"nros"
},
{
component
:
'daily/fcghd/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/fcghd/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"非常规作业活动"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905100300
,
"mkid"
:
905100300
,
},
name
:
'fcghd'
,
path
:
"fcghd"
name
:
'fcghd'
,
path
:
"fcghd"
},
]
},
...
...
@@ -1500,48 +1566,53 @@ export const powerRoutes=[
path
:
'/zywsgl'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'zyjkglzd'
,
meta
:
{
title
:
"职业卫生管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
1911000000
},
children
:
[
{
component
:
'zywsgl/zyjkglzd/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"职业卫生管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
1911000000
},
children
:
[{
component
:
'zywsgl/zyjkglzd/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"职业健康管理制度"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1911000100
,
"mkid"
:
1911000100
,
},
name
:
'zyjkglzd'
,
path
:
"zyjkglzd"
name
:
'zyjkglzd'
,
path
:
"zyjkglzd"
},
{
component
:
'zywsgl/jcpjbg/index'
,
hidden
:
false
,
meta
:{
component
:
'zywsgl/jcpjbg/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"检测评价报告"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1911000200
,
"mkid"
:
1911000200
,
},
name
:
'jcpjbg'
,
path
:
"jcpjbg"
name
:
'jcpjbg'
,
path
:
"jcpjbg"
},
{
component
:
'zywsgl/grzyjkda/index'
,
hidden
:
false
,
meta
:{
component
:
'zywsgl/grzyjkda/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"个人职业健康档案"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1911000300
,
"mkid"
:
1911000300
,
},
name
:
'grzyjkda'
,
path
:
"grzyjkda"
name
:
'grzyjkda'
,
path
:
"grzyjkda"
}
]
},
...
...
@@ -1550,87 +1621,92 @@ export const powerRoutes=[
path
:
'/dailyc'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'classification'
,
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905200000
},
children
:
[
{
component
:
'daily/classification/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"日常管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905200000
},
children
:
[{
component
:
'daily/classification/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"履职分类"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905200100
,
"mkid"
:
905200100
,
},
name
:
'classification'
,
path
:
"classification"
name
:
'classification'
,
path
:
"classification"
},
{
component
:
'daily/maintenanceDuty/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/maintenanceDuty/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"履职报告标准维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905200200
,
"mkid"
:
905200200
,
},
name
:
'maintenanceDuty'
,
path
:
"maintenanceDuty"
name
:
'maintenanceDuty'
,
path
:
"maintenanceDuty"
},
{
component
:
'daily/duty/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/duty/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"履职任务"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905200400
,
"mkid"
:
905200400
,
},
name
:
'duty'
,
path
:
"duty"
name
:
'duty'
,
path
:
"duty"
},
{
component
:
'daily/performanceReport/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/performanceReport/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"履职报告填写"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905200500
,
"mkid"
:
905200500
,
},
name
:
'performanceReport'
,
path
:
"performanceReport"
name
:
'performanceReport'
,
path
:
"performanceReport"
},
{
component
:
'daily/performanceReportSet/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/performanceReportSet/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"履职设置"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905200300
,
"mkid"
:
905200300
,
},
name
:
'performanceReportSet'
,
path
:
"performanceReportSet"
name
:
'performanceReportSet'
,
path
:
"performanceReportSet"
},
{
component
:
'daily/queryPerformanceReport/index'
,
hidden
:
false
,
meta
:{
component
:
'daily/queryPerformanceReport/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"履职记录查询"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905200600
,
"mkid"
:
905200600
,
},
name
:
'queryPerformanceReport'
,
path
:
"queryPerformanceReport"
name
:
'queryPerformanceReport'
,
path
:
"queryPerformanceReport"
},
...
...
@@ -1836,35 +1912,40 @@ export const powerRoutes=[
path
:
'/train'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'planning'
,
meta
:
{
title
:
"培训管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
906000000
},
children
:
[
{
component
:
'train/planning/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"培训管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
906000000
},
children
:
[{
component
:
'train/planning/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"培训计划制定"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
906000200
,
"mkid"
:
906000200
,
},
name
:
'planning'
,
path
:
"planning"
name
:
'planning'
,
path
:
"planning"
},
{
component
:
'train/assessment/index'
,
hidden
:
false
,
meta
:
{
component
:
'train/assessment/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"培训评估管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
906000400
,
"mkid"
:
906000400
,
},
name
:
'assessment'
,
path
:
"assessment"
name
:
'assessment'
,
path
:
"assessment"
},
// {
// component:'train/trainRecord/index',
...
...
@@ -1893,30 +1974,30 @@ export const powerRoutes=[
// path:"onlinExaminations"
// },
{
component
:
'train/tsubject/index'
,
hidden
:
false
,
meta
:{
component
:
'train/tsubject/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"题库维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
906000100
,
"mkid"
:
906000100
,
},
name
:
'tsubject'
,
path
:
"tsubject"
name
:
'tsubject'
,
path
:
"tsubject"
},
{
component
:
'train/questionManage/index'
,
hidden
:
false
,
meta
:
{
component
:
'train/questionManage/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"试题管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'906000800'
,
"mkid"
:
'906000800'
,
},
name
:
'questionManage'
,
path
:
"questionManage"
name
:
'questionManage'
,
path
:
"questionManage"
},
// {
// component:'train/testPaper/index',
...
...
@@ -1945,43 +2026,43 @@ export const powerRoutes=[
// path:"onlinExamination"
// },
{
component
:
'train/paperManagement/index'
,
hidden
:
false
,
meta
:
{
component
:
'train/paperManagement/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"试卷管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
906001000
,
"mkid"
:
906001000
,
},
name
:
'paperManagement'
,
path
:
"paperManagement"
name
:
'paperManagement'
,
path
:
"paperManagement"
},
{
component
:
'train/ks/index'
,
hidden
:
false
,
meta
:
{
component
:
'train/ks/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"考试管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'906001200'
,
"mkid"
:
'906001200'
,
},
name
:
'ks'
,
path
:
"ks"
name
:
'ks'
,
path
:
"ks"
},
{
component
:
'train/ksjl/index'
,
hidden
:
false
,
meta
:
{
component
:
'train/ksjl/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"考试记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
906001600
,
"mkid"
:
906001600
,
},
name
:
'ksjl'
,
path
:
"ksjl"
name
:
'ksjl'
,
path
:
"ksjl"
}
/*,
...
...
@@ -2020,93 +2101,105 @@ export const powerRoutes=[
]
},
{
path
:
"/paper/:id"
,
component
:
'train/testPaper/index'
,
hidden
:
true
,
meta
:
{
path
:
"/paper/:id"
,
component
:
'train/testPaper/index'
,
hidden
:
true
,
meta
:
{
"title"
:
"考试试卷"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'test'
,
"mkid"
:
'test'
,
},
name
:
'paper'
,
name
:
'paper'
,
},
/* 查询统计 */
{
/* 查询统计 */
{
path
:
'/cxtj'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'yhznytj'
,
meta
:
{
title
:
"查询统计"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
907000000
},
meta
:
{
title
:
"查询统计"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
907000000
},
children
:
[
/* */
{
component
:
'dangerManagement/cxcqyh/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/cxcqyh/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"查询超期隐患记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'907000400'
,
"mkid"
:
'907000400'
,
},
name
:
'cxcqyh'
,
path
:
"cxcqyh"
name
:
'cxcqyh'
,
path
:
"cxcqyh"
},
{
component
:
'dangerManagement/yhznytj/index'
,
hidden
:
false
,
meta
:{
component
:
'dangerManagement/yhznytj/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全隐患逐年汇总"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'907000200'
,
"mkid"
:
'907000200'
,
},
name
:
'yhznytj'
,
path
:
"yhznytj"
name
:
'yhznytj'
,
path
:
"yhznytj"
}
]
},
/* 设备管理 */
/* 设备管理 */
{
path
:
'/equipment'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'equipmentClass'
,
meta
:
{
title
:
"设备管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
908000000
},
meta
:
{
title
:
"设备管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
908000000
},
children
:
[
{
component
:
'equipment/equipmentClass/index'
,
hidden
:
false
,
meta
:
{
component
:
'equipment/equipmentClass/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"维护设备分类"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
908000100
,
"mkid"
:
908000100
,
},
name
:
'equipmentClass'
,
path
:
"equipmentClass"
name
:
'equipmentClass'
,
path
:
"equipmentClass"
},
{
component
:
'equipment/archives/index'
,
hidden
:
false
,
meta
:
{
component
:
'equipment/archives/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"设备档案管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
908000200
,
"mkid"
:
908000200
,
},
name
:
'archives'
,
path
:
"archives"
name
:
'archives'
,
path
:
"archives"
},
// {
// component:'equipment/specialEquipment/index',
...
...
@@ -2162,31 +2255,31 @@ export const powerRoutes=[
// },
/* 设备保养项目*/
{
component
:
'equipment/sbbyxm/index'
,
hidden
:
false
,
meta
:
{
component
:
'equipment/sbbyxm/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"保养项目维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'908000300'
,
"mkid"
:
'908000300'
,
},
name
:
'sbbyxm'
,
path
:
"sbbyxm"
name
:
'sbbyxm'
,
path
:
"sbbyxm"
},
/* 设备保养项目*/
{
component
:
'equipment/sbbymx/index'
,
hidden
:
false
,
meta
:
{
component
:
'equipment/sbbymx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"设备保养信息"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'908000400'
,
"mkid"
:
'908000400'
,
},
name
:
'sbbymx'
,
path
:
"sbbymx"
name
:
'sbbymx'
,
path
:
"sbbymx"
}
]
},
...
...
@@ -2195,49 +2288,55 @@ export const powerRoutes=[
path
:
'/sggl'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'shlx'
,
meta
:
{
title
:
"事故管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
1912000000
},
meta
:
{
title
:
"事故管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
1912000000
},
children
:
[
/* */
{
component
:
'riskPrecontrol/shlx/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/shlx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"伤害类型维护"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1912000100
,
"mkid"
:
1912000100
,
},
name
:
'shlx'
,
path
:
"shlx"
name
:
'shlx'
,
path
:
"shlx"
},
{
component
:
'riskPrecontrol/maintenanceRisk/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/maintenanceRisk/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"维护风险事件库"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1912000200
,
"mkid"
:
1912000200
,
},
name
:
'maintenanceRisk'
,
path
:
"maintenanceRisk"
name
:
'maintenanceRisk'
,
path
:
"maintenanceRisk"
},
{
component
:
'riskPrecontrol/queryRisk/index'
,
hidden
:
false
,
meta
:
{
component
:
'riskPrecontrol/queryRisk/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"查询风险事件库"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1912000300
,
"mkid"
:
1912000300
,
},
name
:
'queryRisk'
,
path
:
"queryRisk"
name
:
'queryRisk'
,
path
:
"queryRisk"
},
]
},
...
...
@@ -2246,61 +2345,66 @@ export const powerRoutes=[
path
:
'/outsourcingDirector'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'declare'
,
meta
:
{
title
:
"外协管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
909000000
},
children
:
[
{
component
:
'outsourcingDirector/declare/index'
,
hidden
:
false
,
meta
:{
meta
:
{
title
:
"外协管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
909000000
},
children
:
[{
component
:
'outsourcingDirector/declare/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位准入申报"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000200
,
"mkid"
:
909000200
,
},
name
:
'declare'
,
path
:
"declare"
name
:
'declare'
,
path
:
"declare"
},
{
component
:
'outsourcingDirector/approve/index'
,
hidden
:
false
,
meta
:{
component
:
'outsourcingDirector/approve/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位准入审批"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000400
,
"mkid"
:
909000400
,
},
name
:
'approve'
,
path
:
"approve"
name
:
'approve'
,
path
:
"approve"
},
{
component
:
'outsourcingDirector/process/index'
,
hidden
:
false
,
meta
:{
component
:
'outsourcingDirector/process/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位过程管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000600
,
"mkid"
:
909000600
,
},
name
:
'process'
,
path
:
"process"
name
:
'process'
,
path
:
"process"
},
{
component
:
'outsourcingDirector/archives/index'
,
hidden
:
false
,
meta
:{
component
:
'outsourcingDirector/archives/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位档案管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000900
,
"mkid"
:
909000900
,
},
name
:
'archives'
,
path
:
"archives"
name
:
'archives'
,
path
:
"archives"
}
]
},
...
...
@@ -2309,52 +2413,93 @@ export const powerRoutes=[
path
:
'/spaceOperations'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
alwaysShow
:
true
,
redirect
:
'declare'
,
meta
:
{
title
:
"有限空间作业"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905000000
},
meta
:
{
title
:
"有限空间作业"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
905000000
},
children
:
[{
component
:
'spaceOperations/declare/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位准入申报"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905002000
,
},
name
:
'declare'
,
path
:
"declare"
}]
},
{
path
:
'/aqjkgl'
,
component
:
'Layout'
,
hidden
:
false
,
alwaysShow
:
true
,
redirect
:
'yhznytj'
,
meta
:
{
title
:
"安全监控管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
913000000
},
children
:
[
/* */
{
component
:
'spaceOperations/declare/index'
,
hidden
:
false
,
meta
:{
"title"
:
"外协单位准入申报"
,
hidden
:
false
,
meta
:
{
"title"
:
"视频接入展示"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'913000100'
,
},
path
:
'http://localhost:80'
,
},
{
hidden
:
false
,
meta
:
{
"title"
:
"在线检测系统展示"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905002000
,
"mkid"
:
'913000200'
,
},
name
:
'declare'
,
path
:
"declare"
path
:
'http://localhost:81'
,
}
]
}
}
,
]
// 公共路由
export
const
constantRoutes
=
[
{
path
:
"/paper/:id"
,
export
const
constantRoutes
=
[{
path
:
"/paper/:id"
,
component
:
()
=>
import
(
'@/views/train/testPaper/index.vue'
),
// component:'train/testPaper/index',
hidden
:
true
,
meta
:
{
hidden
:
true
,
meta
:
{
"title"
:
"考试试卷"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'test'
,
"mkid"
:
'test'
,
},
name
:
'paper'
,
name
:
'paper'
,
},
{
path
:
'/redirect'
,
component
:
Layout
,
hidden
:
true
,
children
:
[
{
children
:
[{
path
:
'/redirect/:path(.*)'
,
component
:
()
=>
import
(
'@/views/redirect'
)
}
]
}]
},
{
path
:
'/login'
,
...
...
@@ -2380,28 +2525,31 @@ export const constantRoutes = [
path
:
''
,
component
:
Layout
,
redirect
:
'index'
,
children
:
[
{
children
:
[{
path
:
'index'
,
component
:
()
=>
import
(
'@/views/threeViolations/homePage/index'
),
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
affix
:
true
}
meta
:
{
title
:
'首页'
,
icon
:
'dashboard'
,
affix
:
true
}
]
}
]
},
{
path
:
'/user'
,
component
:
Layout
,
hidden
:
true
,
redirect
:
'noredirect'
,
children
:
[
{
children
:
[{
path
:
'profile'
,
component
:
()
=>
import
(
'common/src/views/user/profile/index'
),
name
:
'Profile'
,
meta
:
{
title
:
'个人中心'
,
icon
:
'user'
}
meta
:
{
title
:
'个人中心'
,
icon
:
'user'
}
]
}
]
},
/* 陕钢铁预写死页面*/
]
...
...
@@ -2421,6 +2569,8 @@ Router.prototype.push = function push(location) {
export
default
new
Router
({
// mode: 'history',
mode
:
'hash'
,
scrollBehavior
:
()
=>
({
y
:
0
}),
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
constantRoutes
})
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