Commit 5a7e351f authored by 王向前's avatar 王向前

解决bug

parent 8425a7ae
......@@ -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"
}
]
},
]
// 动态路由,基于用户权限动态去加载
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment