|
|
@ -24,20 +24,72 @@ export const constantRoute: any = [ |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/curriculumCenter', |
|
|
|
path: '/curriculumCenter', |
|
|
|
|
|
|
|
redirect: '/curriculumCenter/basicCourseInformation', |
|
|
|
component: () => import('@/layout/index.vue'), |
|
|
|
component: () => import('@/layout/index.vue'), |
|
|
|
name: 'CurriculumCenter', |
|
|
|
name: 'CurriculumCenter', |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: '', |
|
|
|
title: '课程', |
|
|
|
hidden: false, |
|
|
|
hidden: false, |
|
|
|
icon: 'HomeFilled', // 菜单图标
|
|
|
|
icon: 'HomeFilled', // 菜单图标
|
|
|
|
}, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
|
|
|
|
// {
|
|
|
|
|
|
|
|
// path: '/curriculumCenter/course',
|
|
|
|
|
|
|
|
// redirect: '/curriculumCenter/basicCourseInformation',
|
|
|
|
|
|
|
|
// component: () => import('@/views/course/index.vue'),
|
|
|
|
|
|
|
|
// name: 'Course',
|
|
|
|
|
|
|
|
// meta: {
|
|
|
|
|
|
|
|
// title: '课程',
|
|
|
|
|
|
|
|
// hidden: false,
|
|
|
|
|
|
|
|
// icon: 'Notebook',
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/curriculumCenter/course', |
|
|
|
path: '/curriculumCenter/basicCourseInformation', |
|
|
|
component: () => import('@/views/course/index.vue'), |
|
|
|
component: () => import('@/views/course/basicCourseInformation.vue'), |
|
|
|
name: 'Course', |
|
|
|
name: 'BasicCourseInformation', |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: '课程', |
|
|
|
title: '课程基本信息', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Notebook', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/curriculumCenter/CourseObjectives', |
|
|
|
|
|
|
|
component: () => import('@/views/course/CourseObjectives.vue'), |
|
|
|
|
|
|
|
name: 'CourseObjectives', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '课程目标', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Notebook', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/curriculumCenter/courseChapters', |
|
|
|
|
|
|
|
component: () => import('@/views/course/courseChapters.vue'), |
|
|
|
|
|
|
|
name: 'CourseChapters', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '课程章节', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Notebook', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/curriculumCenter/knowledgePoints', |
|
|
|
|
|
|
|
component: () => import('@/views/course/knowledgePoints.vue'), |
|
|
|
|
|
|
|
name: 'KnowledgePoints', // name 要与权限一致
|
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '知识点', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Notebook', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/curriculumCenter/curriculumMap', |
|
|
|
|
|
|
|
component: () => import('@/views/course/curriculumMap.vue'), |
|
|
|
|
|
|
|
name: 'CurriculumMap', // name 要与权限一致
|
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '课程图谱', |
|
|
|
hidden: false, |
|
|
|
hidden: false, |
|
|
|
icon: 'Notebook', |
|
|
|
icon: 'Notebook', |
|
|
|
}, |
|
|
|
}, |
|
|
@ -115,17 +167,37 @@ export const constantRoute: any = [ |
|
|
|
component: () => import('@/layout/index.vue'), |
|
|
|
component: () => import('@/layout/index.vue'), |
|
|
|
name: 'MyCourseStudyManagement', |
|
|
|
name: 'MyCourseStudyManagement', |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: '', |
|
|
|
title: '学习过程', |
|
|
|
hidden: false, |
|
|
|
hidden: false, |
|
|
|
icon: 'HomeFilled', // 菜单图标
|
|
|
|
icon: 'HomeFilled', // 菜单图标
|
|
|
|
}, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/myCourseStudyManagement/myCourseStudy', |
|
|
|
path: '/myCourseStudyManagement/learningProcess', |
|
|
|
component: () => import('@/views/MyCourseStudy/index.vue'), |
|
|
|
component: () => import('@/views/MyCourseStudy/learningProcess.vue'), |
|
|
|
name: 'MyCourseStudy', |
|
|
|
name: 'LearningProcess', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '课程学习记录', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'StarFilled', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/myCourseStudyManagement/courseCollections', |
|
|
|
|
|
|
|
component: () => import('@/views/MyCourseStudy/courseCollections.vue'), |
|
|
|
|
|
|
|
name: 'CourseCollections', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '课程收藏', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'StarFilled', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/myCourseStudyManagement/Courselikes', |
|
|
|
|
|
|
|
component: () => import('@/views/MyCourseStudy/Courselikes.vue'), |
|
|
|
|
|
|
|
name: 'Courselikes', |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: '我学习的课程', |
|
|
|
title: '课程点赞', |
|
|
|
hidden: false, |
|
|
|
hidden: false, |
|
|
|
icon: 'StarFilled', |
|
|
|
icon: 'StarFilled', |
|
|
|
}, |
|
|
|
}, |
|
|
@ -154,4 +226,66 @@ export const constantRoute: any = [ |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/portal', |
|
|
|
|
|
|
|
component: () => import('@/layout/index.vue'), |
|
|
|
|
|
|
|
name: 'Portal', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '门户', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'HomeFilled', // 菜单图标
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/portal/webHome', |
|
|
|
|
|
|
|
component: () => import('@/views/portal/index.vue'), |
|
|
|
|
|
|
|
name: 'WebHome', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '网站首页', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Reading', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/portal/courseHome', |
|
|
|
|
|
|
|
component: () => import('@/views/portal/courseHomepage.vue'), |
|
|
|
|
|
|
|
name: 'CourseHome', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '课程首页', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Reading', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/portal/LearningPathRecommendations', |
|
|
|
|
|
|
|
component: () => import('@/views/portal/LearningPathRecommendations.vue'), |
|
|
|
|
|
|
|
name: 'LearningPathRecommendations', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '学习路径推荐', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Reading', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/portal/knowledgePointLearning', |
|
|
|
|
|
|
|
component: () => import('@/views/portal/knowledgePointLearning.vue'), |
|
|
|
|
|
|
|
name: 'KnowledgePointLearning', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '知识点学习', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Reading', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/portal/courseReports', |
|
|
|
|
|
|
|
component: () => import('@/views/portal/courseReports.vue'), |
|
|
|
|
|
|
|
name: 'CourseReports', |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: '课程报告', |
|
|
|
|
|
|
|
hidden: false, |
|
|
|
|
|
|
|
icon: 'Reading', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
}, |
|
|
|
] |
|
|
|
] |
|
|
|