计划课程

master
lion 3 weeks ago
parent 010c3cb947
commit feee785aa6

@ -31,68 +31,54 @@ import Layout from '@/layout'
* a base page that does not have permission requirements
* all roles can be accessed
*/
export const constantRoutes = [
{
path: '/login',
component: () => import('@/views/login/index'),
hidden: true
},
{
path: '/404',
component: () => import('@/views/404'),
hidden: true
},
{
path: '/test',
component: () => import('@/views/component/test.vue'),
hidden: true
},
{
path: '/info',
component: Layout,
children: [{
path: 'password',
component: () => import('@/views/system/password'),
name: '密码修改',
meta: {
title: '密码修改'
}
}],
hidden: true
},
{
path: '/',
component: Layout,
redirect: '/dashboard',
children: [{
path: 'dashboard',
name: '课程发布管理',
component: () => import('@/views/course/index'),
meta: {
title: '课程发布管理',
icon: 'dashboard'
}
}],
hidden: true
},
{
path: '/schedule-overview',
component: Layout,
redirect: '/schedule-overview/index',
children: [{
path: 'index',
name: '课程排期总览',
component: () => import('@/views/scheduleOverview/index'),
meta: {
title: '课程排期总览',
icon: 'table'
}
}]
},
{
path: '/course/txl',
component: Layout,
redirect: '/dashboard',
export const constantRoutes = [
{
path: '/login',
component: () => import('@/views/login/index'),
hidden: true
},
{
path: '/404',
component: () => import('@/views/404'),
hidden: true
},
{
path: '/test',
component: () => import('@/views/component/test.vue'),
hidden: true
},
{
path: '/info',
component: Layout,
children: [{
path: 'password',
component: () => import('@/views/system/password'),
name: '密码修改',
meta: {
title: '密码修改'
}
}],
hidden: true
},
{
path: '/',
component: Layout,
redirect: '/dashboard',
children: [{
path: 'dashboard',
name: '课程发布管理',
component: () => import('@/views/course/index'),
meta: {
title: '课程发布管理',
icon: 'dashboard'
}
}],
hidden: true
},
{
path: '/course/txl',
component: Layout,
redirect: '/dashboard',
children: [{
path: '/course/txl',
name: '通讯录',
@ -153,13 +139,13 @@ export const constantRoutes = [
}],
hidden: true
}
]
/**
* asyncRoutes
* the routes that need to be dynamically loaded based on user roles
*/
export const asyncRoutes = [
// 404 page must be placed at the end !!!
]
/**
* asyncRoutes
* the routes that need to be dynamically loaded based on user roles
*/
export const asyncRoutes = [
// 404 page must be placed at the end !!!
{
path: '*',
redirect: '/404',

Loading…
Cancel
Save