龚焕茏
2024-05-16 78a9096e16ae5353bf2cec2f5ebaefc5e49d0d1c
src/router.js
@@ -463,6 +463,24 @@
    ]
  },
  {
    path: '/user',
    component: Layout,
    name: 'UserPage',
    meta: {
      title: '用户管理',
      icon: 'users'
    },
    alwaysShow: true,
    children: [
      {
        path: 'student/list',
        component: () => import('@/views/user/student/list'),
        name: 'UserStudentPageList',
        meta: { title: '学生列表', noCache: true }
      },
    ]
  },
  {
    path: '/exam',
    component: Layout,
    name: 'ExamPage',
@@ -470,7 +488,21 @@
      title: '卷题管理',
      icon: 'exam'
    },
    alwaysShow: true,
    children: [
      {
        path: 'paper/list',
        component: () => import('@/views/exam/paper/list'),
        name: 'ExamPaperPageList',
        meta: { title: '试卷列表', noCache: true }
      },
      {
        path: 'paper/edit',
        component: () => import('@/views/exam/paper/edit'),
        name: 'ExamPaperEdit',
        meta: { title: '试卷编辑', noCache: true, activeMenu: '/exam/paper/list' },
        hidden: true
      },
      {
        path: 'personalRandomTemplate/list',
        component: () => import('@/views/exam/personalRandomTemplate/list'),
@@ -515,7 +547,13 @@
        name: 'AnswerPageList',
        meta: { title: '成绩统计详情', noCache: true, activeMenu: '/exam/gradeDetails/list' },
        hidden: true
      }
      },
      {
        path: 'sheetStatistics',
        component: () => import('@/views/answer/sheetStatistics.vue'),
        name: 'AnswerPageList',
        meta: { title: '答卷统计', noCache: true }
      },
    ]
  },
  {