From 610714fb4f2bfe8285bf1c68406a066b8c78640e Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期五, 05 七月 2024 15:19:48 +0800
Subject: [PATCH] 提交

---
 src/layout/components/Sidebar/menu.js                                     |   25 ++++++++++--
 src/views/onlineEducation/questionBankManagement/questionManage/index.vue |   12 ++++++
 src/router/index.js                                                       |   34 +++++++++++++---
 3 files changed, 60 insertions(+), 11 deletions(-)

diff --git a/src/layout/components/Sidebar/menu.js b/src/layout/components/Sidebar/menu.js
index 0e23c86..9803057 100644
--- a/src/layout/components/Sidebar/menu.js
+++ b/src/layout/components/Sidebar/menu.js
@@ -7,7 +7,7 @@
         //     meta: { title: '课程管理',icon: 'documentation',affix: true }
         // },
         {
-            path: '/onlineEducation',
+            path: '/courseManage',
             redirect: '/onlineEducation/courseManage',
             meta: { title: '课程管理',icon: 'form'},
             children: [
@@ -24,10 +24,27 @@
             ]
         },
         {
-            path: '/question',
-            name: 'Question',
-            meta: { title: '题库管理',icon: 'build',affix: true }
+            path: '/questionBankManagement',
+            redirect: '/onlineEducation/questionBankManagement',
+            meta: { title: '题目题库管理',icon: 'build'},
+            children: [
+                {
+                    path: 'questionBank',
+                    name: 'questionBank',
+                    meta: { title: '题库列表',icon: 'list'}
+                } ,
+                {
+                    path: 'question',
+                    name: 'question',
+                    meta: { title: '题目列表',icon: 'education'}
+                } ,
+            ]
         },
+        // {
+        //     path: '/question',
+        //     name: 'Question',
+        //     meta: { title: '题库管理',icon: 'build',affix: true }
+        // },
         {
             path: '/class',
             name: 'Class',
diff --git a/src/router/index.js b/src/router/index.js
index 20f9d8f..dd3cb3e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -91,7 +91,7 @@
     ]
   },
   {
-    path: '/onlineEducation',
+    path: '/courseManage',
     component: Layout,
     redirect: '/onlineEducation/courseManage',
     meta: { title: '课程管理'},
@@ -111,18 +111,38 @@
     ]
   },
   {
-    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,
diff --git a/src/views/onlineEducation/questionBankManagement/questionManage/index.vue b/src/views/onlineEducation/questionBankManagement/questionManage/index.vue
new file mode 100644
index 0000000..d1aebdf
--- /dev/null
+++ b/src/views/onlineEducation/questionBankManagement/questionManage/index.vue
@@ -0,0 +1,12 @@
+<template>
+  <div>题目管理</div>
+</template>
+<script setup>
+
+</script>
+
+
+
+<style scoped lang="scss">
+
+</style>

--
Gitblit v1.9.2