menu-config.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. export const center = [
  2. {
  3. //选择年度,期数,班级
  4. path: '/',
  5. name: '主页',
  6. },
  7. {
  8. path: '',
  9. name: '系统管理',
  10. module: 'center',
  11. children: [
  12. {
  13. path: '/train/batch/index',
  14. name: '培训批次',
  15. module: 'center',
  16. },
  17. {
  18. path: '/dept/index',
  19. name: '部门管理',
  20. module: 'center',
  21. },
  22. {
  23. path: '/director/index',
  24. name: '班主任管理',
  25. module: 'center',
  26. },
  27. {
  28. //教师库,和遴选无关,需要显示学生评分
  29. path: '/teacher/index',
  30. name: '教师管理',
  31. module: 'center',
  32. },
  33. {
  34. path: '/school/index',
  35. name: '学校管理',
  36. module: 'center',
  37. },
  38. {
  39. path: '/location/index',
  40. name: '班级管理',
  41. module: 'center',
  42. },
  43. {
  44. path: '/bedroom/index',
  45. name: '寝室管理',
  46. module: 'center',
  47. },
  48. {
  49. path: '/subject/index',
  50. name: '科目管理',
  51. module: 'center',
  52. },
  53. {
  54. path: '/duty/index',
  55. name: '职责说明',
  56. module: 'center',
  57. },
  58. {
  59. path: '/lesson/index',
  60. name: '课表模板',
  61. module: 'center',
  62. },
  63. // { 放到科目管理的操作中
  64. // path: '/work/index',
  65. // name: '作业管理',
  66. // module: 'center',
  67. // },
  68. {
  69. path: '',
  70. name: '调查问卷',
  71. module: 'center',
  72. children: [
  73. { path: '/questionnaire/index', name: '问卷管理' },
  74. { path: '/itembank/index', name: '问卷题库' },
  75. { path: '/questionstate/index', name: '问卷进度' },
  76. ],
  77. },
  78. {
  79. path: '/setting',
  80. name: '系统邮箱设置',
  81. module: 'center',
  82. },
  83. ],
  84. },
  85. {
  86. path: '',
  87. name: '计划管理',
  88. module: 'center',
  89. children: [
  90. {
  91. path: '/newPlan/arrange',
  92. name: '当前计划日历',
  93. module: 'center',
  94. },
  95. {
  96. path: '/newPlan/director',
  97. name: '班主任全年安排',
  98. module: 'center',
  99. },
  100. {
  101. path: '/newPlan/school/num',
  102. name: '学校总人数设置',
  103. module: 'center',
  104. },
  105. {
  106. path: '/newPlan/classes/index',
  107. name: '学校参培时间',
  108. module: 'center',
  109. },
  110. {
  111. path: '/newPlan/classes/index',
  112. name: '培训计划详表',
  113. module: 'center',
  114. },
  115. {
  116. path: '/newPlan/classes/index',
  117. name: '班级管理',
  118. module: 'center',
  119. },
  120. {
  121. path: '/newPlan/template',
  122. name: '计划模板',
  123. module: 'center',
  124. },
  125. ],
  126. },
  127. {
  128. //班主任只有这个
  129. path: '',
  130. name: '培训管理',
  131. module: 'center|director',
  132. children: [
  133. //针对当前默认期数(可选择,根据当前日期过滤出进行的期数),进行管理
  134. //针对自己班=>自己所有带的班,可以选
  135. {
  136. //班主任不需要
  137. //(显示当前期所有班级,针对某班,可以设置非常用问卷,班级备注:特殊班级,详表添加备注,以便之后单独设置,剩下非常用问卷设置)
  138. path: '/newPlan/classes/index',
  139. name: '班级设置',
  140. module: 'center',
  141. },
  142. {
  143. //班主任不需要
  144. path: '/leave/index',
  145. name: '课表管理(地点,教师,班主任...)',
  146. module: 'center',
  147. },
  148. {
  149. //班主任针对自己班 管理员针对期
  150. path: '/leave/index',
  151. name: '通知',
  152. module: 'center|director',
  153. },
  154. {
  155. //班主任针对自己班,不要排班,排寝;班主任有 增,删(针对退出,不一定是物理删除),改 功能
  156. //显示学生身份;(如,组委会(班长2人,学委1人,文艺委员1人,宣传委员1人,安全委员1人),组长,寝室长;是否是优秀学员)
  157. //优秀学员权限给班长,班主任查看
  158. path: '/student/index',
  159. name: '学生管理',
  160. module: 'center|director',
  161. },
  162. {
  163. //班主任针对自己班, 打印表:证书;名签;课表(需要老师签到);学生签到表;
  164. path: '/student/index',
  165. name: '报表打印(范围不限于班)',
  166. module: 'center|director',
  167. },
  168. {
  169. path: '/leave/index',
  170. name: '请假查看',
  171. module: 'center|director',
  172. },
  173. {
  174. path: '/leave/index',
  175. name: '考勤管理',
  176. module: 'center|director',
  177. },
  178. {
  179. //班主任针对自己班,管理员看所有的
  180. path: '/leave/index',
  181. name: '学生成绩查看',
  182. module: 'center|director',
  183. },
  184. //班主任针对自己班,管理员看所有的
  185. { path: '/statistics/question/index', name: '问卷统计', module: 'center|director' },
  186. ],
  187. },
  188. {
  189. path: '/timeTable/index',
  190. name: '教师遴选',
  191. module: 'center',
  192. },
  193. ];
  194. export const school = [
  195. {
  196. path: '',
  197. name: '测试',
  198. module: 'school',
  199. children: [
  200. {
  201. path: '/list',
  202. name: '测试列表',
  203. },
  204. {
  205. path: '/detail',
  206. name: '测试详情',
  207. },
  208. ],
  209. },
  210. {
  211. path: '/plan/index',
  212. name: '计划管理', //上报名单
  213. module: 'school',
  214. },
  215. {
  216. path: '/newPlan/index',
  217. name: '新计划管理', //上报名单
  218. module: 'school',
  219. },
  220. {
  221. path: '/teacher/index',
  222. name: '教师确认',
  223. module: 'school',
  224. },
  225. {
  226. path: '/leave/index',
  227. name: '请假管理',
  228. module: 'school',
  229. },
  230. {
  231. path: '/kaoqin/index',
  232. name: '考勤管理',
  233. module: 'school',
  234. },
  235. ];
  236. export const director = [
  237. {
  238. path: '',
  239. name: '测试',
  240. module: 'director',
  241. children: [
  242. {
  243. path: '/list',
  244. name: '测试列表',
  245. },
  246. {
  247. path: '/detail',
  248. name: '测试详情',
  249. },
  250. ],
  251. },
  252. {
  253. path: '/plan/index',
  254. name: '计划管理', //上报名单
  255. module: 'director',
  256. },
  257. {
  258. path: '/newPlan/index',
  259. name: '新计划管理', //上报名单
  260. module: 'director',
  261. },
  262. {
  263. path: '/classes/index',
  264. name: '班级管理',
  265. module: 'director',
  266. },
  267. ];
  268. export const teacher = [
  269. {
  270. path: '/plan/index',
  271. name: '查看计划', //上报名单
  272. module: 'teacher',
  273. },
  274. ];