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

1

parent 5d5e8b02
......@@ -27,781 +27,800 @@ import Layout from '@/layout'
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',
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: '/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: '/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',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'folder',
meta: {
title: "文档管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 104000000
},
children: [{
commonComponent: true,
component: 'documentManagement/folder/index',
hidden: false,
meta: {
"title": "文件夹",
"icon": "",
"noCache": false,
"link": null,
"mkid": 104000100,
},
name: 'folder',
path: "folder"
},
{
commonComponent: true,
component: 'documentManagement/folderCenter/index',
hidden: false,
meta: {
"title": "文档中心",
"icon": "",
"noCache": false,
"link": null,
"mkid": 104000600,
},
name: 'folderCenter',
path: "folderCenter"
},
{
commonComponent: true,
component: 'documentManagement/folderPermissions/index',
hidden: false,
meta: {
"title": "文件夹权限",
"icon": "",
"noCache": false,
"link": null,
"mkid": 104000200,
},
name: 'folderPermissions',
path: "folderPermissions"
},
]
},
/* 文件管理 */
{
path: '/documentManagement',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'folder',
meta: {
title: "文档管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 104000000
},
children: [{
commonComponent: true,
component: 'documentManagement/folder/index',
hidden: false,
meta: {
"title": "文件夹",
"icon": "",
"noCache": false,
"link": null,
"mkid": 104000100,
},
name: 'folder',
path: "folder"
},
{
commonComponent: true,
component: 'documentManagement/folderCenter/index',
hidden: false,
meta: {
"title": "文档中心",
"icon": "",
"noCache": false,
"link": null,
"mkid": 104000600,
},
name: 'folderCenter',
path: "folderCenter"
},
{
commonComponent: true,
component: 'documentManagement/folderPermissions/index',
hidden: false,
meta: {
"title": "文件夹权限",
"icon": "",
"noCache": false,
"link": null,
"mkid": 104000200,
},
name: 'folderPermissions',
path: "folderPermissions"
},
]
},
{
path: '/workflow',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'workflowDefinition',
meta: {
title: "工作流",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 105000000
},
children: [{
commonComponent: true,
component: 'workflow/workflowDefinition/index',
hidden: false,
meta: {
"title": "工作流定义",
"icon": "",
"noCache": false,
"link": null,
"mkid": 105000100,
},
name: 'workflowDefinition',
path: "workflowDefinition"
},
{
commonComponent: true,
component: 'workflow/todoItems/index',
hidden: false,
meta: {
"title": "查询待办事务",
"icon": "",
"noCache": false,
"link": null,
"mkid": 105000900,
},
name: 'todoItems',
path: "todoItems"
},
{
commonComponent: true,
component: 'workflow/mytodo/index',
hidden: false,
meta: {
"title": "我的待办",
"icon": "",
"noCache": false,
"link": null,
"mkid": 105002100,
},
name: 'mytodo',
path: "mytodo"
}
]
},
{
path: '/earlyWarning',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'define',
meta: {
title: "预警信息",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 110010000
},
children: [{
commonComponent: true,
component: 'earlyWarning/define/index',
hidden: false,
meta: {
"title": "预警定义",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110014001,
},
name: 'define',
path: "define"
},
{
commonComponent: true,
component: 'earlyWarning/setting/index',
hidden: false,
meta: {
"title": "预警设置",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110014002,
},
name: 'setting',
path: "setting"
},
{
commonComponent: true,
component: 'earlyWarning/info/index',
hidden: false,
meta: {
"title": "预警设置",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110014003,
},
name: 'info',
path: "info"
},
]
},
{
path: '/workflow',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'workflowDefinition',
meta: {
title: "工作流",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 105000000
},
children: [{
commonComponent: true,
component: 'workflow/workflowDefinition/index',
hidden: false,
meta: {
"title": "工作流定义",
"icon": "",
"noCache": false,
"link": null,
"mkid": 105000100,
},
name: 'workflowDefinition',
path: "workflowDefinition"
},
{
commonComponent: true,
component: 'workflow/todoItems/index',
hidden: false,
meta: {
"title": "查询待办事务",
"icon": "",
"noCache": false,
"link": null,
"mkid": 105000900,
},
name: 'todoItems',
path: "todoItems"
},
{
commonComponent: true,
component: 'workflow/mytodo/index',
hidden: false,
meta: {
"title": "我的待办",
"icon": "",
"noCache": false,
"link": null,
"mkid": 105002100,
},
name: 'mytodo',
path: "mytodo"
}
]
},
{
path: '/earlyWarning',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'define',
meta: {
title: "预警信息",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 110010000
},
children: [{
commonComponent: true,
component: 'earlyWarning/define/index',
hidden: false,
meta: {
"title": "预警定义",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110014001,
},
name: 'define',
path: "define"
},
{
commonComponent: true,
component: 'earlyWarning/setting/index',
hidden: false,
meta: {
"title": "预警设置",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110014002,
},
name: 'setting',
path: "setting"
},
{
commonComponent: true,
component: 'earlyWarning/info/index',
hidden: false,
meta: {
"title": "预警设置",
"icon": "",
"noCache": false,
"link": null,
"mkid": 110014003,
},
name: 'info',
path: "info"
},
]
},
/* 消息中心 */
{
path: '/info',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'template',
meta: {
title: "消息中心",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 129000000
},
children: [{
commonComponent: true,
component: 'info/template/index',
hidden: false,
meta: {
"title": "消息模板",
"icon": "",
"noCache": false,
"link": null,
"mkid": 129010100,
},
name: 'template',
path: "template"
},
{
commonComponent: true,
component: 'info/myInfo/index',
hidden: false,
meta: {
"title": "我的消息",
"icon": "",
"noCache": false,
"link": null,
"mkid": 129010600,
},
name: 'myInfo',
path: "myInfo"
},
]
},
/* 消息中心 */
{
path: '/info',
component: "Layout",
hidden: false,
alwaysShow: true,
redirect: 'template',
meta: {
title: "消息中心",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 129000000
},
children: [{
commonComponent: true,
component: 'info/template/index',
hidden: false,
meta: {
"title": "消息模板",
"icon": "",
"noCache": false,
"link": null,
"mkid": 129010100,
},
name: 'template',
path: "template"
},
{
commonComponent: true,
component: 'info/myInfo/index',
hidden: false,
meta: {
"title": "我的消息",
"icon": "",
"noCache": false,
"link": null,
"mkid": 129010600,
},
name: 'myInfo',
path: "myInfo"
},
]
},
/* 接口中心 */
{
path: '/interface',
component: "Layout",
hidden: false,
alwaysShow: true,
meta: {
title: "系统接口",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 159000000
},
children: [{
commonComponent: true,
component: 'template/index',
hidden: false,
meta: {
"title": "入向接口",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010000,
},
name: 'incoming',
path: "incoming",
redirect: 'define',
children: [
/* 入库单 */
{
commonComponent: true,
component: 'interface/incoming/define/index',
hidden: false,
meta: {
"title": "接口定义",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010200,
},
name: 'define',
path: "define",
},
{
commonComponent: true,
component: 'interface/incoming/log/index',
hidden: false,
meta: {
"title": "日志",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010300,
},
name: 'log',
path: "log",
},
{
commonComponent: true,
component: 'interface/incoming/client/index',
hidden: false,
meta: {
"title": "客户端管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010400,
},
name: 'client',
path: "client",
},
]
},
/* 接口中心 */
{
path: '/interface',
component: "Layout",
hidden: false,
alwaysShow: true,
meta: {
title: "系统接口",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 159000000
},
children: [{
commonComponent: true,
component: 'template/index',
hidden: false,
meta: {
"title": "入向接口",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010000,
},
name: 'incoming',
path: "incoming",
redirect: 'define',
children: [
/* 入库单 */
{
commonComponent: true,
component: 'interface/incoming/define/index',
hidden: false,
meta: {
"title": "接口定义",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010200,
},
name: 'define',
path: "define",
},
{
commonComponent: true,
component: 'interface/incoming/log/index',
hidden: false,
meta: {
"title": "日志",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010300,
},
name: 'log',
path: "log",
},
{
commonComponent: true,
component: 'interface/incoming/client/index',
hidden: false,
meta: {
"title": "客户端管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159010400,
},
name: 'client',
path: "client",
},
]
},
{
commonComponent: true,
component: 'template/index',
hidden: false,
meta: {
"title": "出向接口",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020000,
},
name: 'outcoming',
path: "outcoming",
redirect: 'third',
children: [{
commonComponent: true,
component: 'interface/outcoming/third/index',
hidden: false,
meta: {
"title": "第三方系统",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020100,
},
name: 'third',
path: "third",
},
{
commonComponent: true,
component: 'interface/outcoming/Interfaces/index',
hidden: false,
meta: {
"title": "接口管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020200,
},
name: 'Interfaces',
path: "Interfaces",
},
{
commonComponent: true,
component: 'interface/outcoming/outcominglog/index',
hidden: false,
meta: {
"title": "日志",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020300,
},
name: 'outcominglog',
path: "outcominglog",
}
]
},
{
commonComponent: true,
component: 'template/index',
hidden: false,
meta: {
"title": "数据库接口",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159060000,
},
name: 'database',
path: "database",
redirect: 'sync',
children: [{
commonComponent: true,
component: 'interface/database/sync/index',
hidden: false,
meta: {
"title": "数据同步",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159060100,
},
name: 'sync',
path: "sync",
},
{
commonComponent: true,
component: 'interface/database/log/index',
hidden: false,
meta: {
"title": "数据同步日志",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159060300,
},
name: 'databaselog',
path: "databaselog",
},
]
}
]
},
]
},
{
commonComponent: true,
component: 'template/index',
hidden: false,
meta: {
"title": "出向接口",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020000,
},
name: 'outcoming',
path: "outcoming",
redirect: 'third',
children: [{
commonComponent: true,
component: 'interface/outcoming/third/index',
hidden: false,
meta: {
"title": "第三方系统",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020100,
},
name: 'third',
path: "third",
},
{
commonComponent: true,
component: 'interface/outcoming/Interfaces/index',
hidden: false,
meta: {
"title": "接口管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020200,
},
name: 'Interfaces',
path: "Interfaces",
},
{
commonComponent: true,
component: 'interface/outcoming/outcominglog/index',
hidden: false,
meta: {
"title": "日志",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159020300,
},
name: 'outcominglog',
path: "outcominglog",
}
]
},
{
commonComponent: true,
component: 'template/index',
hidden: false,
meta: {
"title": "数据库接口",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159060000,
},
name: 'database',
path: "database",
redirect: 'sync',
children: [{
commonComponent: true,
component: 'interface/database/sync/index',
hidden: false,
meta: {
"title": "数据同步",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159060100,
},
name: 'sync',
path: "sync",
},
{
commonComponent: true,
component: 'interface/database/log/index',
hidden: false,
meta: {
"title": "数据同步日志",
"icon": "",
"noCache": false,
"link": null,
"mkid": 159060300,
},
name: 'databaselog',
path: "databaselog",
},
]
}
]
},
{
path: '/basicData',
component:"Layout",
component: "Layout",
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'organizationalManagement',
meta: {title: "基础数据", icon: "fa-cog", noCache: false, link: null,mkid:901000000},
meta: {
title: "基础数据",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 901000000
},
children: [
/* end*/
{
component:'basicData/organizationalManagement/index',
hidden:false,
meta:{
"title": "组织管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000200,
},
name:'organizationalManagement',
path:"organizationalManagement"
component: 'basicData/organizationalManagement/index',
hidden: false,
meta: {
"title": "组织管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000200,
},
name: 'organizationalManagement',
path: "organizationalManagement"
},
{
component:'basicData/scgw/index',
hidden:false,
meta:{
component: 'basicData/scgw/index',
hidden: false,
meta: {
"title": "岗位管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000300,
"mkid": 901000300,
},
name:'scgw',
path:"scgw"
name: 'scgw',
path: "scgw"
},
{
component:'basicData/logQuery/index',
hidden:false,
meta:{
component: 'basicData/logQuery/index',
hidden: false,
meta: {
"title": "登录日志查询",
"icon": "",
"noCache": false,
"link": null,
"mkid":'901000920',
"mkid": '901000920',
},
name:'logQuery',
path:"logQuery"
name: 'logQuery',
path: "logQuery"
},
{
component:'basicData/announcementManagement/index',
hidden:false,
meta:{
"title": "公告管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000400,
},
name:'announcementManagement',
path:"announcementManagement"
component: 'basicData/announcementManagement/index',
hidden: false,
meta: {
"title": "公告管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000400,
},
name: 'announcementManagement',
path: "announcementManagement"
},
{
component:'basicData/ryq/index',
hidden:false,
meta:{
component: 'basicData/ryq/index',
hidden: false,
meta: {
"title": "荣誉墙",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000900,
"mkid": 901000900,
},
name:'ryq',
path:"ryq"
},
{
component:'basicData/mlvh/index',
hidden:false,
meta:{
"title": "目录维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000500,
},
name:'mlvh',
path:"mlvh"
name: 'ryq',
path: "ryq"
},
{
component:'basicData/securityDocumentManagement/index',
hidden:false,
meta:{
"title": "安全文档管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000600,
},
name:'securityDocumentManagement',
path:"securityDocumentManagement"
component: 'basicData/mlvh/index',
hidden: false,
meta: {
"title": "目录维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000500,
},
name: 'mlvh',
path: "mlvh"
},
{
component:'basicData/operationDcManagement/index',
hidden:false,
meta:{
"title": "标准作业文档管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":901000800,
},
name:'operationDcManagement',
path:"operationDcManagement"
component: 'basicData/securityDocumentManagement/index',
hidden: false,
meta: {
"title": "安全文档管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000600,
},
name: 'securityDocumentManagement',
path: "securityDocumentManagement"
},
/* 目录维护 */
/* {
component: 'basicData/bzwdmlwh/index',
hidden: false,
meta: {
"title": "标准作业文档管理目录维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000750,
},
name: 'bzwdmlwh',
path: "bzwdmlwh"
}, */
{
component: 'basicData/operationDcManagement/index',
hidden: false,
meta: {
"title": "标准作业文档管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 901000800,
},
name: 'operationDcManagement',
path: "operationDcManagement"
}
]
},
......@@ -810,57 +829,68 @@ export const powerRoutes=[
erpComponent: true,
component: 'template/index',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'scyfjz',
meta: {title: "双重预防机制", icon: "fa-cog", noCache: false, link: null,mkid:999000007}
meta: {
title: "双重预防机制",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 999000007
}
},
/* 重点工作管理*/
{
path: '/zdgzgl',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'zdgzap',
meta: {title: "重点工作管理", icon: "fa-cog", noCache: false, link: null,mkid:910000000},
children: [
{
component:'daily/zdgzap/index',
hidden:false,
meta:{
"title": "重点工作安排",
"icon": "",
"noCache": false,
"link": null,
"mkid":910000100,
},
name:'zdgzap',
path:"zdgzap"
meta: {
title: "重点工作管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 910000000
},
children: [{
component: 'daily/zdgzap/index',
hidden: false,
meta: {
"title": "重点工作安排",
"icon": "",
"noCache": false,
"link": null,
"mkid": 910000100,
},
name: 'zdgzap',
path: "zdgzap"
},
{
component:'daily/zdgzrw/index',
hidden:false,
meta:{
component: 'daily/zdgzrw/index',
hidden: false,
meta: {
"title": "重点工作任务",
"icon": "",
"noCache": false,
"link": null,
"mkid":910000200,
"mkid": 910000200,
},
name:'zdgzrw',
path:"zdgzrw"
name: 'zdgzrw',
path: "zdgzrw"
},
{
component:'daily/zdgzrwfk/index',
hidden:false,
meta:{
component: 'daily/zdgzrwfk/index',
hidden: false,
meta: {
"title": "重点工作任务反馈",
"icon": "",
"noCache": false,
"link": null,
"mkid":910000300,
"mkid": 910000300,
},
name:'zdgzrwfk',
path:"zdgzrwfk"
name: 'zdgzrwfk',
path: "zdgzrwfk"
}
]
},
......@@ -870,113 +900,118 @@ export const powerRoutes=[
erpComponent: true,
component: 'template/index',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'screeningCriteria',
meta: {title: "风险预控", icon: "fa-cog", noCache: false, link: null,mkid:902000000},
children: [
{
component:'riskPrecontrol/screeningCriteria/index',
hidden:false,
meta:{
"title": "风险点维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":902000200,
},
name:'screeningCriteria',
path:"screeningCriteria"
meta: {
title: "风险预控",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 902000000
},
children: [{
component: 'riskPrecontrol/screeningCriteria/index',
hidden: false,
meta: {
"title": "风险点维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 902000200,
},
name: 'screeningCriteria',
path: "screeningCriteria"
},
{
component:'riskPrecontrol/riskSet/index',
hidden:false,
meta:{
component: 'riskPrecontrol/riskSet/index',
hidden: false,
meta: {
"title": "风险排查设置",
"icon": "",
"noCache": false,
"link": null,
"mkid":902000300,
"mkid": 902000300,
},
name:'riskSet',
path:"riskSet"
name: 'riskSet',
path: "riskSet"
},
{
component:'riskPrecontrol/maintenanceRiskTask/index',
hidden:false,
meta:{
"title": "维护风险排查任务",
"icon": "",
"noCache": false,
"link": null,
"mkid":902000400,
},
name:'maintenanceRiskTask',
path:"maintenanceRiskTask"
component: 'riskPrecontrol/maintenanceRiskTask/index',
hidden: false,
meta: {
"title": "维护风险排查任务",
"icon": "",
"noCache": false,
"link": null,
"mkid": 902000400,
},
name: 'maintenanceRiskTask',
path: "maintenanceRiskTask"
},
{
component:'riskPrecontrol/queryRiskTask/index',
hidden:false,
meta:{
"title": "查询风险排查任务",
"icon": "",
"noCache": false,
"link": null,
"mkid":'902000500',
},
name:'queryRiskTask',
path:"queryRiskTask"
component: 'riskPrecontrol/queryRiskTask/index',
hidden: false,
meta: {
"title": "查询风险排查任务",
"icon": "",
"noCache": false,
"link": null,
"mkid": '902000500',
},
name: 'queryRiskTask',
path: "queryRiskTask"
},
{
component:'riskPrecontrol/riskAnalysis/index',
hidden:false,
meta:{
"title": "风险排查综合分析",
"icon": "",
"noCache": false,
"link": null,
"mkid":902000600,
},
name:'riskAnalysis',
path:"riskAnalysis"
component: 'riskPrecontrol/riskAnalysis/index',
hidden: false,
meta: {
"title": "风险排查综合分析",
"icon": "",
"noCache": false,
"link": null,
"mkid": 902000600,
},
name: 'riskAnalysis',
path: "riskAnalysis"
},
{
component:'riskPrecontrol/shlx/index',
hidden:false,
meta:{
component: 'riskPrecontrol/shlx/index',
hidden: false,
meta: {
"title": "伤害类型维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":902000700,
"mkid": 902000700,
},
name:'shlx',
path:"shlx"
name: 'shlx',
path: "shlx"
},
{
component:'riskPrecontrol/maintenanceRisk/index',
hidden:false,
meta:{
"title": "维护风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid":902000800,
},
name:'maintenanceRisk',
path:"maintenanceRisk"
component: 'riskPrecontrol/maintenanceRisk/index',
hidden: false,
meta: {
"title": "维护风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid": 902000800,
},
name: 'maintenanceRisk',
path: "maintenanceRisk"
},
{
component:'riskPrecontrol/queryRisk/index',
hidden:false,
meta:{
"title": "查询风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid":902001000,
},
name:'queryRisk',
path:"queryRisk"
component: 'riskPrecontrol/queryRisk/index',
hidden: false,
meta: {
"title": "查询风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid": 902001000,
},
name: 'queryRisk',
path: "queryRisk"
},
]
......@@ -987,167 +1022,172 @@ export const powerRoutes=[
erpComponent: true,
component: 'template/index',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'maintenanceDg',
meta: {title: "隐患管理", icon: "fa-cog", noCache: false, link: null,mkid:903000000},
children: [
{
component:'dangerManagement/yhfl/index',
hidden:false,
meta:{
meta: {
title: "隐患管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 903000000
},
children: [{
component: 'dangerManagement/yhfl/index',
hidden: false,
meta: {
"title": "隐患分类",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000100,
},
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,
"mkid": 903000100,
},
name:'maintenanceDg',
path:"maintenanceDg"
},*/
{
component:'dangerManagement/enterSafetyRecords/index',
hidden:false,
meta:{
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',
path:"maintenanceDg"
},*/
{
component: 'dangerManagement/enterSafetyRecords/index',
hidden: false,
meta: {
"title": "录入安全隐患记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000400,
"mkid": 903000400,
},
name:'enterSafetyRecords',
path:"enterSafetyRecords"
name: 'enterSafetyRecords',
path: "enterSafetyRecords"
},
{
component:'dangerManagement/safetyDisposalRecord/index',
hidden:false,
meta:{
component: 'dangerManagement/safetyDisposalRecord/index',
hidden: false,
meta: {
"title": "隐患责任分配",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000600,
"mkid": 903000600,
},
name:'safetyDisposalRecord',
path:"safetyDisposalRecord"
name: 'safetyDisposalRecord',
path: "safetyDisposalRecord"
},
{
component:'dangerManagement/dangerRectificationRecord/index',
hidden:false,
meta:{
component: 'dangerManagement/dangerRectificationRecord/index',
hidden: false,
meta: {
"title": "隐患整改",
"icon": "",
"noCache": false,
"link": null,
"mkid":903000800,
"mkid": 903000800,
},
name:'dangerRectificationRecord',
path:"dangerRectificationRecord"
name: 'dangerRectificationRecord',
path: "dangerRectificationRecord"
},
/* 10 13*/
{
component:'dangerManagement/dangerReviewRecord/index',
hidden:false,
meta:{
component: 'dangerManagement/dangerReviewRecord/index',
hidden: false,
meta: {
"title": "隐患复查",
"icon": "",
"noCache": false,
"link": null,
"mkid":903001000,
"mkid": 903001000,
},
name:'dangerReviewRecord',
path:"dangerReviewRecord"
name: 'dangerReviewRecord',
path: "dangerReviewRecord"
},
{
component:'dangerManagement/queryDangerRecords/index',
hidden:false,
meta:{
component: 'dangerManagement/queryDangerRecords/index',
hidden: false,
meta: {
"title": "查询安全隐患记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":903001200,
"mkid": 903001200,
},
name:'queryDangerRecords',
path:"queryDangerRecords"
name: 'queryDangerRecords',
path: "queryDangerRecords"
},
{
component:'dangerManagement/yhtj/index',
hidden:false,
meta:{
component: 'dangerManagement/yhtj/index',
hidden: false,
meta: {
"title": "风险点隐患统计",
"icon": "",
"noCache": false,
"link": null,
"mkid":903001400,
"mkid": 903001400,
},
name:'yhtj',
path:"yhtj"
name: 'yhtj',
path: "yhtj"
},
{
component:'dangerManagement/cxcqyh/index',
hidden:false,
meta:{
component: 'dangerManagement/cxcqyh/index',
hidden: false,
meta: {
"title": "查询超期隐患记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":'903001500',
"mkid": '903001500',
},
name:'cxcqyh',
path:"cxcqyh"
name: 'cxcqyh',
path: "cxcqyh"
},
{
component:'dangerManagement/yhznytj/index',
hidden:false,
meta:{
component: 'dangerManagement/yhznytj/index',
hidden: false,
meta: {
"title": "安全隐患逐年汇总",
"icon": "",
"noCache": false,
"link": null,
"mkid":'903001600',
"mkid": '903001600',
},
name:'yhznytj',
path:"yhznytj"
name: 'yhznytj',
path: "yhznytj"
},
{
component:'dangerManagement/yhslhz/index',
hidden:false,
meta:{
component: 'dangerManagement/yhslhz/index',
hidden: false,
meta: {
"title": "隐患数量汇总",
"icon": "",
"noCache": false,
"link": null,
"mkid":'903001700',
"mkid": '903001700',
},
name:'yhslhz',
path:"yhslhz"
name: 'yhslhz',
path: "yhslhz"
}
]
},
......@@ -1156,9 +1196,15 @@ export const powerRoutes=[
path: '/threeViolations',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'maintainTV',
meta: {title: "三违管理", icon: "fa-cog", noCache: false, link: null,mkid:904000000},
meta: {
title: "三违管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 904000000
},
children: [
// {
// component:'threeViolations/homePage/oldIndex',
......@@ -1174,82 +1220,82 @@ export const powerRoutes=[
// path:"homePage"
// },
{
component:'threeViolations/maintainTV/index',
hidden:false,
meta:{
"title": "维护三违处罚标准",
"icon": "",
"noCache": false,
"link": null,
"mkid":904000200,
},
name:'maintainTV',
path:"maintainTV"
component: 'threeViolations/maintainTV/index',
hidden: false,
meta: {
"title": "维护三违处罚标准",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904000200,
},
name: 'maintainTV',
path: "maintainTV"
},
{
component:'threeViolations/enterTV/index',
hidden:false,
meta:{
"title": "录入三违情况记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":904000400,
},
name:'enterTV',
path:"enterTV"
component: 'threeViolations/enterTV/index',
hidden: false,
meta: {
"title": "录入三违情况记录",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904000400,
},
name: 'enterTV',
path: "enterTV"
},
{
component:'threeViolations/tFPasses/index',
hidden:false,
meta:{
"title": "三违过五关",
"icon": "",
"noCache": false,
"link": null,
"mkid":904000600,
},
name:'tFPasses',
path:"tFPasses"
component: 'threeViolations/tFPasses/index',
hidden: false,
meta: {
"title": "三违过五关",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904000600,
},
name: 'tFPasses',
path: "tFPasses"
},
{
component:'threeViolations/correctTV/index',
hidden:false,
meta:{
"title": "三违行为纠正",
"icon": "",
"noCache": false,
"link": null,
"mkid":904000800,
},
name:'correctTV',
path:"correctTV"
component: 'threeViolations/correctTV/index',
hidden: false,
meta: {
"title": "三违行为纠正",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904000800,
},
name: 'correctTV',
path: "correctTV"
},
{
component:'threeViolations/queryRecords/index',
hidden:false,
meta:{
"title": "查询人员三违记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":904001000,
},
name:'queryRecords',
path:"queryRecords"
component: 'threeViolations/queryRecords/index',
hidden: false,
meta: {
"title": "查询人员三违记录",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904001000,
},
name: 'queryRecords',
path: "queryRecords"
},
{
component:'threeViolations/punishmentRecord/index',
hidden:false,
meta:{
"title": "安全处罚记录管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":904001200,
},
name:'punishmentRecord',
path:"punishmentRecord"
component: 'threeViolations/punishmentRecord/index',
hidden: false,
meta: {
"title": "安全处罚记录管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904001200,
},
name: 'punishmentRecord',
path: "punishmentRecord"
}
]
},
......@@ -1259,48 +1305,53 @@ export const powerRoutes=[
path: '/contingency',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'contingencyManager',
meta: {title: "应急管理", icon: "fa-cog", noCache: false, link: null,mkid:904100000},
children: [
{
component:'contingency/contingencyManager/index',
hidden:false,
meta:{
meta: {
title: "应急管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 904100000
},
children: [{
component: 'contingency/contingencyManager/index',
hidden: false,
meta: {
"title": "应急预案管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":904100200,
"mkid": 904100200,
},
name:'contingencyManager',
path:"contingencyManager"
name: 'contingencyManager',
path: "contingencyManager"
},
{
component:'contingency/contingencyplan/index',
hidden:false,
meta:{
component: 'contingency/contingencyplan/index',
hidden: false,
meta: {
"title": "应急演练计划",
"icon": "",
"noCache": false,
"link": null,
"mkid":904100400,
"mkid": 904100400,
},
name:'contingencyplan',
path:"contingencyplan"
name: 'contingencyplan',
path: "contingencyplan"
},
{
component:'contingency/contingencystudy/index',
hidden:false,
meta:{
component: 'contingency/contingencystudy/index',
hidden: false,
meta: {
"title": "应急演练",
"icon": "",
"noCache": false,
"link": null,
"mkid":904100600,
"mkid": 904100600,
},
name:'contingencystudy',
path:"contingencystudy"
name: 'contingencystudy',
path: "contingencystudy"
}
]
},
......@@ -1310,49 +1361,54 @@ export const powerRoutes=[
path: '/safetyactivity',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'activityRecord',
meta: {title: "安全活动", icon: "fa-cog", noCache: false, link: null,mkid:904400000},
children: [
{
component:'safetyactivity/activityRecord/index',
hidden:false,
meta:{
meta: {
title: "安全活动",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 904400000
},
children: [{
component: 'safetyactivity/activityRecord/index',
hidden: false,
meta: {
"title": "维护安全活动记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":904400200,
},
name:'activityRecord',
path:"activityRecord"
},
{
component:'safetyactivity/aqhdzxgz/index',
hidden:false,
meta:{
"title": "安全活动执行跟踪",
"icon": "",
"noCache": false,
"link": null,
"mkid":904400400,
},
name:'aqhdzxgz',
path:"aqhdzxgz"
"mkid": 904400200,
},
name: 'activityRecord',
path: "activityRecord"
},
{
component:'safetyactivity/bzhzy/index',
hidden:false,
meta:{
"title": "标准化作业",
"icon": "",
"noCache": false,
"link": null,
"mkid":904400500,
},
name:'bzhzy',
path:"bzhzy"
}
component: 'safetyactivity/aqhdzxgz/index',
hidden: false,
meta: {
"title": "安全活动执行跟踪",
"icon": "",
"noCache": false,
"link": null,
"mkid": 904400400,
},
name: 'aqhdzxgz',
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=[
path: '/dailya',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'zsfl',
meta: {title: "日常管理", icon: "fa-cog", noCache: false, link: null,mkid:905010000},
children: [
{
component:'daily/zsfl/index',
hidden:false,
meta:{
meta: {
title: "日常管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 905010000
},
children: [{
component: 'daily/zsfl/index',
hidden: false,
meta: {
"title": "证书分类",
"icon": "",
"noCache": false,
"link": null,
"mkid":905000500,
"mkid": 905000500,
},
name:'zsfl',
path:"zsfl"
name: 'zsfl',
path: "zsfl"
},
{
component:'daily/holdCertificate/index',
hidden:false,
meta:{
component: 'daily/holdCertificate/index',
hidden: false,
meta: {
"title": "职工持证信息管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":905000600,
"mkid": 905000600,
},
name:'holdCertificate',
path:"holdCertificate"
name: 'holdCertificate',
path: "holdCertificate"
},
/* 5.21新增*/
{
component:'daily/zyfzr/index',
hidden:false,
meta:{
component: 'daily/zyfzr/index',
hidden: false,
meta: {
"title": "主要负责人",
"icon": "",
"noCache": false,
"link": null,
"mkid":905000700,
"mkid": 905000700,
},
name:'zyfzr',
path:"zyfzr"
name: 'zyfzr',
path: "zyfzr"
},
{
component:'daily/aqglry/index',
hidden:false,
meta:{
component: 'daily/aqglry/index',
hidden: false,
meta: {
"title": "安全管理人员",
"icon": "",
"noCache": false,
"link": null,
"mkid":905000800,
"mkid": 905000800,
},
name:'aqglry',
path:"aqglry"
name: 'aqglry',
path: "aqglry"
},
{
component:'daily/tzzyry/index',
hidden:false,
meta:{
component: 'daily/tzzyry/index',
hidden: false,
meta: {
"title": "特种作业人员",
"icon": "",
"noCache": false,
"link": null,
"mkid":905000900,
"mkid": 905000900,
},
name:'tzzyry',
path:"tzzyry"
name: 'tzzyry',
path: "tzzyry"
}
]
},
/*非常规作业*/
/*非常规作业*/
{
path: '/dailyb',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'nrtm',
meta: {title: "日常管理", icon: "fa-cog", noCache: false, link: null,mkid:905100000},
children: [
{
component:'daily/nrtm/index',
hidden:false,
meta:{
meta: {
title: "日常管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 905100000
},
children: [{
component: 'daily/nrtm/index',
hidden: false,
meta: {
"title": "非常规作业类型",
"icon": "",
"noCache": false,
"link": null,
"mkid":905100400,
"mkid": 905100400,
},
name:'nrtm',
path:"nrtm"
name: 'nrtm',
path: "nrtm"
},
{
component:'daily/fcgzysqd/index',
hidden:false,
meta:{
component: 'daily/fcgzysqd/index',
hidden: false,
meta: {
"title": "非常规作业申请单",
"icon": "",
"noCache": false,
"link": null,
"mkid":905100500,
"mkid": 905100500,
},
name:'fcgzysqd',
path:"fcgzysqd"
name: 'fcgzysqd',
path: "fcgzysqd"
},
{
component:'daily/nros/index',
hidden:false,
meta:{
component: 'daily/nros/index',
hidden: false,
meta: {
"title": "非常规作业标准",
"icon": "",
"noCache": false,
"link": null,
"mkid":905100200,
"mkid": 905100200,
},
name:'nros',
path:"nros"
name: 'nros',
path: "nros"
},
{
component:'daily/fcghd/index',
hidden:false,
meta:{
component: 'daily/fcghd/index',
hidden: false,
meta: {
"title": "非常规作业活动",
"icon": "",
"noCache": false,
"link": null,
"mkid":905100300,
"mkid": 905100300,
},
name:'fcghd',
path:"fcghd"
name: 'fcghd',
path: "fcghd"
},
]
},
......@@ -1500,48 +1566,53 @@ export const powerRoutes=[
path: '/zywsgl',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'zyjkglzd',
meta: {title: "职业卫生管理", icon: "fa-cog", noCache: false, link: null,mkid:1911000000},
children: [
{
component:'zywsgl/zyjkglzd/index',
hidden:false,
meta:{
meta: {
title: "职业卫生管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 1911000000
},
children: [{
component: 'zywsgl/zyjkglzd/index',
hidden: false,
meta: {
"title": "职业健康管理制度",
"icon": "",
"noCache": false,
"link": null,
"mkid":1911000100,
"mkid": 1911000100,
},
name:'zyjkglzd',
path:"zyjkglzd"
name: 'zyjkglzd',
path: "zyjkglzd"
},
{
component:'zywsgl/jcpjbg/index',
hidden:false,
meta:{
component: 'zywsgl/jcpjbg/index',
hidden: false,
meta: {
"title": "检测评价报告",
"icon": "",
"noCache": false,
"link": null,
"mkid":1911000200,
"mkid": 1911000200,
},
name:'jcpjbg',
path:"jcpjbg"
name: 'jcpjbg',
path: "jcpjbg"
},
{
component:'zywsgl/grzyjkda/index',
hidden:false,
meta:{
component: 'zywsgl/grzyjkda/index',
hidden: false,
meta: {
"title": "个人职业健康档案",
"icon": "",
"noCache": false,
"link": null,
"mkid":1911000300,
"mkid": 1911000300,
},
name:'grzyjkda',
path:"grzyjkda"
name: 'grzyjkda',
path: "grzyjkda"
}
]
},
......@@ -1550,87 +1621,92 @@ export const powerRoutes=[
path: '/dailyc',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'classification',
meta: {title: "日常管理", icon: "fa-cog", noCache: false, link: null,mkid:905200000},
children: [
{
component:'daily/classification/index',
hidden:false,
meta:{
meta: {
title: "日常管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 905200000
},
children: [{
component: 'daily/classification/index',
hidden: false,
meta: {
"title": "履职分类",
"icon": "",
"noCache": false,
"link": null,
"mkid":905200100,
"mkid": 905200100,
},
name:'classification',
path:"classification"
name: 'classification',
path: "classification"
},
{
component:'daily/maintenanceDuty/index',
hidden:false,
meta:{
component: 'daily/maintenanceDuty/index',
hidden: false,
meta: {
"title": "履职报告标准维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":905200200,
"mkid": 905200200,
},
name:'maintenanceDuty',
path:"maintenanceDuty"
name: 'maintenanceDuty',
path: "maintenanceDuty"
},
{
component:'daily/duty/index',
hidden:false,
meta:{
component: 'daily/duty/index',
hidden: false,
meta: {
"title": "履职任务",
"icon": "",
"noCache": false,
"link": null,
"mkid":905200400,
"mkid": 905200400,
},
name:'duty',
path:"duty"
name: 'duty',
path: "duty"
},
{
component:'daily/performanceReport/index',
hidden:false,
meta:{
component: 'daily/performanceReport/index',
hidden: false,
meta: {
"title": "履职报告填写",
"icon": "",
"noCache": false,
"link": null,
"mkid":905200500,
"mkid": 905200500,
},
name:'performanceReport',
path:"performanceReport"
name: 'performanceReport',
path: "performanceReport"
},
{
component:'daily/performanceReportSet/index',
hidden:false,
meta:{
component: 'daily/performanceReportSet/index',
hidden: false,
meta: {
"title": "履职设置",
"icon": "",
"noCache": false,
"link": null,
"mkid":905200300,
"mkid": 905200300,
},
name:'performanceReportSet',
path:"performanceReportSet"
name: 'performanceReportSet',
path: "performanceReportSet"
},
{
component:'daily/queryPerformanceReport/index',
hidden:false,
meta:{
component: 'daily/queryPerformanceReport/index',
hidden: false,
meta: {
"title": "履职记录查询",
"icon": "",
"noCache": false,
"link": null,
"mkid":905200600,
"mkid": 905200600,
},
name:'queryPerformanceReport',
path:"queryPerformanceReport"
name: 'queryPerformanceReport',
path: "queryPerformanceReport"
},
......@@ -1836,35 +1912,40 @@ export const powerRoutes=[
path: '/train',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'planning',
meta: {title: "培训管理", icon: "fa-cog", noCache: false, link: null,mkid:906000000},
children: [
{
component:'train/planning/index',
hidden:false,
meta:{
"title": "培训计划制定",
"icon": "",
"noCache": false,
"link": null,
"mkid":906000200,
},
name:'planning',
path:"planning"
meta: {
title: "培训管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 906000000
},
children: [{
component: 'train/planning/index',
hidden: false,
meta: {
"title": "培训计划制定",
"icon": "",
"noCache": false,
"link": null,
"mkid": 906000200,
},
name: 'planning',
path: "planning"
},
{
component:'train/assessment/index',
hidden:false,
meta:{
"title": "培训评估管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":906000400,
},
name:'assessment',
path:"assessment"
component: 'train/assessment/index',
hidden: false,
meta: {
"title": "培训评估管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 906000400,
},
name: 'assessment',
path: "assessment"
},
// {
// component:'train/trainRecord/index',
......@@ -1893,30 +1974,30 @@ export const powerRoutes=[
// path:"onlinExaminations"
// },
{
component:'train/tsubject/index',
hidden:false,
meta:{
component: 'train/tsubject/index',
hidden: false,
meta: {
"title": "题库维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":906000100,
"mkid": 906000100,
},
name:'tsubject',
path:"tsubject"
name: 'tsubject',
path: "tsubject"
},
{
component:'train/questionManage/index',
hidden:false,
meta:{
"title": "试题管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":'906000800',
},
name:'questionManage',
path:"questionManage"
component: 'train/questionManage/index',
hidden: false,
meta: {
"title": "试题管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": '906000800',
},
name: 'questionManage',
path: "questionManage"
},
// {
// component:'train/testPaper/index',
......@@ -1945,43 +2026,43 @@ export const powerRoutes=[
// path:"onlinExamination"
// },
{
component:'train/paperManagement/index',
hidden:false,
meta:{
"title": "试卷管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":906001000,
},
name:'paperManagement',
path:"paperManagement"
component: 'train/paperManagement/index',
hidden: false,
meta: {
"title": "试卷管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 906001000,
},
name: 'paperManagement',
path: "paperManagement"
},
{
component:'train/ks/index',
hidden:false,
meta:{
"title": "考试管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":'906001200',
},
name:'ks',
path:"ks"
component: 'train/ks/index',
hidden: false,
meta: {
"title": "考试管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": '906001200',
},
name: 'ks',
path: "ks"
},
{
component:'train/ksjl/index',
hidden:false,
meta:{
"title": "考试记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":906001600,
},
name:'ksjl',
path:"ksjl"
component: 'train/ksjl/index',
hidden: false,
meta: {
"title": "考试记录",
"icon": "",
"noCache": false,
"link": null,
"mkid": 906001600,
},
name: 'ksjl',
path: "ksjl"
}
/*,
......@@ -2020,93 +2101,105 @@ export const powerRoutes=[
]
},
{
path:"/paper/:id",
component:'train/testPaper/index',
hidden:true,
meta:{
"title": "考试试卷",
"icon": "",
"noCache": false,
"link": null,
"mkid":'test',
},
name:'paper',
path: "/paper/:id",
component: 'train/testPaper/index',
hidden: true,
meta: {
"title": "考试试卷",
"icon": "",
"noCache": false,
"link": null,
"mkid": 'test',
},
name: 'paper',
},
/* 查询统计 */
{
/* 查询统计 */
{
path: '/cxtj',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'yhznytj',
meta: {title: "查询统计", icon: "fa-cog", noCache: false, link: null,mkid:907000000},
meta: {
title: "查询统计",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 907000000
},
children: [
/* */
{
component:'dangerManagement/cxcqyh/index',
hidden:false,
meta:{
component: 'dangerManagement/cxcqyh/index',
hidden: false,
meta: {
"title": "查询超期隐患记录",
"icon": "",
"noCache": false,
"link": null,
"mkid":'907000400',
"mkid": '907000400',
},
name:'cxcqyh',
path:"cxcqyh"
name: 'cxcqyh',
path: "cxcqyh"
},
{
component:'dangerManagement/yhznytj/index',
hidden:false,
meta:{
component: 'dangerManagement/yhznytj/index',
hidden: false,
meta: {
"title": "安全隐患逐年汇总",
"icon": "",
"noCache": false,
"link": null,
"mkid":'907000200',
"mkid": '907000200',
},
name:'yhznytj',
path:"yhznytj"
name: 'yhznytj',
path: "yhznytj"
}
]
},
/* 设备管理 */
/* 设备管理 */
{
path: '/equipment',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'equipmentClass',
meta: {title: "设备管理", icon: "fa-cog", noCache: false, link: null,mkid:908000000},
meta: {
title: "设备管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 908000000
},
children: [
{
component:'equipment/equipmentClass/index',
hidden:false,
meta:{
"title": "维护设备分类",
"icon": "",
"noCache": false,
"link": null,
"mkid":908000100,
},
name:'equipmentClass',
path:"equipmentClass"
component: 'equipment/equipmentClass/index',
hidden: false,
meta: {
"title": "维护设备分类",
"icon": "",
"noCache": false,
"link": null,
"mkid": 908000100,
},
name: 'equipmentClass',
path: "equipmentClass"
},
{
component:'equipment/archives/index',
hidden:false,
meta:{
"title": "设备档案管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":908000200,
},
name:'archives',
path:"archives"
component: 'equipment/archives/index',
hidden: false,
meta: {
"title": "设备档案管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 908000200,
},
name: 'archives',
path: "archives"
},
// {
// component:'equipment/specialEquipment/index',
......@@ -2162,31 +2255,31 @@ export const powerRoutes=[
// },
/* 设备保养项目*/
{
component:'equipment/sbbyxm/index',
hidden:false,
meta:{
"title": "保养项目维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":'908000300',
},
name:'sbbyxm',
path:"sbbyxm"
component: 'equipment/sbbyxm/index',
hidden: false,
meta: {
"title": "保养项目维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": '908000300',
},
name: 'sbbyxm',
path: "sbbyxm"
},
/* 设备保养项目*/
{
component:'equipment/sbbymx/index',
hidden:false,
meta:{
"title": "设备保养信息",
"icon": "",
"noCache": false,
"link": null,
"mkid":'908000400',
},
name:'sbbymx',
path:"sbbymx"
component: 'equipment/sbbymx/index',
hidden: false,
meta: {
"title": "设备保养信息",
"icon": "",
"noCache": false,
"link": null,
"mkid": '908000400',
},
name: 'sbbymx',
path: "sbbymx"
}
]
},
......@@ -2195,50 +2288,56 @@ export const powerRoutes=[
path: '/sggl',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'shlx',
meta: {title: "事故管理", icon: "fa-cog", noCache: false, link: null,mkid:1912000000},
meta: {
title: "事故管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 1912000000
},
children: [
/* */
{
component:'riskPrecontrol/shlx/index',
hidden:false,
meta:{
"title": "伤害类型维护",
"icon": "",
"noCache": false,
"link": null,
"mkid":1912000100,
},
name:'shlx',
path:"shlx"
},
{
component:'riskPrecontrol/maintenanceRisk/index',
hidden:false,
meta:{
{
component: 'riskPrecontrol/shlx/index',
hidden: false,
meta: {
"title": "伤害类型维护",
"icon": "",
"noCache": false,
"link": null,
"mkid": 1912000100,
},
name: 'shlx',
path: "shlx"
},
{
component: 'riskPrecontrol/maintenanceRisk/index',
hidden: false,
meta: {
"title": "维护风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid":1912000200,
"mkid": 1912000200,
},
name: 'maintenanceRisk',
path: "maintenanceRisk"
},
name:'maintenanceRisk',
path:"maintenanceRisk"
},
{
component:'riskPrecontrol/queryRisk/index',
hidden:false,
meta:{
{
component: 'riskPrecontrol/queryRisk/index',
hidden: false,
meta: {
"title": "查询风险事件库",
"icon": "",
"noCache": false,
"link": null,
"mkid":1912000300,
"mkid": 1912000300,
},
name: 'queryRisk',
path: "queryRisk"
},
name:'queryRisk',
path:"queryRisk"
},
]
},
/* 外协管理 */
......@@ -2246,62 +2345,67 @@ export const powerRoutes=[
path: '/outsourcingDirector',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'declare',
meta: {title: "外协管理", icon: "fa-cog", noCache: false, link: null,mkid:909000000},
children: [
meta: {
title: "外协管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 909000000
},
children: [{
component: 'outsourcingDirector/declare/index',
hidden: false,
meta: {
"title": "外协单位准入申报",
"icon": "",
"noCache": false,
"link": null,
"mkid": 909000200,
},
name: 'declare',
path: "declare"
},
{
component:'outsourcingDirector/declare/index',
hidden:false,
meta:{
"title": "外协单位准入申报",
"icon": "",
"noCache": false,
"link": null,
"mkid":909000200,
},
name:'declare',
path:"declare"
},
{
component:'outsourcingDirector/approve/index',
hidden:false,
meta:{
"title": "外协单位准入审批",
"icon": "",
"noCache": false,
"link": null,
"mkid":909000400,
},
name:'approve',
path:"approve"
},
{
component:'outsourcingDirector/process/index',
hidden:false,
meta:{
"title": "外协单位过程管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":909000600,
},
name:'process',
path:"process"
},
{
component:'outsourcingDirector/archives/index',
hidden:false,
meta:{
"title": "外协单位档案管理",
"icon": "",
"noCache": false,
"link": null,
"mkid":909000900,
},
name:'archives',
path:"archives"
}
component: 'outsourcingDirector/approve/index',
hidden: false,
meta: {
"title": "外协单位准入审批",
"icon": "",
"noCache": false,
"link": null,
"mkid": 909000400,
},
name: 'approve',
path: "approve"
},
{
component: 'outsourcingDirector/process/index',
hidden: false,
meta: {
"title": "外协单位过程管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 909000600,
},
name: 'process',
path: "process"
},
{
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=[
path: '/spaceOperations',
component: 'Layout',
hidden: false,
alwaysShow:true,
alwaysShow: true,
redirect: 'declare',
meta: {title: "有限空间作业", icon: "fa-cog", noCache: false, link: null,mkid:905000000},
meta: {
title: "有限空间作业",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 905000000
},
children: [{
component: 'spaceOperations/declare/index',
hidden: false,
meta: {
"title": "外协单位准入申报",
"icon": "",
"noCache": false,
"link": null,
"mkid": 905002000,
},
name: 'declare',
path: "declare"
}]
},
{
path: '/aqjkgl',
component: 'Layout',
hidden: false,
alwaysShow: true,
redirect: 'yhznytj',
meta: {
title: "安全监控管理",
icon: "fa-cog",
noCache: false,
link: null,
mkid: 913000000
},
children: [
/* */
{
component:'spaceOperations/declare/index',
hidden:false,
meta:{
"title": "外协单位准入申报",
"icon": "",
"noCache": false,
"link": null,
"mkid":905002000,
},
name:'declare',
path:"declare"
}
hidden: false,
meta: {
"title": "视频接入展示",
"icon": "",
"noCache": false,
"link": null,
"mkid": '913000100',
},
path: 'http://localhost:80',
},
{
hidden: false,
meta: {
"title": "在线检测系统展示",
"icon": "",
"noCache": false,
"link": null,
"mkid": '913000200',
},
path: 'http://localhost:81',
}
]
}
},
]
// 公共路由
export const constantRoutes = [
{
path:"/paper/:id",
export const constantRoutes = [{
path: "/paper/:id",
component: () => import('@/views/train/testPaper/index.vue'),
// component:'train/testPaper/index',
hidden:true,
meta:{
"title": "考试试卷",
"icon": "",
"noCache": false,
"link": null,
"mkid":'test',
},
name:'paper',
// component:'train/testPaper/index',
hidden: true,
meta: {
"title": "考试试卷",
"icon": "",
"noCache": false,
"link": null,
"mkid": 'test',
},
name: 'paper',
},
{
path: '/redirect',
component: Layout,
hidden: true,
children: [
{
path: '/redirect/:path(.*)',
component: () => import('@/views/redirect')
}
]
children: [{
path: '/redirect/:path(.*)',
component: () => import('@/views/redirect')
}]
},
{
path: '/login',
......@@ -2380,28 +2525,31 @@ export const constantRoutes = [
path: '',
component: Layout,
redirect: 'index',
children: [
{
path: 'index',
component: () => import('@/views/threeViolations/homePage/index'),
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
}
]
children: [{
path: 'index',
component: () => import('@/views/threeViolations/homePage/index'),
name: 'Index',
meta: {
title: '首页',
icon: 'dashboard',
affix: true
}
}]
},
{
path: '/user',
component: Layout,
hidden: true,
redirect: 'noredirect',
children: [
{
path: 'profile',
component: () => import('common/src/views/user/profile/index'),
name: 'Profile',
meta: { title: '个人中心', icon: 'user' }
children: [{
path: 'profile',
component: () => import('common/src/views/user/profile/index'),
name: 'Profile',
meta: {
title: '个人中心',
icon: 'user'
}
]
}]
},
/* 陕钢铁预写死页面*/
]
......@@ -2421,6 +2569,8 @@ Router.prototype.push = function push(location) {
export default new Router({
// mode: 'history',
mode: 'hash',
scrollBehavior: () => ({ y: 0 }),
scrollBehavior: () => ({
y: 0
}),
routes: constantRoutes
})
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