Commit 57490be3 authored by 张伯涛's avatar 张伯涛

删除没用到的路由

parent efff0007
...@@ -5,7 +5,6 @@ Vue.use(Router) ...@@ -5,7 +5,6 @@ Vue.use(Router)
/* Layout */ /* Layout */
import Layout from '@/layout' import Layout from '@/layout'
import LayoutLogin from '@/layoutLogin'
/** /**
* hidden: true 当设置 true 的时候该路由不会在侧边栏出现 如401,login等页面,或者如一些编辑页面/edit/1 (默认 false) * hidden: true 当设置 true 的时候该路由不会在侧边栏出现 如401,login等页面,或者如一些编辑页面/edit/1 (默认 false)
...@@ -43,26 +42,6 @@ export const constantRoutes = [ ...@@ -43,26 +42,6 @@ export const constantRoutes = [
component: (resolve) => require(['@/views/login/login.vue'], resolve), component: (resolve) => require(['@/views/login/login.vue'], resolve),
hidden: true hidden: true
}, },
// {
// path: '/forgetPwd',
// component: LayoutLogin,
// redirect: '/forgetPwd/index',
// hidden: true,
// children: [
// {
// path: '/forgetPwd/index',
// component: (resolve) => require(['@/views/login/forgetPwd'], resolve),
// name: '忘记密码',
// meta: { title: '忘记密码', icon: 'dashboard', noCache: true, affix: true }
// },
// {
// path: '/forgetPwd/reSet',
// component: (resolve) => require(['@/views/login/setPwd'], resolve),
// name: '重置密码',
// meta: { title: '重置密码', icon: 'dashboard', noCache: true, affix: true }
// }
// ]
// },
{ {
path: '/404', path: '/404',
component: () => import('@/views/404'), component: () => import('@/views/404'),
...@@ -81,275 +60,13 @@ export const constantRoutes = [ ...@@ -81,275 +60,13 @@ export const constantRoutes = [
meta: { title: '修改密码', icon: 'dashboard' } meta: { title: '修改密码', icon: 'dashboard' }
}] }]
}, },
/* {
path: '/',
component: Layout,
redirect: '/uiStandard/info'
},*/
{ {
path: '/welcome', path: '/welcome',
component: Layout, component: Layout,
name: 'welcome', name: 'welcome',
hidden: true, hidden: true,
meta: { title: '欢迎', icon: 'dashboard' } meta: { title: '欢迎', icon: 'dashboard' }
},
{
path: '/dict',
component: Layout,
hidden: true,
children: [
{
path: 'type/data/:dictId(\\d+)',
component: (resolve) => require(['@/views/system/dict/data'], resolve),
name: 'Data',
meta: { title: '字典数据', icon: '' }
}
]
} }
// {
// path: '/old',
// component: Layout,
// redirect: '/old/oldConfig',
// hidden: true,
// children: [{
// path: '/old/oldConfig',
// name: 'OldConfig',
// component: () => import('@/views/mesCenter/msgConfigOld.vue'),
// meta: { title: '消息配置旧的', icon: 'dashboard' }
// },
// {
// path: '/old/addMes',
// name: 'AddMes',
// component: () => import('@/views/mesCenter/addMes.vue'),
// meta: { title: '新增消息', icon: 'dashboard' }
// },
// {
// path: '/old/editMes',
// name: 'EditMes',
// component: () => import('@/views/mesCenter/editMes.vue'),
// meta: { title: '修改消息', icon: 'dashboard' }
// }
// ]
// }
/*,
{
path: '/log',
component: Layout,
redirect: '/log/operLog',
children: [{
path: '/log/operLog',
name: 'Operlog',
component: () => import('@/views/monitor/operLog/index.vue'),
meta: { title: '操作日志', icon: 'dashboard' }
}]
}*/
// 系统管理
/* {
path: '/sysManage',
component: Layout,
name: 'sysManage',
redirect: '/sysManage/userManage',
meta: { title: '系统管理', icon: 'dashboard' },
showFather: 'true',
children: [{
path: '/sysManage/userManage',
name: 'UserManage',
component: () => import('@/views/system/user'),
meta: { title: '用户管理', icon: 'dashboard' }
},
{
path: '/sysManage/roleManage',
name: 'RoleManage',
component: () => import('@/views/system/role'),
meta: { title: '角色管理', icon: 'dashboard' }
},
{
path: '/sysManage/deptManage',
name: 'DeptManage',
component: () => import('@/views/system/dept'),
meta: { title: '部门管理', icon: 'dashboard' }
},
{
path: '/sysManage/menuManage',
name: 'MenuManage',
component: () => import('@/views/system/menu'),
meta: { title: '菜单管理', icon: 'dashboard' }
},
{
path: '/sysManage/dictionary',
name: 'Dictionary',
component: () => import('@/views/system/menu'),
meta: { title: '数据字典', icon: 'dashboard' }
}
]
},*/
// 消息中心
/* {
path: '/mesCenter',
component: Layout,
name: 'MesCenter',
redirect: '/mesCenter/bussinessMes',
meta: { title: '消息中心', icon: 'dashboard' },
showFather: 'true',
children: [{
path: '/mesCenter/bussinessMes',
name: 'BussinessMes',
component: () => import('@/views/operationCenter'),
meta: { title: '业务消息', icon: 'dashboard' }
},
{
path: '/mesCenter/mailMes',
name: 'MailMes',
component: () => import('@/views/operationCenter'),
meta: { title: '邮件消息', icon: 'dashboard' }
},
{
path: '/mesCenter/mobileMes',
name: 'MobileMes',
component: () => import('@/views/operationCenter'),
meta: { title: '短信消息', icon: 'dashboard' }
}
]
},*/
// 集成管理
// {
// path: '/integratedManagement',
// component: Layout,
// name: 'IntegratedManagement',
// redirect: '/integratedManagement/dataIntegrated',
// meta: { title: '集成管理', icon: 'dashboard' },
// showFather: 'true',
// children: [{
// path: '/integratedManagement/dataIntegrated',
// name: 'DataIntegrated',
// component: () => import('@/views/operationCenter'),
// meta: { title: '数据集成', icon: 'dashboard' }
// }
// ]
// },
// 移动集成
// {
// path: '/mobileIntegrated',
// component: Layout,
// name: 'MobileIntegrated',
// redirect: '/mobileIntegrated/appManage',
// meta: { title: '移动集成', icon: 'dashboard' },
// showFather: 'true',
// children: [{
// path: '/mobileIntegrated/appManage',
// name: 'AppManage',
// component: () => import('@/views/operationCenter'),
// meta: { title: '应用管理', icon: 'dashboard' }
// }
// ]
// },
// 流程设计
/* {
path: '/workflow',
component: Layout,
name: 'Workflow',
redirect: '/workflow/group',
meta: { title: '流程设计', icon: 'dashboard' },
showFather: 'true',
children: [{
path: '/workflow/group',
name: 'Group',
component: () => import('@/views/workflow/group/index.vue'),
meta: { title: '业务分组', icon: 'dashboard' }
},
{
path: '/workflow/formTemplate',
name: 'FormTemplate',
component: () => import('@/views/workflow/formTemplate/list.vue'),
meta: { title: '表单模板', icon: 'dashboard' }
},
{
path: '/workflow/formTemplate/add',
name: 'FormTemplateAdd',
hidden: true,
component: () => import('@/views/workflow/formTemplate/add.vue'),
meta: { title: '表单添加', icon: 'dashboard' }
},
{
path: '/workflow/workFlowManage',
name: 'WorkFlowManage',
component: () => import('@/views/workflow/processLIst/ProcessList.vue'),
meta: { title: '流程定义', icon: 'dashboard' }
},
{
path: '/workflow/workFlowManage/edit',
name: 'WorkFlowEdit',
hidden: true,
component: () => import('@/views/workflow/processLIst/EditProcessList.vue'),
meta: { title: '流程编辑', icon: 'dashboard' }
},
{
path: '/workflow/workFlowInstance',
name: 'WorkFlowInstance',
component: () => import('@/views/workflow/workFlowInstance/index.vue'),
meta: { title: '流程实例', icon: 'dashboard' }
}
]
},*/
// {
// path: '/uiStandard',
// component: Layout,
// redirect: '/uiStandard/info',
// children: [{
// path: '/uiStandard/info',
// name: 'uiStandardInfo',
// component: () => import('@/views/uiStandard/index.vue'),
// meta: { title: 'ui标准', icon: 'dashboard' }
// }]
// },
// 业务管理
/* {
path: '/businessManage',
component: Layout,
name: 'businessManage',
redirect: '/businessManage/todolist',
meta: { title: '业务管理', icon: 'dashboard' },
showFather: 'true',
children: [
{
path: '/businessManage/todolist',
name: 'bmTodoList',
component: () => import('@/views/instance/TodoList'),
meta: { title: '待办事项', pageType: 1, icon: 'dashboard' }
},
{
path: '/businessManage/personal/todolist',
name: 'bmDoneList',
component: () => import('@/views/instance/doneList'),
meta: { title: '已办事项', pageType: 2, icon: 'dashboard' }
},
{
path: '/businessManage/taskDetail/:param',
name: 'bmTaskDetail',
component: () => import('@/views/instance/TaskDetail'),
hidden: true,
meta: { title: '任务详情页', icon: 'dashboard' }
},
{
path: '/businessManage/template',
name: 'bmTemplate',
component: () => import('@/views/instance/Template'),
meta: { title: '模板渲染展示', icon: 'dashboard' }
},
{
path: '/businessManage/instance/listDetail',
name: 'ListDetail',
component: () => import('@/views/instance/ListDetail'),
meta: { title: '流程详情', icon: 'dashboard' }
},
{
path: '/businessManage/instance/list',
name: 'InstanceList',
component: () => import('@/views/instance/InstanceList'),
meta: { title: '流程启动列表', icon: 'dashboard' }
}
]
}*/
] ]
/** /**
......
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