|
|
@ -38,13 +38,7 @@ const routes = [ |
|
|
|
//一级菜单的路由
|
|
|
|
{ |
|
|
|
path: '/', |
|
|
|
components: { |
|
|
|
default: () => import('@/views/home/home.vue'), |
|
|
|
// banner: () => import('@/views/layout/components/banner.vue')
|
|
|
|
}, |
|
|
|
name: 'home', |
|
|
|
|
|
|
|
meta: {title: '首页', icon: 'eye', noCache: true}, |
|
|
|
redirect: '/system/company', |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'editPassword', |
|
|
@ -60,20 +54,20 @@ const routes = [ |
|
|
|
hidden: true, |
|
|
|
meta: {title: '个人中心', icon: 'eye', noCache: true}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'register', |
|
|
|
component: () => import('@/views/login/register.vue'), |
|
|
|
name: 'register', |
|
|
|
hidden: true, |
|
|
|
meta: {title: '注册', icon: 'eye', noCache: true}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'retrievePassword', |
|
|
|
component: () => import('@/views/login/retrievePassword.vue'), |
|
|
|
name: 'retrievePassword', |
|
|
|
hidden: true, |
|
|
|
meta: {title: '找回密码', icon: 'eye', noCache: true}, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// path: 'register',
|
|
|
|
// component: () => import('@/views/login/register.vue'),
|
|
|
|
// name: 'register',
|
|
|
|
// hidden: true,
|
|
|
|
// meta: {title: '注册', icon: 'eye', noCache: true},
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// path: 'retrievePassword',
|
|
|
|
// component: () => import('@/views/login/retrievePassword.vue'),
|
|
|
|
// name: 'retrievePassword',
|
|
|
|
// hidden: true,
|
|
|
|
// meta: {title: '找回密码', icon: 'eye', noCache: true},
|
|
|
|
// },
|
|
|
|
//系统管理
|
|
|
|
{ |
|
|
|
path: 'system', |
|
|
@ -82,42 +76,42 @@ const routes = [ |
|
|
|
redirect: 'noredirect', |
|
|
|
meta: {title: '系统管理'}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'menu', |
|
|
|
component: () => import('@/views/systemManage/menu.vue'), |
|
|
|
name: 'menuManage', |
|
|
|
meta: {title: '菜单管理', icon: 'register', noCache: true}, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// path: 'menu',
|
|
|
|
// component: () => import('@/views/systemManage/menu.vue'),
|
|
|
|
// name: 'menuManage',
|
|
|
|
// meta: {title: '菜单管理', icon: 'register', noCache: true},
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
path: 'user', |
|
|
|
component: () => import('@/views/systemManage/user.vue'), |
|
|
|
name: 'userManage', |
|
|
|
meta: {title: '用户管理', icon: 'register', noCache: true}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'role', |
|
|
|
component: () => import('@/views/systemManage/role.vue'), |
|
|
|
name: 'roleManage', |
|
|
|
meta: {title: '角色管理', icon: 'register', noCache: true}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'permission', |
|
|
|
component: () => import('@/views/systemManage/permission.vue'), |
|
|
|
name: 'permissionManage', |
|
|
|
meta: {title: '权限管理', icon: 'register', noCache: true}, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// path: 'role',
|
|
|
|
// component: () => import('@/views/systemManage/role.vue'),
|
|
|
|
// name: 'roleManage',
|
|
|
|
// meta: {title: '角色管理', icon: 'register', noCache: true},
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// path: 'permission',
|
|
|
|
// component: () => import('@/views/systemManage/permission.vue'),
|
|
|
|
// name: 'permissionManage',
|
|
|
|
// meta: {title: '权限管理', icon: 'register', noCache: true},
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
path: 'company', |
|
|
|
component: () => import('@/views/systemManage/company/company.vue'), |
|
|
|
name: 'companyManage', |
|
|
|
meta: {title: '公司管理', icon: 'register', noCache: true}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'companyExamine',//公司审核新增
|
|
|
|
component: () => import('@/views/systemManage/company/companyExamine.vue'), |
|
|
|
name: 'companyExamine', |
|
|
|
meta: {title: '公司审核', icon: 'register', noCache: true}, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// path: 'companyExamine',//公司审核新增
|
|
|
|
// component: () => import('@/views/systemManage/company/companyExamine.vue'),
|
|
|
|
// name: 'companyExamine',
|
|
|
|
// meta: {title: '公司审核', icon: 'register', noCache: true},
|
|
|
|
// },
|
|
|
|
//企业信息的添加or修改
|
|
|
|
{ |
|
|
|
path: 'company/companyDetail', |
|
|
|