From c293e8f2c2c8f1eae95b0255a8745456963511d2 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Fri, 05 Jul 2024 15:11:44 +0800
Subject: [PATCH] 线下登记、统计
---
src/router/index.js | 43 +++++++++++++++++++++++++++++++++++++------
1 files changed, 37 insertions(+), 6 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 14ddf33..20f9d8f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -44,7 +44,7 @@
},
{
path: "/:pathMatch(.*)*",
- component: () => import('@/views/error/404'),
+ component: () => import('@/views/homePage'),
hidden: true
},
{
@@ -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