fuliqi
2024-10-17 0cefa99d2ae9ba43e60fe3e1beceb000dd186931
src/router.js
@@ -50,21 +50,21 @@
        path: '/exam/mark/paper',
        component: () => import('@/views/exam/exam/MarkPaper'),
        name: 'MarkPaper',
        meta: { title: '阅卷'},
        meta: { title: '阅卷', noCache: true },
        hidden: true
      },
      {
        path: '/exam/mark/paper/detail',
        component: () => import('@/views/exam/exam/MarkPaperDetail'),
        name: 'MarkPaperDetail',
        meta: { title: '阅卷'},
        meta: { title: '阅卷详情', noCache: true },
        hidden: true
      },
      {
        path: '/exam/monitor',
        component: () => import('@/views/exam/exam/monitor'),
        name: 'monitor',
        meta: { title: '监控'},
        meta: { title: '监控', noCache: true },
        hidden: true
      }
    ]
@@ -108,6 +108,19 @@
        component: () => import('@/views/user/student/edit'),
        name: 'UserStudentEdit',
        meta: { title: '学生编辑', noCache: true, activeMenu: '/user/student/list' },
        hidden: true
      },
      {
        path: 'teacher/list',
        component: () => import('@/views/user/teacher/list'),
        name: 'UserTeacherPageList',
        meta: { title: '教师列表', noCache: true }
      },
      {
        path: 'teacher/edit',
        component: () => import('@/views/user/teacher/edit'),
        name: 'UserTeacherEdit',
        meta: { title: '教师编辑', noCache: true, activeMenu: '/user/teacher/list' },
        hidden: true
      },
      {
@@ -278,7 +291,7 @@
        component: () => import('@/views/education/cheat/list'),
        name: 'EducationCheatPage',
        meta: { title: '作弊记录', noCache: true }
      },
      }
    ]
  },
  {
@@ -292,13 +305,13 @@
    alwaysShow: true,
    children: [
      {
        path: 'list',
        path: 'answer-list',
        component: () => import('@/views/answer/list'),
        name: 'AnswerPageList',
        meta: { title: '答卷列表', noCache: true }
      },
      {
        path: 'answer-list',
        path: 'answer-info',
        component: () => import('@/views/answer/info'),
        name: 'answerList',
        meta: { title: '答卷信息', noCache: true },
@@ -310,9 +323,32 @@
        name: 'answerDetail',
        meta: { title: '答卷详情', noCache: true },
        hidden: true
      },
      {
        path: 'answer-user',
        component: () => import('@/views/answer/user'),
        name: 'AnswerPageList',
        meta: { title: '答卷次数', noCache: true }
      }
    ]
  },
  {
    path: '/config',
    component: Layout,
    children: [
      {
        path: '/setting',
        name: 'SysSetting',
        meta: {
          title: '系统配置',
          icon: 'answer',
          affix: true
        },
        component: () => import('@/views/sys/SysSetting')
      }
    ]
  },
  // {
  //   path: '/message',
  //   component: Layout,
@@ -368,7 +404,8 @@
      }
    ]
  },
  { path: '*',
  {
    path: '*',
    hidden: true,
    component: () => import('@/views/error-page/404'),
    meta: { title: '404', noCache: true }