menu-config.js 6.3 KB

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