| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/online/study', |
| | | path: '/education', |
| | | component: Layout, |
| | | name: 'OnLineStudy', |
| | | name: 'EducationPage', |
| | | meta: { |
| | | title: '在线学习', |
| | | icon: 'exam' |
| | | title: '部门管理', |
| | | icon: 'education' |
| | | }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'type', |
| | | component: () => import('@/views/onlineStudy/type'), |
| | | name: 'Type', |
| | | meta: { title: '学习类型', noCache: true } |
| | | path: 'subject/list', |
| | | component: () => import('@/views/education/subject/list'), |
| | | name: 'EducationSubjectPage', |
| | | meta: { title: '部门课目', noCache: true } |
| | | }, |
| | | { |
| | | path: 'file', |
| | | component: () => import('@/views/onlineStudy/file'), |
| | | name: 'File', |
| | | meta: { title: '学习文件', noCache: true } |
| | | path: 'department/list', |
| | | component: () => import('@/views/education/department/list'), |
| | | name: 'EducationDepartmentPage', |
| | | meta: { title: '部门列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'subject/edit', |
| | | component: () => import('@/views/education/subject/edit'), |
| | | name: 'EducationSubjectEditPage', |
| | | meta: { title: '课目编辑', noCache: true, activeMenu: '/education/subject/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'department/edit', |
| | | component: () => import('@/views/education/department/edit'), |
| | | name: 'EducationSubjectEditPage', |
| | | meta: { title: '部门编辑', noCache: true, activeMenu: '/education/department/list' }, |
| | | hidden: true |
| | | } |
| | | ] |
| | | }, |
| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/task', |
| | | component: Layout, |
| | | name: 'TaskPage', |
| | | meta: { |
| | | 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 } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/education', |
| | | component: Layout, |
| | | name: 'EducationPage', |
| | | meta: { |
| | | title: '部门管理', |
| | | icon: 'education' |
| | | }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'subject/list', |
| | | component: () => import('@/views/education/subject/list'), |
| | | name: 'EducationSubjectPage', |
| | | meta: { title: '部门课目', noCache: true } |
| | | }, |
| | | { |
| | | path: 'department/list', |
| | | component: () => import('@/views/education/department/list'), |
| | | name: 'EducationDepartmentPage', |
| | | meta: { title: '部门列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'subject/edit', |
| | | component: () => import('@/views/education/subject/edit'), |
| | | name: 'EducationSubjectEditPage', |
| | | meta: { title: '课目编辑', noCache: true, activeMenu: '/education/subject/list' }, |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: 'department/edit', |
| | | component: () => import('@/views/education/department/edit'), |
| | | name: 'EducationSubjectEditPage', |
| | | meta: { title: '部门编辑', noCache: true, activeMenu: '/education/department/list' }, |
| | | hidden: true |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/answer', |
| | | component: Layout, |
| | | name: 'AnswerPage', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | 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 } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/questionAnswer', |
| | | component: Layout, |
| | | name: 'questionAnswerPage', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/message', |
| | | path: '/task', |
| | | component: Layout, |
| | | name: 'MessagePage', |
| | | name: 'TaskPage', |
| | | meta: { |
| | | title: '消息中心', |
| | | icon: 'message' |
| | | title: '任务管理', |
| | | icon: 'task' |
| | | }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'list', |
| | | component: () => import('@/views/message/list'), |
| | | name: 'MessageListPage', |
| | | meta: { title: '消息列表', noCache: true } |
| | | component: () => import('@/views/task/list'), |
| | | name: 'TaskListPage', |
| | | meta: { title: '任务列表', noCache: true } |
| | | }, |
| | | { |
| | | path: 'send', |
| | | component: () => import('@/views/message/send'), |
| | | name: 'MessageSendPage', |
| | | meta: { title: '消息发送', noCache: true } |
| | | path: 'edit', |
| | | component: () => import('@/views/task/edit'), |
| | | name: 'TaskEditPage', |
| | | meta: { title: '任务创建', noCache: true } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/log', |
| | | component: Layout, |
| | | name: 'LogPage', |
| | | meta: { |
| | | title: '日志中心', |
| | | icon: 'log' |
| | | }, |
| | | alwaysShow: true, |
| | | children: [ |
| | | { |
| | | path: 'user/list', |
| | | component: () => import('@/views/log/list'), |
| | | name: 'LogUserPage', |
| | | 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, |
| | | // name: 'LogPage', |
| | | // meta: { |
| | | // title: '日志中心', |
| | | // icon: 'log' |
| | | // }, |
| | | // alwaysShow: true, |
| | | // children: [ |
| | | // { |
| | | // path: 'user/list', |
| | | // component: () => import('@/views/log/list'), |
| | | // name: 'LogUserPage', |
| | | // meta: { title: '用户日志', noCache: true } |
| | | // } |
| | | // ] |
| | | // }, |
| | | // { |
| | | // path: '/meeting', |
| | | // component: Layout, |