From b3e843bd9a6524cc5a57961cb41954e85957ff3c Mon Sep 17 00:00:00 2001 From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com> Date: 星期三, 09 七月 2025 09:28:55 +0800 Subject: [PATCH] 修改新增 --- src/router/index.js | 52 +++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 43 insertions(+), 9 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 6f00bf0..b06fe5f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -53,19 +53,52 @@ 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', @@ -119,6 +152,7 @@ } ] }, + { path: '/newPage', component: Layout, -- Gitblit v1.9.2