This commit is contained in:
Vergil
2020-02-12 10:55:02 +08:00
parent 5e3c96892b
commit 6fc32042b3
3 changed files with 6 additions and 102 deletions

View File

@@ -62,42 +62,6 @@ export const constantRouterMap = [
component: () => import('@/views/dashboard/index')
}]
}
// {
// path: '/ProjectManagement',
// component: Layout,
// children: [
// {
// path: 'summarize',
// name: 'summarize',
// component: () => import('@/views/ProjectManagement/summarize'),
// meta: { title: '项目总结', icon: 'summarize' }
// }
// ]
// },
// {
// path: '/ProjectManagement',
// component: Layout,
// children: [
// {
// path: 'assess',
// name: 'assess',
// component: () => import('@/views/ProjectManagement/assess'),
// meta: { title: '项目考核', icon: 'assess' }
// }
// ]
// },
// {
// path: '/ProjectManagement',
// component: Layout,
// children: [
// {
// path: 'progress',
// name: 'progress',
// component: () => import('@/views/ProjectManagement/progress'),
// meta: { title: '项目进展', icon: 'progress' }
// }
// ]
// }
]
export default new Router({
@@ -107,65 +71,5 @@ export default new Router({
})
export const asyncRouterMap = [
{
path: '/BasicData',
component: Layout,
children: [
{
path: 'PersonnelManagement',
name: 'PersonnelManagement',
component: () => import('@/views/BasicData/PersonnelManagement'),
meta: { title: '人员管理', icon: 'PersonnelManagement' }
}
]
},
{
path: '/BasicData',
component: Layout,
children: [
{
path: 'UserRightsManagement',
name: 'UserRightsManagement',
component: () => import('@/views/BasicData/UserRightsManagement'),
meta: { title: '用户权限管理', icon: 'UserRightsManagement' }
}
]
},
{
path: '/TechnologyCenter',
component: Layout,
children: [
{
path: 'ImportParts',
name: 'ImportParts',
component: () => import('@/views/TechnologyCenter/ImportParts'),
meta: { title: '零件导入', icon: 'ImportParts' }
}
]
},
{
path: '/QueryParts',
component: Layout,
children: [
{
path: 'QueryParts',
name: 'QueryParts',
component: () => import('@/views/TechnologyCenter/QueryParts'),
meta: { title: '零件查询', icon: 'QueryParts' }
}
]
},
{
path: '/CreatePackingList',
component: Layout,
children: [
{
path: 'CreatePackingList',
name: 'CreatePackingList',
component: () => import('@/views/TechnologyCenter/CreatePackingList'),
meta: { title: '创建装箱单', icon: 'CreatePackingList' }
}
]
},
{ path: '*', redirect: '/404', hidden: true }
]