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

1

parent 5d5e8b02
...@@ -27,781 +27,800 @@ import Layout from '@/layout' ...@@ -27,781 +27,800 @@ import Layout from '@/layout'
activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。 activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。
} }
*/ */
export const powerRoutes=[ export const powerRoutes = [{
path: '/system',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'userManagement',
meta: {
title: "系统管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 101000000
},
children: [
/* 测试模块*/
// {
// commonComponent: true,
// component: 'config/index',
// hidden: true,
// meta: {
// "title": "生成配置",
// "icon": "",
// "noCache": false,
// "link": null,
// "mkid": 'test',
// },
// name: 'config',
// path: "config"
// },
/* 测试模块*/
{
commonComponent: false,
component: 'system/userManagement/index',
hidden: false,
meta: {
"title": "用户管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000100,
},
name: 'userManagement',
path: "userManagement"
},
{
commonComponent: true,
component: 'system/roleManagement/index',
hidden: false,
meta: {
"title": "角色管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000200,
},
name: 'roleManagement',
path: "roleManagement"
},
{
commonComponent: true,
component: 'system/departmentManagement/index',
hidden: false,
meta: {
"title": "部门维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000300,
},
name: 'departmentManagement',
path: "departmentManagement"
},
{
commonComponent: true,
component: 'system/parameterSetting/index',
hidden: false,
meta: {
"title": "参数设置",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000400,
},
name: 'parameterSetting',
path: "parameterSetting"
},
{
commonComponent: true,
component: 'system/auxiliaryInput/index',
hidden: false,
meta: {
"title": "辅助输入",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000500,
},
name: 'auxiliaryInput',
path: "auxiliaryInput"
},
{
commonComponent: true,
component: 'system/printTemplate/index',
hidden: false,
meta: {
"title": "打印模板",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000700,
},
name: 'printTemplate',
path: "printTemplate"
},
{
commonComponent: true,
component: 'system/menuManage/index',
hidden: false,
meta: {
"title": "菜单管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000800,
},
name: 'menuManage',
path: "menuManage"
},
{
commonComponent: true,
component: 'system/appmenuManage/index',
hidden: false,
meta: {
"title": "移动端菜单管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000820,
},
name: 'appmenuManage',
path: "appmenuManage"
},
{
commonComponent: true,
component: 'system/appComponents/index',
hidden: false,
meta: {
"title": "应用组件",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000900,
},
name: 'appComponents',
path: "appComponents"
},
{
commonComponent: true,
component: 'system/moduleManage/index',
hidden: false,
meta: {
"title": "应用模块",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101001000,
},
name: 'moduleManage',
path: "moduleManage"
},
{
commonComponent: true,
component: 'system/registration/index',
hidden: false,
meta: {
"title": "系统注册",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101001200,
},
name: 'registration',
path: "registration"
},
{
commonComponent: true,
component: 'system/appVersion/index',
hidden: false,
meta: {
"title": "移动端版本",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101001300,
},
name: 'appVersion',
path: "appVersion"
},
{
commonComponent: true,
component: 'system/cache/index',
hidden: false,
meta: {
"title": "缓存管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101009800,
},
name: 'cache',
path: "cache"
}
]
},
/* 定时任务 */
{ {
path: '/system', path: '/recurringTask',
component: "Layout", component: "Layout",
hidden: false, hidden: false,
alwaysShow: true, alwaysShow: true,
redirect: 'userManagement', redirect: 'workflowDefinition',
meta: { meta: {
title: "系统管理", title: "定时任务",
icon: "fa-cog", icon: "fa-cog",
noCache: false, noCache: false,
link: null, link: null,
mkid: 101000000 mkid: 110000000
}, },
children: [ children: [{
/* 测试模块*/ commonComponent: true,
// { component: 'recurringTask/define/index',
// commonComponent: true, hidden: false,
// component: 'config/index', meta: {
// hidden: true, "title": "定时任务定义",
// meta: { "icon": "",
// "title": "生成配置", "noCache": false,
// "icon": "", "link": null,
// "noCache": false, "mkid": 110001001,
// "link": null, },
// "mkid": 'test', name: 'recurringTaskDefine',
// }, path: "recurringTaskDefine"
// name: 'config', },
// path: "config" {
// }, commonComponent: true,
/* 测试模块*/ component: 'recurringTask/setting/index',
{ hidden: false,
commonComponent: false, meta: {
component: 'system/userManagement/index', "title": "定时任务设置",
hidden: false, "icon": "",
meta: { "noCache": false,
"title": "用户管理", "link": null,
"icon": "", "mkid": 110002001,
"noCache": false, },
"link": null, name: 'recurringTaskSetting',
"mkid": 101000100, path: "recurringTaskSetting"
}, },
name: 'userManagement',
path: "userManagement"
},
{
commonComponent: true,
component: 'system/roleManagement/index',
hidden: false,
meta: {
"title": "角色管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000200,
},
name: 'roleManagement',
path: "roleManagement"
},
{
commonComponent: true,
component: 'system/departmentManagement/index',
hidden: false,
meta: {
"title": "部门维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000300,
},
name: 'departmentManagement',
path: "departmentManagement"
},
{
commonComponent: true,
component: 'system/parameterSetting/index',
hidden: false,
meta: {
"title": "参数设置",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000400,
},
name: 'parameterSetting',
path: "parameterSetting"
},
{
commonComponent: true,
component: 'system/auxiliaryInput/index',
hidden: false,
meta: {
"title": "辅助输入",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000500,
},
name: 'auxiliaryInput',
path: "auxiliaryInput"
},
{
commonComponent: true,
component: 'system/printTemplate/index',
hidden: false,
meta: {
"title": "打印模板",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000700,
},
name: 'printTemplate',
path: "printTemplate"
},
{
commonComponent: true,
component: 'system/menuManage/index',
hidden: false,
meta: {
"title": "菜单管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000800,
},
name: 'menuManage',
path: "menuManage"
},
{
commonComponent: true,
component: 'system/appmenuManage/index',
hidden: false,
meta: {
"title": "移动端菜单管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000820,
},
name: 'appmenuManage',
path: "appmenuManage"
},
{
commonComponent: true,
component: 'system/appComponents/index',
hidden: false,
meta: {
"title": "应用组件",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101000900,
},
name: 'appComponents',
path: "appComponents"
},
{
commonComponent: true,
component: 'system/moduleManage/index',
hidden: false,
meta: {
"title": "应用模块",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101001000,
},
name: 'moduleManage',
path: "moduleManage"
},
{
commonComponent: true,
component: 'system/registration/index',
hidden: false,
meta: {
"title": "系统注册",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101001200,
},
name: 'registration',
path: "registration"
},
{
commonComponent: true,
component: 'system/appVersion/index',
hidden: false,
meta: {
"title": "移动端版本",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101001300,
},
name: 'appVersion',
path: "appVersion"
},
{
commonComponent: true,
component: 'system/cache/index',
hidden: false,
meta: {
"title": "缓存管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 101009800,
},
name: 'cache',
path: "cache"
}
]
},
/* 定时任务 */
{
path: '/recurringTask',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'workflowDefinition',
meta: {
title: "定时任务",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 110000000
},
children: [{
commonComponent: true,
component: 'recurringTask/define/index',
hidden: false,
meta: {
"title": "定时任务定义",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110001001,
},
name: 'recurringTaskDefine',
path: "recurringTaskDefine"
},
{
commonComponent: true,
component: 'recurringTask/setting/index',
hidden: false,
meta: {
"title": "定时任务设置",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110002001,
},
name: 'recurringTaskSetting',
path: "recurringTaskSetting"
},
] ]
}, },
/* 文件管理 */ /* 文件管理 */
{ {
path: '/documentManagement', path: '/documentManagement',
component: "Layout", component: "Layout",
hidden: false, hidden: false,
alwaysShow: true, alwaysShow: true,
redirect: 'folder', redirect: 'folder',
meta: { meta: {
title: "文档管理", title: "文档管理",
icon: "fa-cog", icon: "fa-cog",
noCache: false, noCache: false,
link: null, link: null,
mkid: 104000000 mkid: 104000000
}, },
children: [{ children: [{
commonComponent: true, commonComponent: true,
component: 'documentManagement/folder/index', component: 'documentManagement/folder/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "文件夹", "title": "文件夹",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 104000100, "mkid": 104000100,
}, },
name: 'folder', name: 'folder',
path: "folder" path: "folder"
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'documentManagement/folderCenter/index', component: 'documentManagement/folderCenter/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "文档中心", "title": "文档中心",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 104000600, "mkid": 104000600,
}, },
name: 'folderCenter', name: 'folderCenter',
path: "folderCenter" path: "folderCenter"
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'documentManagement/folderPermissions/index', component: 'documentManagement/folderPermissions/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "文件夹权限", "title": "文件夹权限",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 104000200, "mkid": 104000200,
}, },
name: 'folderPermissions', name: 'folderPermissions',
path: "folderPermissions" path: "folderPermissions"
}, },
] ]
}, },
{ {
path: '/workflow', path: '/workflow',
component: "Layout", component: "Layout",
hidden: false, hidden: false,
alwaysShow: true, alwaysShow: true,
redirect: 'workflowDefinition', redirect: 'workflowDefinition',
meta: { meta: {
title: "工作流", title: "工作流",
icon: "fa-cog", icon: "fa-cog",
noCache: false, noCache: false,
link: null, link: null,
mkid: 105000000 mkid: 105000000
}, },
children: [{ children: [{
commonComponent: true, commonComponent: true,
component: 'workflow/workflowDefinition/index', component: 'workflow/workflowDefinition/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "工作流定义", "title": "工作流定义",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 105000100, "mkid": 105000100,
}, },
name: 'workflowDefinition', name: 'workflowDefinition',
path: "workflowDefinition" path: "workflowDefinition"
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'workflow/todoItems/index', component: 'workflow/todoItems/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "查询待办事务", "title": "查询待办事务",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 105000900, "mkid": 105000900,
}, },
name: 'todoItems', name: 'todoItems',
path: "todoItems" path: "todoItems"
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'workflow/mytodo/index', component: 'workflow/mytodo/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "我的待办", "title": "我的待办",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 105002100, "mkid": 105002100,
}, },
name: 'mytodo', name: 'mytodo',
path: "mytodo" path: "mytodo"
} }
] ]
}, },
{ {
path: '/earlyWarning', path: '/earlyWarning',
component: "Layout", component: "Layout",
hidden: false, hidden: false,
alwaysShow: true, alwaysShow: true,
redirect: 'define', redirect: 'define',
meta: { meta: {
title: "预警信息", title: "预警信息",
icon: "fa-cog", icon: "fa-cog",
noCache: false, noCache: false,
link: null, link: null,
mkid: 110010000 mkid: 110010000
}, },
children: [{ children: [{
commonComponent: true, commonComponent: true,
component: 'earlyWarning/define/index', component: 'earlyWarning/define/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "预警定义", "title": "预警定义",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 110014001, "mkid": 110014001,
}, },
name: 'define', name: 'define',
path: "define" path: "define"
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'earlyWarning/setting/index', component: 'earlyWarning/setting/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "预警设置", "title": "预警设置",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 110014002, "mkid": 110014002,
}, },
name: 'setting', name: 'setting',
path: "setting" path: "setting"
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'earlyWarning/info/index', component: 'earlyWarning/info/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "预警设置", "title": "预警设置",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 110014003, "mkid": 110014003,
}, },
name: 'info', name: 'info',
path: "info" path: "info"
}, },
] ]
}, },
/* 消息中心 */ /* 消息中心 */
{ {
path: '/info', path: '/info',
component: "Layout", component: "Layout",
hidden: false, hidden: false,
alwaysShow: true, alwaysShow: true,
redirect: 'template', redirect: 'template',
meta: { meta: {
title: "消息中心", title: "消息中心",
icon: "fa-cog", icon: "fa-cog",
noCache: false, noCache: false,
link: null, link: null,
mkid: 129000000 mkid: 129000000
}, },
children: [{ children: [{
commonComponent: true, commonComponent: true,
component: 'info/template/index', component: 'info/template/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "消息模板", "title": "消息模板",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 129010100, "mkid": 129010100,
}, },
name: 'template', name: 'template',
path: "template" path: "template"
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'info/myInfo/index', component: 'info/myInfo/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "我的消息", "title": "我的消息",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 129010600, "mkid": 129010600,
}, },
name: 'myInfo', name: 'myInfo',
path: "myInfo" path: "myInfo"
}, },
] ]
}, },
/* 接口中心 */ /* 接口中心 */
{ {
path: '/interface', path: '/interface',
component: "Layout", component: "Layout",
hidden: false, hidden: false,
alwaysShow: true, alwaysShow: true,
meta: { meta: {
title: "系统接口", title: "系统接口",
icon: "fa-cog", icon: "fa-cog",
noCache: false, noCache: false,
link: null, link: null,
mkid: 159000000 mkid: 159000000
}, },
children: [{ children: [{
commonComponent: true, commonComponent: true,
component: 'template/index', component: 'template/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "入向接口", "title": "入向接口",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159010000, "mkid": 159010000,
}, },
name: 'incoming', name: 'incoming',
path: "incoming", path: "incoming",
redirect: 'define', redirect: 'define',
children: [ children: [
/* 入库单 */ /* 入库单 */
{ {
commonComponent: true, commonComponent: true,
component: 'interface/incoming/define/index', component: 'interface/incoming/define/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "接口定义", "title": "接口定义",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159010200, "mkid": 159010200,
}, },
name: 'define', name: 'define',
path: "define", path: "define",
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'interface/incoming/log/index', component: 'interface/incoming/log/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "日志", "title": "日志",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159010300, "mkid": 159010300,
}, },
name: 'log', name: 'log',
path: "log", path: "log",
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'interface/incoming/client/index', component: 'interface/incoming/client/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "客户端管理", "title": "客户端管理",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159010400, "mkid": 159010400,
}, },
name: 'client', name: 'client',
path: "client", path: "client",
}, },
] ]
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'template/index', component: 'template/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "出向接口", "title": "出向接口",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159020000, "mkid": 159020000,
}, },
name: 'outcoming', name: 'outcoming',
path: "outcoming", path: "outcoming",
redirect: 'third', redirect: 'third',
children: [{ children: [{
commonComponent: true, commonComponent: true,
component: 'interface/outcoming/third/index', component: 'interface/outcoming/third/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "第三方系统", "title": "第三方系统",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159020100, "mkid": 159020100,
}, },
name: 'third', name: 'third',
path: "third", path: "third",
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'interface/outcoming/Interfaces/index', component: 'interface/outcoming/Interfaces/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "接口管理", "title": "接口管理",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159020200, "mkid": 159020200,
}, },
name: 'Interfaces', name: 'Interfaces',
path: "Interfaces", path: "Interfaces",
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'interface/outcoming/outcominglog/index', component: 'interface/outcoming/outcominglog/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "日志", "title": "日志",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159020300, "mkid": 159020300,
}, },
name: 'outcominglog', name: 'outcominglog',
path: "outcominglog", path: "outcominglog",
} }
] ]
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'template/index', component: 'template/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "数据库接口", "title": "数据库接口",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159060000, "mkid": 159060000,
}, },
name: 'database', name: 'database',
path: "database", path: "database",
redirect: 'sync', redirect: 'sync',
children: [{ children: [{
commonComponent: true, commonComponent: true,
component: 'interface/database/sync/index', component: 'interface/database/sync/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "数据同步", "title": "数据同步",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159060100, "mkid": 159060100,
}, },
name: 'sync', name: 'sync',
path: "sync", path: "sync",
}, },
{ {
commonComponent: true, commonComponent: true,
component: 'interface/database/log/index', component: 'interface/database/log/index',
hidden: false, hidden: false,
meta: { meta: {
"title": "数据同步日志", "title": "数据同步日志",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid": 159060300, "mkid": 159060300,
}, },
name: 'databaselog', name: 'databaselog',
path: "databaselog", path: "databaselog",
}, },
] ]
} }
] ]
}, },
{ {
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',
hidden:false,
meta:{
"title": "目录维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000500,
},
name:'mlvh',
path:"mlvh"
}, },
{ {
component:'basicData/securityDocumentManagement/index', component: 'basicData/mlvh/index',
hidden:false, hidden: false,
meta:{ meta: {
"title": "安全文档管理", "title": "目录维护",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":901000600, "mkid": 901000500,
}, },
name:'securityDocumentManagement', name: 'mlvh',
path:"securityDocumentManagement" path: "mlvh"
}, },
{ {
component:'basicData/operationDcManagement/index', component: 'basicData/securityDocumentManagement/index',
hidden:false, hidden: false,
meta:{ meta: {
"title": "标准作业文档管理", "title": "安全文档管理",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":901000800, "mkid": 901000600,
}, },
name:'operationDcManagement', name: 'securityDocumentManagement',
path:"operationDcManagement" 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: {
"title": "标准作业文档管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000800,
},
name: '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
"title": "重点工作安排", },
"icon": "", children: [{
"noCache": false, component: 'daily/zdgzap/index',
"link": null, hidden: false,
"mkid":910000100, meta: {
}, "title": "重点工作安排",
name:'zdgzap', "icon": "",
path:"zdgzap" "noCache": false,
"link": null,
"mkid": 910000100,
},
name: '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
"title": "风险点维护", },
"icon": "", children: [{
"noCache": false, component: 'riskPrecontrol/screeningCriteria/index',
"link": null, hidden: false,
"mkid":902000200, meta: {
}, "title": "风险点维护",
name:'screeningCriteria', "icon": "",
path:"screeningCriteria" "noCache": false,
"link": null,
"mkid": 902000200,
},
name: '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,167 +1022,172 @@ export const powerRoutes=[ ...@@ -987,167 +1022,172 @@ 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',
path:"yhfl"
},
/* {
component:'dangerManagement/yhbzfl/index',
hidden:false,
meta:{
"title": "隐患标准分类",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000120,
},
name:'yhbzfl',
path:"yhbzfl"
},
{
component:'dangerManagement/maintenanceDg/index',
hidden:false,
meta:{
"title": "维护隐患检查标准",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000200,
}, },
name:'maintenanceDg', name: 'yhfl',
path:"maintenanceDg" path: "yhfl"
},*/ },
{ /* {
component:'dangerManagement/enterSafetyRecords/index', component:'dangerManagement/yhbzfl/index',
hidden:false, hidden:false,
meta:{ meta:{
"title": "隐患标准分类",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000120,
},
name:'yhbzfl',
path:"yhbzfl"
},
{
component:'dangerManagement/maintenanceDg/index',
hidden:false,
meta:{
"title": "维护隐患检查标准",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000200,
},
name:'maintenanceDg',
path:"maintenanceDg"
},*/
{
component: 'dangerManagement/enterSafetyRecords/index',
hidden: false,
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,49 +1361,54 @@ export const powerRoutes=[ ...@@ -1310,49 +1361,54 @@ 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',
hidden:false,
meta:{
"title": "安全活动执行跟踪",
"icon": "",
"noCache": false,
"link": null,
"mkid":904400400,
},
name:'aqhdzxgz',
path:"aqhdzxgz"
}, },
{ {
component:'safetyactivity/bzhzy/index', component: 'safetyactivity/aqhdzxgz/index',
hidden:false, hidden: false,
meta:{ meta: {
"title": "标准化作业", "title": "安全活动执行跟踪",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":904400500, "mkid": 904400400,
}, },
name:'bzhzy', name: 'aqhdzxgz',
path:"bzhzy" path: "aqhdzxgz"
} },
{
component: 'safetyactivity/bzhzy/index',
hidden: false,
meta: {
"title": "标准化作业",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904400500,
},
name: '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
},
children: [{
component: 'daily/zsfl/index',
hidden: false,
meta: {
"title": "证书分类", "title": "证书分类",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":905000500, "mkid": 905000500,
}, },
name:'zsfl', name: 'zsfl',
path:"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
"title": "培训计划制定", },
"icon": "", children: [{
"noCache": false, component: 'train/planning/index',
"link": null, hidden: false,
"mkid":906000200, meta: {
}, "title": "培训计划制定",
name:'planning', "icon": "",
path:"planning" "noCache": false,
"link": null,
"mkid": 906000200,
},
name: '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,50 +2288,56 @@ export const powerRoutes=[ ...@@ -2195,50 +2288,56 @@ 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',
path: "maintenanceRisk"
}, },
name:'maintenanceRisk', {
path:"maintenanceRisk" component: 'riskPrecontrol/queryRisk/index',
}, hidden: false,
{ meta: {
component:'riskPrecontrol/queryRisk/index',
hidden:false,
meta:{
"title": "查询风险事件库", "title": "查询风险事件库",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":1912000300, "mkid": 1912000300,
},
name: 'queryRisk',
path: "queryRisk"
}, },
name:'queryRisk',
path:"queryRisk"
},
] ]
}, },
/* 外协管理 */ /* 外协管理 */
...@@ -2246,62 +2345,67 @@ export const powerRoutes=[ ...@@ -2246,62 +2345,67 @@ 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",
noCache: false,
link: null,
mkid: 909000000
},
children: [{
component: 'outsourcingDirector/declare/index',
hidden: false,
meta: {
"title": "外协单位准入申报",
"icon": "",
"noCache": false,
"link": null,
"mkid": 909000200,
},
name: 'declare',
path: "declare"
},
{ {
component:'outsourcingDirector/declare/index', component: 'outsourcingDirector/approve/index',
hidden:false, hidden: false,
meta:{ meta: {
"title": "外协单位准入申报", "title": "外协单位准入审批",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":909000200, "mkid": 909000400,
}, },
name:'declare', name: 'approve',
path:"declare" path: "approve"
}, },
{ {
component:'outsourcingDirector/approve/index', component: 'outsourcingDirector/process/index',
hidden:false, hidden: false,
meta:{ meta: {
"title": "外协单位准入审批", "title": "外协单位过程管理",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":909000400, "mkid": 909000600,
}, },
name:'approve', name: 'process',
path:"approve" path: "process"
}, },
{ {
component:'outsourcingDirector/process/index', component: 'outsourcingDirector/archives/index',
hidden:false, hidden: false,
meta:{ meta: {
"title": "外协单位过程管理", "title": "外协单位档案管理",
"icon": "", "icon": "",
"noCache": false, "noCache": false,
"link": null, "link": null,
"mkid":909000600, "mkid": 909000900,
}, },
name:'process', name: 'archives',
path:"process" path: "archives"
}, }
{
component:'outsourcingDirector/archives/index',
hidden:false,
meta:{
"title": "外协单位档案管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":909000900,
},
name:'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": "",
"icon": "", "noCache": false,
"noCache": false, "link": null,
"link": null, "mkid": '913000100',
"mkid":905002000, },
}, path: 'http://localhost:80',
name:'declare', },
path:"declare" {
} hidden: false,
meta: {
"title": "在线检测系统展示",
"icon": "",
"noCache": false,
"link": null,
"mkid": '913000200',
},
path: 'http://localhost:81',
}
] ]
} },
] ]
// 公共路由 // 公共路由
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: {
meta: { title: '首页', icon: 'dashboard', affix: true } 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: {
meta: { title: '个人中心', icon: 'user' } 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