fuliqi
2024-06-25 3e2914339a54efb904e822eaa3dd65e67111eeb2
src/router.js
@@ -52,6 +52,13 @@
        name: 'MarkPaper',
        meta: { title: '阅卷'},
        hidden: true
      },
      {
        path: '/exam/mark/paper/detail',
        component: () => import('@/views/exam/exam/MarkPaperDetail'),
        name: 'MarkPaperDetail',
        meta: { title: '阅卷'},
        hidden: true
      }
    ]
  },
@@ -198,29 +205,31 @@
    ]
  },
  {
    path: '/task',
    path: '/train',
    component: Layout,
    name: 'TaskPage',
    name: 'TrainPage',
    meta: {
      title: '任务管理',
      title: '在线培训',
      icon: 'task'
    },
    alwaysShow: true,
    children: [
      {
        path: 'list',
        component: () => import('@/views/task/list'),
        name: 'TaskListPage',
        meta: { title: '任务列表', noCache: true }
      },
      {
        path: 'edit',
        component: () => import('@/views/task/edit'),
        name: 'TaskEditPage',
        meta: { title: '任务创建', noCache: true }
        component: () => import('@/views/train/index'),
        name: 'TrainListPage',
        meta: { title: '在线培训', noCache: true }
      }
    ]
  },
  {
    path: '/meet',
    component: () => import('@/views/meet/index'),
    meta: { title: '在线教学', noCache: true },
    hidden: true
  },
  {
    path: '/education',
    component: Layout,
@@ -243,6 +252,12 @@
        name: 'EducationSubjectEditPage',
        meta: { title: '学科编辑', noCache: true, activeMenu: '/education/subject/list' },
        hidden: true
      },
      {
        path: 'resource/list',
        component: () => import('@/views/education/resource/list'),
        name: 'EducationResourcePage',
        meta: { title: '教学资源', noCache: true }
      }
    ]
  },
@@ -278,30 +293,30 @@
      }
    ]
  },
  {
    path: '/message',
    component: Layout,
    name: 'MessagePage',
    meta: {
      title: '消息中心',
      icon: 'message'
    },
    alwaysShow: true,
    children: [
      {
        path: 'list',
        component: () => import('@/views/message/list'),
        name: 'MessageListPage',
        meta: { title: '消息列表', noCache: true }
      },
      {
        path: 'send',
        component: () => import('@/views/message/send'),
        name: 'MessageSendPage',
        meta: { title: '消息发送', noCache: true }
      }
    ]
  },
  // {
  //   path: '/message',
  //   component: Layout,
  //   name: 'MessagePage',
  //   meta: {
  //     title: '消息中心',
  //     icon: 'message'
  //   },
  //   alwaysShow: true,
  //   children: [
  //     {
  //       path: 'list',
  //       component: () => import('@/views/message/list'),
  //       name: 'MessageListPage',
  //       meta: { title: '消息列表', noCache: true }
  //     },
  //     {
  //       path: 'send',
  //       component: () => import('@/views/message/send'),
  //       name: 'MessageSendPage',
  //       meta: { title: '消息发送', noCache: true }
  //     }
  //   ]
  // },
  {
    path: '/log',
    component: Layout,