Commit 30dc20ae authored by 李苏's avatar 李苏 💬

1

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