huibing.xie | 1f1606f | 2018-08-20 15:46:55 +0800 | [diff] [blame^] | 1 | /* Layout */ |
| 2 | // import Layout from '../views/layout/Layout' |
| 3 | |
| 4 | const menuList = [ |
| 5 | { |
| 6 | path: '/dictionary', |
| 7 | code: 'dictionary', |
| 8 | meta: { title: '数据字典管理', icon: 'dictionary' }, |
| 9 | children: [ |
| 10 | { |
| 11 | path: 'department', |
| 12 | code: 'Department', |
| 13 | resource: '/views/systemmanagement/department/index', |
| 14 | meta: { title: '院系部门管理', icon: 'department' } |
| 15 | }, |
| 16 | { |
| 17 | path: 'major', |
| 18 | code: 'Major', |
| 19 | resource: '/views/systemmanagement/major/index', |
| 20 | meta: { title: '专业管理', icon: 'major' } |
| 21 | }, |
| 22 | { |
| 23 | path: 'class', |
| 24 | code: 'Class', |
| 25 | resource: '/views/systemmanagement/class/index', |
| 26 | meta: { title: '班级管理', icon: 'class' } |
| 27 | }, |
| 28 | { |
| 29 | path: 'schoolyear', |
| 30 | code: 'SchoolYear', |
| 31 | resource: '/views/systemmanagement/schoolyear/index', |
| 32 | meta: { title: '学年管理', icon: 'schoolyear' } |
| 33 | }, |
| 34 | { |
| 35 | path: 'rostersyncinterface', |
| 36 | code: 'RosterSyncInterface', |
| 37 | resource: '/views/systemmanagement/rostersyncinterface/index', |
| 38 | meta: { title: '名单同步接口设置', icon: 'rostersyncinterface' } |
| 39 | }, |
| 40 | { |
| 41 | path: 'auditscope', |
| 42 | code: 'AuditScope', |
| 43 | resource: '/views/systemmanagement/auditscope/index', |
| 44 | meta: { title: '审核学生范围控制', icon: 'auditscope' } |
| 45 | }, |
| 46 | { |
| 47 | path: 'autoaudittype', |
| 48 | code: 'AutoAuditType', |
| 49 | resource: '/views/systemmanagement/autoaudittype/index', |
| 50 | meta: { title: '离校自动审核类型设置', icon: 'autoaudittype' } |
| 51 | } |
| 52 | ] |
| 53 | }, |
| 54 | { |
| 55 | path: '/workteam', |
| 56 | code: 'workteam', |
| 57 | meta: { title: '工作队伍管理', icon: 'workteam' }, |
| 58 | children: [ |
| 59 | { |
| 60 | path: 'departmentleader', |
| 61 | code: 'Departmentleader', |
| 62 | resource: '/views/workteam/departmentleader/index', |
| 63 | meta: { title: '学院负责人信息管理', icon: 'departmentleader' } |
| 64 | }, |
| 65 | { |
| 66 | path: 'instructor', |
| 67 | code: 'Instructor', |
| 68 | resource: '/views/workteam/instructor/index', |
| 69 | meta: { title: '辅导员信息管理', icon: 'instructor' } |
| 70 | } |
| 71 | ] |
| 72 | }, |
| 73 | { |
| 74 | path: '/news', |
| 75 | code: 'news', |
| 76 | meta: { title: '新闻公告管理', icon: 'news' }, |
| 77 | children: [ |
| 78 | { |
| 79 | path: 'newspublish', |
| 80 | code: 'NewsPublish', |
| 81 | resource: '/views/news/newspublish/index', |
| 82 | meta: { title: '新闻公告发布', icon: 'newspublish' } |
| 83 | }, |
| 84 | { |
| 85 | path: 'newview', |
| 86 | code: 'NewsView', |
| 87 | resource: '/views/news/newview/index', |
| 88 | meta: { title: '新闻公告查看', icon: 'newview' } |
| 89 | } |
| 90 | ] |
| 91 | } |
| 92 | ] |
| 93 | |
| 94 | export default{ |
| 95 | getMenuList: config => { |
| 96 | return { |
| 97 | items: menuList, |
| 98 | code: 200 |
| 99 | } |
| 100 | } |
| 101 | } |