Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-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
李苏
sgaqgl-vue
Commits
5a7e351f
Commit
5a7e351f
authored
Oct 31, 2022
by
王向前
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决bug
parent
8425a7ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
8 deletions
+101
-8
index.js
src/router/index.js
+101
-8
No files found.
src/router/index.js
View file @
5a7e351f
...
...
@@ -778,21 +778,60 @@ export const constantRoutes = [
]
},
/* 外协管理
*/
/* 查询统计
*/
{
path
:
'/
outsoure
'
,
path
:
'/
statistics
'
,
component
:
Layout
,
hidden
:
false
,
alwaysShow
:
true
,
// redirect: 'screeningCriteria',
meta
:
{
title
:
"外协管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
105000000
},
redirect
:
'securitySituation'
,
meta
:
{
title
:
"查询统计"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
105000000
},
children
:
[
{
commonComponent
:
'securitySituation'
,
component
:()
=>
import
(
"@/views/statistics/securitySituation/index"
),
hidden
:
false
,
meta
:{
"title"
:
"培训计划制定"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
101001300
,
},
name
:
'securitySituation'
,
path
:
"securitySituation"
},
{
commonComponent
:
'dangeRecords'
,
component
:()
=>
import
(
"@/views/statistics/dangeRecords/index"
),
hidden
:
false
,
meta
:{
"title"
:
"查询超期隐患记录"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
101001300
,
},
name
:
'dangeRecords'
,
path
:
"dangeRecords"
}
]
},
/* 设备管理 */
{
path
:
'/equipment'
,
component
:
Layout
,
hidden
:
false
,
alwaysShow
:
true
,
redirect
:
'securitySituation'
,
meta
:
{
title
:
"设备管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
105000000
},
children
:
[
{
commonComponent
:
'archives'
,
component
:()
=>
import
(
"@/views/
outsourcingDirector
/archives/index"
),
component
:()
=>
import
(
"@/views/
equipment
/archives/index"
),
hidden
:
false
,
meta
:{
"title"
:
"
外协单位
管理"
,
"title"
:
"
设备档案
管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
...
...
@@ -801,10 +840,64 @@ export const constantRoutes = [
name
:
'archives'
,
path
:
"archives"
},
{
commonComponent
:
'archives'
,
component
:()
=>
import
(
"@/views/equipment/specialEquipment/index"
),
hidden
:
false
,
meta
:{
"title"
:
"特种设备档案管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
101001300
,
},
name
:
'specialEquipment'
,
path
:
"specialEquipment"
},
{
commonComponent
:
'environment'
,
component
:()
=>
import
(
"@/views/equipment/environment/index"
),
hidden
:
false
,
meta
:{
"title"
:
"环保设备档案管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
101001300
,
},
name
:
'environment'
,
path
:
"environment"
},
{
commonComponent
:
'maintain'
,
component
:()
=>
import
(
"@/views/equipment/maintain/index"
),
hidden
:
false
,
meta
:{
"title"
:
"维护防护设施档案"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
101001300
,
},
name
:
'maintain'
,
path
:
"maintain"
},
{
commonComponent
:
'inspection'
,
component
:()
=>
import
(
"@/views/equipment/inspection/index"
),
hidden
:
false
,
meta
:{
"title"
:
"设备设施巡检记录管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
101001300
,
},
name
:
'inspection'
,
path
:
"inspection"
}
]
},
]
// 动态路由,基于用户权限动态去加载
...
...
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