From 0524bcc28832ea9d55e7d5fbc8438bc2f7d59097 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期三, 09 七月 2025 17:09:32 +0800 Subject: [PATCH] 修改 --- src/router/index.js | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 107 insertions(+), 9 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 54821e2..b06fe5f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -53,19 +53,117 @@ hidden: true }, { - path: '/fillForm', - component: () => import('@/views/safetyReview/expertManage/fillForm/index.vue'), - hidden: true + path: '/courseManage', + component: Layout, + redirect: '/onlineEducation/courseManage', + children: [ + { + path: 'course', + component: () => import('@/views/work/onlineEducation/courseManage/index.vue'), + name: 'course', + } + ] }, { - path: '/certPdf', - component: () => import('@/views/certificatePdf'), - hidden: true + path: '/class', + component: Layout, + redirect: '/class', + children: [ + { + path: '/class', + component: () => import('@/views/work/onlineEducation/classHourBatch/index.vue'), + name: 'class', + } + ] }, { - path: '/checkProgress', - component: () => import('@/views/safetyReview/expertManage/checkProgress/index.vue'), - hidden: true + path: '/group', + component: Layout, + redirect: '/group', + children: [ + { + path: '/group', + component: () => import('@/views/work/onlineEducation/groupExams/index.vue'), + name: 'group', + } + ] + }, + { + path: '/offline', + component: Layout, + redirect: '/offline', + children: [ + { + path: '/offline', + component: () => import('@/views/work/onlineEducation/offlineEducation/index.vue'), + name: 'offline', + } + ] + }, + { + path: '/chapters', + component: Layout, + redirect: '/chapters', + children: [ + { + path: '/chapters', + component: () => import('@/views/work/onlineEducation/courseManage/courseChapters/index.vue'), + name: 'Chapters', + + } + ] + }, + { + path: '/chooseStu', + component: Layout, + redirect: '/chooseStu', + children: [ + { + path: '/chooseStu', + component: () => import('@/views/work/onlineEducation/classHourBatch/components/handleStudent.vue'), + name: 'ChooseStu', + + } + ] + }, + { + path: '/examStu', + component: Layout, + redirect: '/examStu', + children: [ + { + path: '/examStu', + component: () => import('@/views/work/onlineEducation/groupExams/components/student.vue'), + name: 'ExamStu', + + } + ] + }, + { + path: '/correctExam', + component: Layout, + redirect: '/correctExam', + children: [ + { + path: '/correctExam', + component: () => import('@/views/work/onlineEducation/groupExams/components/correctExam.vue'), + name: 'CorrectExam', + + } + ] + }, + + { + path: '/newPage', + component: Layout, + redirect: '/newPage', + children: [ + { + path: '/newPage', + component: () => import('@/views/work/onlineEducation/systemManage/banner/components/newPage.vue'), + name: 'NewPage', + } + ] }, { path: '', -- Gitblit v1.9.2