develoop
JayChou 3 months ago
parent de9394e1f3
commit 21e75c53d6
  1. 12
      src/router/routers copy.ts
  2. 52
      src/router/routers.ts

@ -56,16 +56,6 @@ export const constantRoute: any = [
icon: 'Notebook', icon: 'Notebook',
}, },
}, },
{
path: '/curriculumCenter/courseDetails',
component: () => import('@/views/course/courseDetails.vue'),
name: 'CourseDetails',
meta: {
title: '课程详情',
hidden: false,
icon: 'Notebook',
},
},
{ {
path: '/curriculumCenter/CourseObjectives', path: '/curriculumCenter/CourseObjectives',
component: () => import('@/views/course/CourseObjectives.vue'), component: () => import('@/views/course/CourseObjectives.vue'),
@ -167,7 +157,7 @@ export const constantRoute: any = [
name: 'CourseDetails', name: 'CourseDetails',
meta: { meta: {
title: '课程详情', title: '课程详情',
hidden: false, hidden: true,
icon: 'Notebook', icon: 'Notebook',
}, },
}, },

@ -46,7 +46,7 @@ export const constantRoute: any = [
component: () => import('@/views/course/basicCourseInformation.vue'), component: () => import('@/views/course/basicCourseInformation.vue'),
name: 'BasicCourseInformation', name: 'BasicCourseInformation',
meta: { meta: {
title: '课程基本信息', title: '我的课程',
hidden: false, hidden: false,
icon: 'Notebook', icon: 'Notebook',
}, },
@ -57,7 +57,7 @@ export const constantRoute: any = [
name: 'CourseDetails', name: 'CourseDetails',
meta: { meta: {
title: '课程详情', title: '课程详情',
hidden: false, hidden: true,
icon: 'Notebook', icon: 'Notebook',
}, },
}, },
@ -67,7 +67,7 @@ export const constantRoute: any = [
name: 'CourseObjectives', name: 'CourseObjectives',
meta: { meta: {
title: '课程目标', title: '课程目标',
hidden: false, hidden: true,
icon: 'Notebook', icon: 'Notebook',
}, },
}, },
@ -81,32 +81,32 @@ export const constantRoute: any = [
icon: 'Notebook', icon: 'Notebook',
}, },
}, },
{ // {
path: '/curriculumCenter/knowledgePoints', // path: '/curriculumCenter/knowledgePoints',
component: () => import('@/views/course/knowledgePoints.vue'), // component: () => import('@/views/course/knowledgePoints.vue'),
name: 'KnowledgePoints', // name 要与权限一致 // name: 'KnowledgePoints', // name 要与权限一致
meta: { // meta: {
title: '知识点', // title: '知识点',
hidden: false, // hidden: false,
icon: 'Notebook', // icon: 'Notebook',
}, // },
}, // },
{ // {
path: '/curriculumCenter/curriculumMap', // path: '/curriculumCenter/curriculumMap',
component: () => import('@/views/course/curriculumMap.vue'), // component: () => import('@/views/course/curriculumMap.vue'),
name: 'CurriculumMap', // name 要与权限一致 // name: 'CurriculumMap', // name 要与权限一致
meta: { // meta: {
title: '课程图谱', // title: '课程图谱',
hidden: false, // hidden: false,
icon: 'Notebook', // icon: 'Notebook',
}, // },
}, // },
{ {
path: '/studentManagement/student', path: '/studentManagement/student',
component: () => import('@/views/student/index.vue'), component: () => import('@/views/student/index.vue'),
name: 'Student', name: 'Student',
meta: { meta: {
title: '学生', title: '学生管理',
hidden: false, hidden: false,
icon: 'User', icon: 'User',
}, },
@ -127,7 +127,7 @@ export const constantRoute: any = [
name: 'SendMessage', name: 'SendMessage',
meta: { meta: {
title: '个人发出', title: '个人发出',
hidden: false, hidden: true,
icon: '', icon: '',
}, },
}, },
@ -182,7 +182,7 @@ export const constantRoute: any = [
name: 'NewsContentDetails', name: 'NewsContentDetails',
meta: { meta: {
title: '栏目添加新闻信息', title: '栏目添加新闻信息',
hidden: true, hidden: false,
icon: 'Promotion', icon: 'Promotion',
}, },
}, },

Loading…
Cancel
Save