| /* Layout */ |
| // import Layout from '../views/layout/Layout' |
| |
| const menuList = [ |
| { |
| path: '/dictionary', |
| code: 'dictionary', |
| meta: { title: '数据字典管理', icon: 'dictionary' }, |
| children: [ |
| { |
| path: 'department', |
| code: 'Department', |
| resource: '/views/systemmanagement/department/index', |
| meta: { title: '院系部门管理', icon: 'department' } |
| }, |
| { |
| path: 'major', |
| code: 'Major', |
| resource: '/views/systemmanagement/major/index', |
| meta: { title: '专业管理', icon: 'major' } |
| }, |
| { |
| path: 'class', |
| code: 'Class', |
| resource: '/views/systemmanagement/class/index', |
| meta: { title: '班级管理', icon: 'class' } |
| }, |
| { |
| path: 'schoolyear', |
| code: 'SchoolYear', |
| resource: '/views/systemmanagement/schoolyear/index', |
| meta: { title: '学年管理', icon: 'schoolyear' } |
| }, |
| { |
| path: 'rostersyncinterface', |
| code: 'RosterSyncInterface', |
| resource: '/views/systemmanagement/rostersyncinterface/index', |
| meta: { title: '名单同步接口设置', icon: 'rostersyncinterface' } |
| }, |
| { |
| path: 'auditscope', |
| code: 'AuditScope', |
| resource: '/views/systemmanagement/auditscope/index', |
| meta: { title: '审核学生范围控制', icon: 'auditscope' } |
| }, |
| { |
| path: 'autoaudittype', |
| code: 'AutoAuditType', |
| resource: '/views/systemmanagement/autoaudittype/index', |
| meta: { title: '离校自动审核类型设置', icon: 'autoaudittype' } |
| } |
| ] |
| }, |
| { |
| path: '/workteam', |
| code: 'workteam', |
| meta: { title: '工作队伍管理', icon: 'workteam' }, |
| children: [ |
| { |
| path: 'departmentleader', |
| code: 'Departmentleader', |
| resource: '/views/workteam/departmentleader/index', |
| meta: { title: '学院负责人信息管理', icon: 'departmentleader' } |
| }, |
| { |
| path: 'instructor', |
| code: 'Instructor', |
| resource: '/views/workteam/instructor/index', |
| meta: { title: '辅导员信息管理', icon: 'instructor' } |
| } |
| ] |
| }, |
| { |
| path: '/news', |
| code: 'news', |
| meta: { title: '新闻公告管理', icon: 'news' }, |
| children: [ |
| { |
| path: 'newspublish', |
| code: 'NewsPublish', |
| resource: '/views/news/newspublish/index', |
| meta: { title: '新闻公告发布', icon: 'newspublish' } |
| }, |
| { |
| path: 'newview', |
| code: 'NewsView', |
| resource: '/views/news/newview/index', |
| meta: { title: '新闻公告查看', icon: 'newview' } |
| } |
| ] |
| } |
| ] |
| |
| export default{ |
| getMenuList: config => { |
| return { |
| items: menuList, |
| code: 200 |
| } |
| } |
| } |