祖安之光
2025-11-18 e558f0ca4c9de7271861601076b2d8e48c513c59
src/router/index.js
@@ -27,6 +27,19 @@
// 公共路由
export const constantRoutes = [
  {
    path: '/',
    component: Layout,
    redirect: '/menuIndex',
    children: [
      {
        path: 'menuIndex',
        component: () => import('@/views/work/menuIndex/index'),
        name: 'MenuIndex',
        meta: { title: '首页', icon: 'druid', affix: true }
      }
    ]
  },
  {
    path: '/redirect',
    component: Layout,
    hidden: true,
@@ -53,19 +66,62 @@
    hidden: true
  },
  {
    path: '/fillForm',
    component: () => import('@/views/safetyReview/expertManage/fillForm/index.vue'),
    hidden: true
  },
  {
    path: '/certPdf',
    component: () => import('@/views/certificatePdf'),
    hidden: true
  },
  {
    path: '/checkProgress',
    component: () => import('@/views/safetyReview/expertManage/checkProgress/index.vue'),
    path: '/menuPage',
    component: () => import('@/views/menuPage'),
    hidden: true
  },
  {
    path: '/courseManage',
    component: Layout,
    redirect: '/onlineEducation/courseManage',
    children: [
      {
        path: 'course',
        component: () => import('@/views/work/onlineEducation/courseManage/index.vue'),
        name: 'course',
      }
    ]
  },
  {
    path: '/class',
    component: Layout,
    redirect: '/class',
    children: [
      {
        path: '/class',
        component: () => import('@/views/work/onlineEducation/classHourBatch/index.vue'),
        name: 'class',
      }
    ]
  },
  {
    path: '/group',
    component: Layout,
    redirect: '/group',
    children: [
      {
        path: '/group',
        component: () => import('@/views/work/onlineEducation/groupExams/index.vue'),
        name: 'group',
      }
    ]
  },
  {
    path: '/offline',
    component: Layout,
    redirect: '/offline',
    children: [
      {
        path: '/offline',
        component: () => import('@/views/work/onlineEducation/offlineEducation/index.vue'),
        name: 'offline',
      }
    ]
  },
  {
    path: '/chapters',
@@ -119,6 +175,7 @@
      }
    ]
  },
  {
    path: '/newPage',
    component: Layout,