blob: df7bae577048b48a4a5e55ec05e7ff0fb8abfc11 [file] [log] [blame]
huibing.xie1f1606f2018-08-20 15:46:55 +08001/* Layout */
2// import Layout from '../views/layout/Layout'
3
4const menuList = [
5 {
huibing.xie41e0d912018-08-28 14:26:11 +08006 path: '/permission',
7 code: 'permission',
8 meta: { title: '用户权限管理', icon: 'permission' },
9 children: [
10 {
11 path: 'user',
12 code: 'user',
13 resource: '/views/systemmanagement/user/index',
14 meta: { title: '用户管理', icon: 'user' }
15 }
16 ]
17 },
18 {
huibing.xie1f1606f2018-08-20 15:46:55 +080019 path: '/dictionary',
20 code: 'dictionary',
21 meta: { title: '数据字典管理', icon: 'dictionary' },
22 children: [
23 {
huibing.xie84425172018-08-28 19:41:13 +080024 path: 'datadictionary',
25 code: 'datadictionary',
26 resource: '/views/systemmanagement/datadictionary/index',
27 meta: { title: '数据字典管理', icon: 'datadictionary' }
28 },
29 {
huibing.xie1f1606f2018-08-20 15:46:55 +080030 path: 'department',
31 code: 'Department',
32 resource: '/views/systemmanagement/department/index',
33 meta: { title: '院系部门管理', icon: 'department' }
34 },
35 {
36 path: 'major',
37 code: 'Major',
38 resource: '/views/systemmanagement/major/index',
39 meta: { title: '专业管理', icon: 'major' }
40 },
41 {
42 path: 'class',
43 code: 'Class',
44 resource: '/views/systemmanagement/class/index',
45 meta: { title: '班级管理', icon: 'class' }
46 },
47 {
48 path: 'schoolyear',
49 code: 'SchoolYear',
50 resource: '/views/systemmanagement/schoolyear/index',
51 meta: { title: '学年管理', icon: 'schoolyear' }
52 },
53 {
54 path: 'rostersyncinterface',
55 code: 'RosterSyncInterface',
56 resource: '/views/systemmanagement/rostersyncinterface/index',
57 meta: { title: '名单同步接口设置', icon: 'rostersyncinterface' }
58 },
59 {
60 path: 'auditscope',
61 code: 'AuditScope',
62 resource: '/views/systemmanagement/auditscope/index',
63 meta: { title: '审核学生范围控制', icon: 'auditscope' }
64 },
65 {
66 path: 'autoaudittype',
67 code: 'AutoAuditType',
68 resource: '/views/systemmanagement/autoaudittype/index',
69 meta: { title: '离校自动审核类型设置', icon: 'autoaudittype' }
70 }
71 ]
72 },
73 {
74 path: '/workteam',
75 code: 'workteam',
76 meta: { title: '工作队伍管理', icon: 'workteam' },
77 children: [
78 {
79 path: 'departmentleader',
80 code: 'Departmentleader',
81 resource: '/views/workteam/departmentleader/index',
82 meta: { title: '学院负责人信息管理', icon: 'departmentleader' }
83 },
84 {
85 path: 'instructor',
86 code: 'Instructor',
87 resource: '/views/workteam/instructor/index',
88 meta: { title: '辅导员信息管理', icon: 'instructor' }
89 }
90 ]
91 },
92 {
93 path: '/news',
94 code: 'news',
95 meta: { title: '新闻公告管理', icon: 'news' },
96 children: [
97 {
98 path: 'newspublish',
99 code: 'NewsPublish',
100 resource: '/views/news/newspublish/index',
101 meta: { title: '新闻公告发布', icon: 'newspublish' }
102 },
103 {
104 path: 'newview',
105 code: 'NewsView',
106 resource: '/views/news/newview/index',
107 meta: { title: '新闻公告查看', icon: 'newview' }
108 }
109 ]
huibing.xief40b2b92018-08-22 17:12:47 +0800110 },
111 {
Horacecc758592018-08-23 17:40:39 +0800112 path: '/procedures',
113 code: 'procedures',
114 meta: { title: '离校手续管理', icon: 'procedures' },
115 children: [
116 {
117 path: 'node',
118 code: 'Node',
119 resource: '/views/procedures/node/index',
120 meta: { title: '离校环节设置', icon: 'node' }
121 },
122 {
123 path: 'batch',
124 code: 'Batch',
125 resource: '/views/procedures/batch/index',
126 meta: { title: '离校批次管理', icon: 'batch' }
127 },
128 {
huibing.xiec95b6a22018-08-29 14:15:43 +0800129 path: 'leavestudent',
130 code: 'leavestudent',
131 resource: '/views/procedures/leavestudent/index',
132 meta: { title: '离校名单管理', icon: 'leavestudent' }
Horacecc758592018-08-23 17:40:39 +0800133 },
134 {
135 path: 'batchaudit',
136 code: 'BatchAudit',
137 resource: '/views/procedures/batchAudit/index',
138 meta: { title: '离校批量审核管理', icon: 'batchAudit' }
139 },
140 {
141 path: 'audit',
142 code: 'Audit',
143 resource: '/views/procedures/audit/index',
144 meta: { title: '离校学生审核', icon: 'audit' }
145 },
146 {
147 path: 'view',
148 code: 'View',
149 resource: '/views/procedures/view/index',
150 meta: { title: '办理情况学生查看', icon: 'view' }
151 }
152 ]
153 },
154 {
huibing.xief40b2b92018-08-22 17:12:47 +0800155 path: '/statistical',
156 code: 'statistical',
157 meta: { title: '离校统计查询', icon: 'news' },
158 children: [
159 {
160 path: 'handling',
161 code: 'HandlingSituation',
162 resource: '/views/statistical/handling/index',
163 meta: { title: '办理情况查询', icon: 'handling' }
164 },
165 {
166 path: 'nodereport',
167 code: 'nodereport',
huibing.xie1718f362018-08-24 14:50:58 +0800168 resource: '/views/statistical/nodereport/index',
169 meta: { title: '环节统计报表查询', icon: 'nodereport' }
huibing.xiebba5eb92018-08-27 11:12:36 +0800170 },
171 {
172 path: 'deptreport',
173 code: 'deptreport',
174 resource: '/views/statistical/deptreport/index',
175 meta: { title: '院系统计报表查询', icon: 'deptreport' }
176 },
177 {
178 path: 'deptsectionrep',
179 code: 'deptsectionrep',
180 hidden: true,
181 resource: '/views/statistical/deptsectionrep/index',
182 meta: { title: '院系各部门统计报表', icon: 'deptsectionrep' }
huibing.xie4e36a1e2018-08-27 15:06:55 +0800183 },
184 {
185 path: 'majorreport',
186 code: 'majorreport',
187 resource: '/views/statistical/majorreport/index',
188 meta: { title: '专业统计报表查询', icon: 'majorreport' }
huibing.xieed632dc2018-08-27 15:31:51 +0800189 },
190 {
191 path: 'sectionreport',
192 code: 'sectionreport',
193 resource: '/views/statistical/sectionreport/index',
194 meta: { title: '部门统计报表查询', icon: 'sectionreport' }
huibing.xief40b2b92018-08-22 17:12:47 +0800195 }
196 ]
huibing.xie1f1606f2018-08-20 15:46:55 +0800197 }
198]
199
200export default{
201 getMenuList: config => {
202 return {
203 items: menuList,
204 code: 200
205 }
206 }
207}