From c293e8f2c2c8f1eae95b0255a8745456963511d2 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期五, 05 七月 2024 15:11:44 +0800 Subject: [PATCH] 线下登记、统计 --- src/router/index.js | 41 ++++++++++++++++++++++++++++++++++++----- 1 files changed, 36 insertions(+), 5 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 575203d..20f9d8f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -53,6 +53,18 @@ hidden: true }, + { + path: '/chapters', + component: Layout, + redirect: '/chapters', + children: [ + { + path: '/chapters', + component: () => import('@/views/onlineEducation/courseManage/courseChapters/index.vue'), + name: 'Chapters', + } + ] + }, // { // path: '', // component: Layout, @@ -67,16 +79,35 @@ // ] // }, { - path: '/course', + path: '/newPage', component: Layout, - redirect: '/course', + redirect: '/newPage', children: [ { - path: '/course', + path: '/newPage', + component: () => import('@/views/onlineEducation/systemManage/banner/components/newPage.vue'), + name: 'NewPage', + } + ] + }, + { + path: '/onlineEducation', + component: Layout, + redirect: '/onlineEducation/courseManage', + meta: { title: '课程管理'}, + children: [ + { + path: 'course', component: () => import('@/views/onlineEducation/courseManage/index.vue'), name: 'course', - meta: { title: '课程管理',icon: 'form', affix: true } - } + meta: { title: '课程列表',icon: 'form', affix: true } + }, + { + path: 'courseResource', + component: () => import('@/views/onlineEducation/courseManage/courseResource/index.vue'), + name: 'courseResource', + meta: { title: '课程资源',icon: 'form', affix: true } + }, ] }, { -- Gitblit v1.9.2