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 | 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