menu-config.js 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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. path: '',
  63. name: '班级管理',
  64. module: 'teacher',
  65. children: [
  66. {
  67. path: '/lesson/index',
  68. name: '课程信息',
  69. module: 'teacher',
  70. },
  71. {
  72. path: '/task/index',
  73. name: '作业管理',
  74. module: 'teacher',
  75. },
  76. {
  77. path: '/class/index',
  78. name: '班级信息',
  79. module: 'teacher',
  80. },
  81. {
  82. path: '/class/classStuList',
  83. name: '学生名单',
  84. module: 'teacher',
  85. },
  86. ],
  87. },
  88. ];
  89. export const menu = [
  90. {
  91. //选择年度,期数,班级
  92. path: '/',
  93. name: '主页',
  94. },
  95. {
  96. path: '',
  97. name: '系统管理',
  98. module: 'center',
  99. children: [
  100. {
  101. path: '/train/batch/index',
  102. name: '培训批次',
  103. module: 'center',
  104. },
  105. {
  106. path: '/dept/index',
  107. name: '部门管理',
  108. module: 'center',
  109. },
  110. {
  111. path: '/director/index',
  112. name: '班主任管理',
  113. module: 'center',
  114. },
  115. {
  116. //教师库,和遴选无关,需要显示学生评分
  117. path: '/teacher/index',
  118. name: '教师管理',
  119. module: 'center',
  120. },
  121. {
  122. path: '/school/index',
  123. name: '学校管理',
  124. module: 'center',
  125. },
  126. {
  127. path: '/location/index',
  128. name: '班级管理',
  129. module: 'center',
  130. },
  131. {
  132. path: '/bedroom/index',
  133. name: '寝室管理',
  134. module: 'center',
  135. },
  136. {
  137. path: '/subject/index',
  138. name: '科目管理',
  139. module: 'center',
  140. },
  141. {
  142. path: '/duty/index',
  143. name: '职责说明',
  144. module: 'center',
  145. },
  146. {
  147. path: '/lesson/index',
  148. name: '课表模板',
  149. module: 'center',
  150. },
  151. // { 放到科目管理的操作中
  152. // path: '/work/index',
  153. // name: '作业管理',
  154. // module: 'center',
  155. // },
  156. {
  157. path: '',
  158. name: '调查问卷',
  159. module: 'center',
  160. children: [
  161. { path: '/questionnaire/index', name: '问卷管理' },
  162. { path: '/itembank/index', name: '问卷题库' },
  163. { path: '/questionstate/index', name: '问卷进度' },
  164. ],
  165. },
  166. {
  167. path: '/setting',
  168. name: '系统设置',
  169. module: 'center',
  170. },
  171. ],
  172. },
  173. {
  174. path: '',
  175. name: '计划管理',
  176. module: 'center',
  177. children: [
  178. {
  179. path: '/plan/arrange',
  180. name: '当前计划日历',
  181. module: 'center',
  182. },
  183. {
  184. path: '/plan/director',
  185. name: '班主任全年安排',
  186. module: 'center',
  187. },
  188. {
  189. path: '/plan/school/num',
  190. name: '学校总人数设置',
  191. module: 'center',
  192. },
  193. {
  194. path: '/plan/school/time',
  195. name: '学校参培时间',
  196. module: 'center',
  197. },
  198. {
  199. path: '/plan/school',
  200. name: '培训计划详表',
  201. module: 'center',
  202. },
  203. // {
  204. // path: '/plan/classes/index',
  205. // name: '班级管理',
  206. // module: 'center',
  207. // },
  208. {
  209. path: '/plan/template',
  210. name: '计划模板',
  211. module: 'center',
  212. },
  213. ],
  214. },
  215. ...director,
  216. ...teacher,
  217. {
  218. //班主任只有这个
  219. path: '',
  220. name: '培训管理',
  221. module: 'center|director',
  222. children: [
  223. {
  224. //班主任不需要
  225. path: '/train/plan/classes',
  226. name: '学生分班',
  227. module: 'center',
  228. },
  229. {
  230. path: '/train/plan/bedroom',
  231. name: '寝室管理',
  232. module: 'center',
  233. },
  234. //针对当前默认期数(可选择,根据当前日期过滤出进行的期数),进行管理
  235. //针对自己班=>自己所有带的班,可以选
  236. {
  237. //班主任不需要
  238. //(显示当前期所有班级,针对某班,可以设置非常用问卷,班级备注:特殊班级,详表添加备注,以便之后单独设置,剩下非常用问卷设置)
  239. path: '/train/plan/quest',
  240. name: '非常用问卷管理',
  241. module: 'center',
  242. },
  243. {
  244. //班主任不需要
  245. path: '/train/plan/lesson',
  246. name: '课表管理',
  247. module: 'center',
  248. },
  249. {
  250. //班主任针对自己班 管理员针对期
  251. path: '/train/plan/remind',
  252. name: '通知',
  253. module: 'center|director',
  254. },
  255. {
  256. //班主任针对自己班,不要排班,排寝;班主任有 增,删(针对退出,不一定是物理删除),改 功能
  257. //显示学生身份;(如,组委会(班长2人,学委1人,文艺委员1人,宣传委员1人,安全委员1人),组长,寝室长;是否是优秀学员)
  258. //优秀学员权限给班长,班主任查看
  259. path: '/student/index',
  260. name: '学生管理',
  261. module: 'center|director',
  262. },
  263. {
  264. //班主任针对自己班, 打印表:证书;名签;课表(需要老师签到);学生签到表;
  265. path: '/train/plan/print',
  266. name: '报表打印(范围不限于班)',
  267. module: 'center|director',
  268. },
  269. {
  270. path: '/train/plan/leave',
  271. name: '请假查看',
  272. module: 'center|director',
  273. },
  274. {
  275. path: '/train/plan/attendance',
  276. name: '考勤管理',
  277. module: 'center|director',
  278. },
  279. {
  280. //班主任针对自己班,管理员看所有的
  281. path: '/train/plan/score',
  282. name: '学生成绩查看',
  283. module: 'center|director',
  284. },
  285. //班主任针对自己班,管理员看所有的
  286. { path: '/statistics/question/index', name: '问卷统计', module: 'center|director' },
  287. ],
  288. },
  289. {
  290. path: '/receive/index',
  291. name: '通知查收查看',
  292. module: 'center|director',
  293. },
  294. {
  295. path: '/timeTable/index',
  296. name: '教师遴选',
  297. module: 'center',
  298. },
  299. ];