龚焕茏
2024-07-03 68b8ed3b4b7ddbb5fe113c1d7df3aa909dc66fb6
src/router.js
@@ -26,7 +26,7 @@
  {
    path: '/',
    component: Layout,
    redirect: '/dashboard',
    redirect: '/login',
    children: [
      {
        path: 'dashboard',
@@ -72,10 +72,22 @@
        hidden: true
      },
      {
        path: 'departmentExamine/list',
        component: () => import('@/views/user/departmentExamine/list'),
        name: 'departmentExamineList',
        meta: { title: '调动审核', noCache: true }
      },
      {
        path: 'UserConditionExamine/list',
        component: () => import('@/views/user/UserConditionExamine/list'),
        name: 'UserConditionExamineList',
        meta: { title: '状态审核', noCache: true }
      },
      {
        path: 'tag/list',
        component: () => import('@/views/user/tag/list'),
        name: 'TagAdminPageList',
        meta: { title: '标签列表', noCache: true }
        meta: { title: '学生标签', noCache: true }
      },
      {
        path: 'tag/edit',
@@ -83,6 +95,30 @@
        name: 'TagAdminEdit',
        meta: { title: '标签编辑', noCache: true, activeMenu: '/user/tag/list' },
        hidden: true
      }
    ]
  },
  {
    path: '/online/study',
    component: Layout,
    name: 'OnLineStudy',
    meta: {
      title: '在线学习',
      icon: 'exam'
    },
    alwaysShow: true,
    children: [
      {
        path: 'type',
        component: () => import('@/views/onlineStudy/type'),
        name: 'Type',
        meta: { title: '学习类型', noCache: true }
      },
      {
        path: 'file',
        component: () => import('@/views/onlineStudy/file'),
        name: 'File',
        meta: { title: '学习文件', noCache: true }
      }
    ]
  },
@@ -138,6 +174,12 @@
        component: () => import('@/views/exam/personalRandomTemplate/list'),
        name: 'personalSimulation',
        meta: { title: '随机试卷', noCache: true }
      },
      {
        path: 'personalRandomTemplate/config',
        component: () => import('@/views/exam/personalRandomTemplate/config'),
        name: 'personalSimulationConfig',
        meta: { title: '随机试卷配置', noCache: true }
      },
      {
        path: 'personalRandomTemplate/edit',
@@ -272,13 +314,19 @@
        path: 'list',
        component: () => import('@/views/answer/list'),
        name: 'AnswerPageList',
        meta: { title: '答卷列表', noCache: true }
        meta: { title: '答卷记录', noCache: true }
      },
      {
        path: 'sheetStatistics',
        component: () => import('@/views/answer/sheetStatistics.vue'),
        name: 'AnswerPageList',
        meta: { title: '答卷统计', noCache: true }
        meta: { title: '分数统计', noCache: true }
      },
      {
        path: 'dataStatistics',
        component: () => import('@/views/answer/dataStatistics.vue'),
        name: 'AnswerPageList',
        meta: { title: '分数统计(全)', noCache: true }
      },
      {
        path: 'achievementStatistics',
@@ -422,7 +470,7 @@
  {
    path: '/',
    component: Layout,
    redirect: '/dashboard',
    redirect: '/login',
    children: [
      {
        path: 'dashboard',
@@ -433,6 +481,36 @@
    ]
  },
  {
    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: 'departmentExamine/list',
        component: () => import('@/views/user/departmentExamine/list'),
        name: 'departmentExamineList',
        meta: { title: '调动提审记录', noCache: true }
      },
      {
        path: 'UserConditionExamine/list',
        component: () => import('@/views/user/UserConditionExamine/list'),
        name: 'UserConditionExamineList',
        meta: { title: '状态提审记录', noCache: true }
      },
    ]
  },
  {
    path: '/exam',
    component: Layout,
    name: 'ExamPage',
@@ -440,7 +518,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'),
@@ -485,7 +577,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 }
      },
    ]
  },
  {