blob: a85410873b58f206476ddb0485a9b26c1628b4e1 [file] [log] [blame]
huibing.xie1f1606f2018-08-20 15:46:55 +08001/* Layout */
2// import Layout from '../views/layout/Layout'
3
4const 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 ]
huibing.xief40b2b92018-08-22 17:12:47 +080091 },
92 {
Horacecc758592018-08-23 17:40:39 +080093 path: '/procedures',
94 code: 'procedures',
95 meta: { title: '离校手续管理', icon: 'procedures' },
96 children: [
97 {
98 path: 'node',
99 code: 'Node',
100 resource: '/views/procedures/node/index',
101 meta: { title: '离校环节设置', icon: 'node' }
102 },
103 {
104 path: 'batch',
105 code: 'Batch',
106 resource: '/views/procedures/batch/index',
107 meta: { title: '离校批次管理', icon: 'batch' }
108 },
109 {
110 path: 'manifest',
111 code: 'manifest',
112 resource: '/views/procedures/manifest/index',
113 meta: { title: '离校名单管理', icon: 'manifest' }
114 },
115 {
116 path: 'batchaudit',
117 code: 'BatchAudit',
118 resource: '/views/procedures/batchAudit/index',
119 meta: { title: '离校批量审核管理', icon: 'batchAudit' }
120 },
121 {
122 path: 'audit',
123 code: 'Audit',
124 resource: '/views/procedures/audit/index',
125 meta: { title: '离校学生审核', icon: 'audit' }
126 },
127 {
128 path: 'view',
129 code: 'View',
130 resource: '/views/procedures/view/index',
131 meta: { title: '办理情况学生查看', icon: 'view' }
132 }
133 ]
134 },
135 {
huibing.xief40b2b92018-08-22 17:12:47 +0800136 path: '/statistical',
137 code: 'statistical',
138 meta: { title: '离校统计查询', icon: 'news' },
139 children: [
140 {
141 path: 'handling',
142 code: 'HandlingSituation',
143 resource: '/views/statistical/handling/index',
144 meta: { title: '办理情况查询', icon: 'handling' }
145 },
146 {
147 path: 'nodereport',
148 code: 'nodereport',
huibing.xie1718f362018-08-24 14:50:58 +0800149 resource: '/views/statistical/nodereport/index',
150 meta: { title: '环节统计报表查询', icon: 'nodereport' }
huibing.xiebba5eb92018-08-27 11:12:36 +0800151 },
152 {
153 path: 'deptreport',
154 code: 'deptreport',
155 resource: '/views/statistical/deptreport/index',
156 meta: { title: '院系统计报表查询', icon: 'deptreport' }
157 },
158 {
159 path: 'deptsectionrep',
160 code: 'deptsectionrep',
161 hidden: true,
162 resource: '/views/statistical/deptsectionrep/index',
163 meta: { title: '院系各部门统计报表', icon: 'deptsectionrep' }
huibing.xie4e36a1e2018-08-27 15:06:55 +0800164 },
165 {
166 path: 'majorreport',
167 code: 'majorreport',
168 resource: '/views/statistical/majorreport/index',
169 meta: { title: '专业统计报表查询', icon: 'majorreport' }
huibing.xief40b2b92018-08-22 17:12:47 +0800170 }
171 ]
huibing.xie1f1606f2018-08-20 15:46:55 +0800172 }
173]
174
175export default{
176 getMenuList: config => {
177 return {
178 items: menuList,
179 code: 200
180 }
181 }
182}