menu-config.js 7.4 KB

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