From ff46cc24356b2cd2f23ab3cd7892e61b682d2b8c Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Mon, 11 May 2026 10:03:42 +0800
Subject: [PATCH] 主线提交
---
src/router/index.js | 101 +++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 90 insertions(+), 11 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index d650ebd..d0ea350 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -53,6 +53,58 @@
hidden: true
},
+ {
+ path: '/chapters',
+ component: Layout,
+ redirect: '/chapters',
+ children: [
+ {
+ path: '/chapters',
+ component: () => import('@/views/onlineEducation/courseManage/courseChapters/index.vue'),
+ name: 'Chapters',
+ meta: { title: '章节',icon: 'form', affix: true }
+ }
+ ]
+ },
+ {
+ path: '/chooseStu',
+ component: Layout,
+ redirect: '/chooseStu',
+ children: [
+ {
+ path: '/chooseStu',
+ component: () => import('@/views/onlineEducation/classHourBatch/components/handleStudent.vue'),
+ name: 'ChooseStu',
+ meta: { title: '批次学员',icon: 'form', affix: true }
+ }
+ ]
+ },
+ {
+ path: '/examStu',
+ component: Layout,
+ redirect: '/examStu',
+ children: [
+ {
+ path: '/examStu',
+ component: () => import('@/views/onlineEducation/groupExams/components/student.vue'),
+ name: 'ExamStu',
+ meta: { title: '考试学员',icon: 'form', affix: true }
+ }
+ ]
+ },
+ {
+ path: '/correctExam',
+ component: Layout,
+ redirect: '/correctExam',
+ children: [
+ {
+ path: '/correctExam',
+ component: () => import('@/views/onlineEducation/groupExams/components/correctExam.vue'),
+ name: 'CorrectExam',
+ meta: { title: '批改试卷',icon: 'form', affix: true }
+ }
+ ]
+ },
// {
// path: '',
// component: Layout,
@@ -79,31 +131,58 @@
]
},
{
- path: '/course',
+ path: '/courseManage',
component: Layout,
- redirect: '/course',
+ redirect: '/onlineEducation/courseManage',
+ meta: { title: '课程管理'},
children: [
{
- path: '/course',
+ 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 }
+ },
]
},
{
- path: '/question',
+ path: '/questionBankManagement',
component: Layout,
- redirect: '/question',
+ redirect: '/onlineEducation/questionBankManagement',
+ meta: { title: '题库题目管理'},
children: [
{
- path: '/question',
+ path: 'questionBank',
component: () => import('@/views/onlineEducation/questionBankManagement/index.vue'),
- name: 'Question',
- meta: { title: '题库管理',icon: 'form', affix: true }
- }
+ name: 'questionBank',
+ meta: { title: '题库列表',icon: 'form', affix: true }
+ },
+ {
+ path: 'question',
+ component: () => import('@/views/onlineEducation/questionBankManagement/questionManage/index.vue'),
+ name: 'question',
+ meta: { title: '题目管理',icon: 'form', affix: true }
+ },
]
},
+ // {
+ // path: '/question',
+ // component: Layout,
+ // redirect: '/question',
+ // children: [
+ // {
+ // path: '/question',
+ // component: () => import('@/views/onlineEducation/questionBankManagement/index.vue'),
+ // name: 'Question',
+ // meta: { title: '题库管理',icon: 'form', affix: true }
+ // }
+ // ]
+ // },
{
path: '/class',
component: Layout,
--
Gitblit v1.9.2