Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
web-template
Commits
57490be3
Commit
57490be3
authored
Sep 08, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除没用到的路由
parent
efff0007
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
283 deletions
+0
-283
index.js
src/router/index.js
+0
-283
No files found.
src/router/index.js
View file @
57490be3
...
...
@@ -5,7 +5,6 @@ Vue.use(Router)
/* Layout */
import
Layout
from
'@/layout'
import
LayoutLogin
from
'@/layoutLogin'
/**
* hidden: true 当设置 true 的时候该路由不会在侧边栏出现 如401,login等页面,或者如一些编辑页面/edit/1 (默认 false)
...
...
@@ -43,26 +42,6 @@ export const constantRoutes = [
component
:
(
resolve
)
=>
require
([
'@/views/login/login.vue'
],
resolve
),
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'
,
component
:
()
=>
import
(
'@/views/404'
),
...
...
@@ -81,275 +60,13 @@ export const constantRoutes = [
meta
:
{
title
:
'修改密码'
,
icon
:
'dashboard'
}
}]
},
/* {
path: '/',
component: Layout,
redirect: '/uiStandard/info'
},*/
{
path
:
'/welcome'
,
component
:
Layout
,
name
:
'welcome'
,
hidden
:
true
,
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' }
}
]
}*/
]
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment