ZhangXianQiang
2024-05-17 97d1d36d67c0cc29bd21c2575dd8a61a757adaa5
src/router.js
@@ -26,7 +26,7 @@
  {
    path: '/',
    component: Layout,
    redirect: '/dashboard',
    redirect: '/login',
    children: [
      {
        path: 'dashboard',
@@ -72,10 +72,16 @@
        hidden: true
      },
      {
        path: 'departmentExamine/list',
        component: () => import('@/views/user/departmentExamine/list'),
        name: 'departmentExamineList',
        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 +89,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 }
      }
    ]
  },
@@ -152,6 +182,12 @@
        name: 'personalSimulationEdit',
        meta: { title: '试卷编辑', noCache: true, activeMenu: '/exam/personalSimulation/list' },
        hidden: true
      },
      {
        path: 'feedback/list',
        component: () => import('@/views/feedback/list'),
        name: 'feedback',
        meta: { title: '错题反馈', noCache: true }
      },
      {
        path: 'personalSimulation/list/mathList',
@@ -290,6 +326,31 @@
    ]
  },
  {
    path: '/questionAnswer',
    component: Layout,
    name: 'questionAnswerPage',
    meta: {
      title: '问答管理',
      icon: 'question'
    },
    alwaysShow: true,
    children: [
      {
        path: '/list',
        component: () => import('@/views/questionAnswer/list'),
        name: 'questionAnswerPage',
        meta: { title: '问答列表', noCache: true }
      },
      {
        path: '/edit',
        component: () => import('@/views/questionAnswer/edit'),
        name: 'questionAnswerEdit',
        meta: { title: '问答编辑', noCache: true, activeMenu: '/questionAnswer/list' },
        hidden: true
      }
    ]
  },
  {
    path: '/message',
    component: Layout,
    name: 'MessagePage',
@@ -391,7 +452,7 @@
  {
    path: '/',
    component: Layout,
    redirect: '/dashboard',
    redirect: '/login',
    children: [
      {
        path: 'dashboard',