diff --git a/src/router/routers copy.ts b/src/router/routers copy.ts index a515fc0..d1290e0 100644 --- a/src/router/routers copy.ts +++ b/src/router/routers copy.ts @@ -56,16 +56,6 @@ export const constantRoute: any = [ icon: 'Notebook', }, }, - { - path: '/curriculumCenter/courseDetails', - component: () => import('@/views/course/courseDetails.vue'), - name: 'CourseDetails', - meta: { - title: '课程详情', - hidden: false, - icon: 'Notebook', - }, - }, { path: '/curriculumCenter/CourseObjectives', component: () => import('@/views/course/CourseObjectives.vue'), @@ -167,7 +157,7 @@ export const constantRoute: any = [ name: 'CourseDetails', meta: { title: '课程详情', - hidden: false, + hidden: true, icon: 'Notebook', }, }, diff --git a/src/router/routers.ts b/src/router/routers.ts index 206e54e..2092ea9 100644 --- a/src/router/routers.ts +++ b/src/router/routers.ts @@ -46,7 +46,7 @@ export const constantRoute: any = [ component: () => import('@/views/course/basicCourseInformation.vue'), name: 'BasicCourseInformation', meta: { - title: '课程基本信息', + title: '我的课程', hidden: false, icon: 'Notebook', }, @@ -57,7 +57,7 @@ export const constantRoute: any = [ name: 'CourseDetails', meta: { title: '课程详情', - hidden: false, + hidden: true, icon: 'Notebook', }, }, @@ -67,7 +67,7 @@ export const constantRoute: any = [ name: 'CourseObjectives', meta: { title: '课程目标', - hidden: false, + hidden: true, icon: 'Notebook', }, }, @@ -81,32 +81,32 @@ export const constantRoute: any = [ 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, - 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, + // icon: 'Notebook', + // }, + // }, { path: '/studentManagement/student', component: () => import('@/views/student/index.vue'), name: 'Student', meta: { - title: '学生', + title: '学生管理', hidden: false, icon: 'User', }, @@ -127,7 +127,7 @@ export const constantRoute: any = [ name: 'SendMessage', meta: { title: '个人发出', - hidden: false, + hidden: true, icon: '', }, }, @@ -182,7 +182,7 @@ export const constantRoute: any = [ name: 'NewsContentDetails', meta: { title: '栏目添加新闻信息', - hidden: true, + hidden: false, icon: 'Promotion', }, },