zhouwx
2024-07-22 55cc4c8bbbd66ce4b33fff8712d4c53e2080b5a0
src/router/index.js
@@ -62,6 +62,33 @@
        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 }
      }
    ]
  },
@@ -91,7 +118,7 @@
    ]
  },
  {
    path: '/onlineEducation',
    path: '/courseManage',
    component: Layout,
    redirect: '/onlineEducation/courseManage',
    meta: { title: '课程管理'},
@@ -111,18 +138,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,