menu-config.js 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  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: '/schoolInfo/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: '/trainStudent/index',
  44. name: '培训学生管理',
  45. module: 'school',
  46. },
  47. ];
  48. const director = [
  49. {
  50. path: '/directorInfo/index',
  51. name: '班主任信息维护', //
  52. module: 'director',
  53. },
  54. {
  55. path: '/newPlan/index',
  56. name: '计划管理', //上报名单
  57. module: 'director',
  58. },
  59. {
  60. path: '/newPlan/classInfo',
  61. name: '确定学生信息', //学生确定信息
  62. module: 'director',
  63. },
  64. // {
  65. // path: '/classes/index',
  66. // name: '班级管理',
  67. // module: 'director',
  68. // },
  69. ];
  70. const teacher = [
  71. {
  72. path: '/teacherInfo/index',
  73. name: '教师信信息维护', //上报名单
  74. module: 'teacher',
  75. },
  76. {
  77. path: '/plan/index',
  78. name: '查看计划', //上报名单
  79. module: 'teacher',
  80. },
  81. {
  82. path: '',
  83. name: '班级管理',
  84. module: 'teacher',
  85. children: [
  86. {
  87. path: '/lesson/index',
  88. name: '课程信息',
  89. module: 'teacher',
  90. },
  91. {
  92. path: '/task/index',
  93. name: '作业管理',
  94. module: 'teacher',
  95. },
  96. {
  97. path: '/class/classStuList',
  98. name: '学生名单',
  99. module: 'teacher',
  100. },
  101. ],
  102. },
  103. {
  104. path: '',
  105. name: '在线授课管理',
  106. module: 'teacher',
  107. children: [
  108. {
  109. path: '/teaching/index',
  110. name: '直播讲课',
  111. module: 'teacher',
  112. },
  113. {
  114. path: '/teaching/afterClass',
  115. name: '课后答疑',
  116. module: 'teacher',
  117. },
  118. {
  119. path: '/teaching/afterClassList',
  120. name: '答疑列表',
  121. module: 'teacher',
  122. },
  123. ],
  124. },
  125. ];
  126. export const menu = [
  127. {
  128. //选择年度,期数,班级
  129. path: '/',
  130. name: '主页',
  131. },
  132. {
  133. path: '',
  134. name: '系统管理',
  135. module: 'center|director',
  136. children: [
  137. {
  138. path: '/train/batch/index',
  139. name: '培训计划',
  140. module: 'center',
  141. },
  142. {
  143. path: '/dept/index',
  144. name: '部门管理',
  145. module: 'center',
  146. },
  147. {
  148. path: '/director/index',
  149. name: '班主任管理',
  150. module: 'center',
  151. },
  152. {
  153. //教师库,和遴选无关,需要显示学生评分
  154. path: '/teacher/index',
  155. name: '教师管理',
  156. module: 'center|director',
  157. },
  158. {
  159. path: '/school/index',
  160. name: '学校管理',
  161. module: 'center|director',
  162. },
  163. {
  164. path: '/location/index',
  165. name: '班级管理',
  166. module: 'center',
  167. },
  168. {
  169. path: '/class/type',
  170. name: '班级类型管理',
  171. module: 'center',
  172. },
  173. {
  174. path: '/bedroom/index',
  175. name: '寝室管理',
  176. module: 'center',
  177. },
  178. {
  179. path: '/subject/index',
  180. name: '科目管理',
  181. module: 'center',
  182. },
  183. {
  184. path: '/duty/index',
  185. name: '职责说明',
  186. module: 'center',
  187. },
  188. {
  189. path: '/lesson/index',
  190. name: '课表模板',
  191. module: 'center',
  192. },
  193. // { 放到科目管理的操作中
  194. // path: '/work/index',
  195. // name: '作业管理',
  196. // module: 'center',
  197. // },
  198. {
  199. path: '',
  200. name: '调查问卷',
  201. module: 'center',
  202. children: [
  203. { path: '/questionnaire/index', name: '问卷管理' },
  204. { path: '/itembank/index', name: '问卷题库' },
  205. // { path: '/questionstate/index', name: '问卷进度' },
  206. // { path: '/questionnaire/export/setting', name: '问卷导出设置' },
  207. ],
  208. },
  209. {
  210. path: '/setting',
  211. name: '系统设置',
  212. module: 'center',
  213. },
  214. ],
  215. },
  216. {
  217. path: '',
  218. name: '计划管理',
  219. module: 'center',
  220. children: [
  221. {
  222. path: '/plan/template',
  223. name: '计划模板',
  224. module: 'center',
  225. },
  226. {
  227. path: '/plan/arrange',
  228. name: '当前计划日历',
  229. module: 'center',
  230. },
  231. {
  232. path: '/plan/director',
  233. name: '班主任全年安排',
  234. module: 'center',
  235. },
  236. {
  237. path: '/plan/school/num',
  238. name: '学校总人数设置',
  239. module: 'center',
  240. },
  241. {
  242. path: '/plan/school/time',
  243. name: '学校参培时间',
  244. module: 'center',
  245. },
  246. {
  247. path: '/plan/school',
  248. name: '培训计划详表',
  249. module: 'center',
  250. },
  251. {
  252. path: '/plan/school/name/list',
  253. name: '学校上报名单管理',
  254. module: 'center',
  255. },
  256. {
  257. path: '/plan/school/stu/export',
  258. name: '学生名单导出',
  259. module: 'center',
  260. },
  261. {
  262. path: '/plan/teacher/plan',
  263. name: '教师上报',
  264. module: 'center',
  265. },
  266. {
  267. path: '/plan/teacher/lesson',
  268. name: '课表安排',
  269. module: 'center',
  270. },
  271. // {
  272. // path: '/plan/classes/index',
  273. // name: '班级管理',
  274. // module: 'center',
  275. // },
  276. ],
  277. },
  278. ...school,
  279. ...director,
  280. ...teacher,
  281. {
  282. //班主任只有这个
  283. path: '',
  284. name: '培训管理',
  285. module: 'center|director',
  286. children: [
  287. {
  288. //班主任不需要
  289. path: '/train/plan/classes',
  290. name: '学生分班',
  291. module: 'center',
  292. },
  293. {
  294. path: '/train/plan/bedroom',
  295. name: '学生分寝',
  296. module: 'center',
  297. },
  298. //针对当前默认期数(可选择,根据当前日期过滤出进行的期数),进行管理
  299. //针对自己班=>自己所有带的班,可以选
  300. {
  301. //班主任不需要
  302. //(显示当前期所有班级,针对某班,可以设置非常用问卷,班级备注:特殊班级,详表添加备注,以便之后单独设置,剩下非常用问卷设置)
  303. path: '/train/plan/quest',
  304. name: '非常用问卷管理',
  305. module: 'center',
  306. },
  307. {
  308. //班主任不需要
  309. path: '/train/plan/term/lesson',
  310. name: '课表管理',
  311. module: 'center|director',
  312. },
  313. {
  314. //班主任针对自己班 管理员针对期
  315. path: '/train/plan/remind',
  316. name: '通知',
  317. module: 'center|director',
  318. },
  319. {
  320. //班主任针对自己班,不要排班,排寝;班主任有 增,删(针对退出,不一定是物理删除),改 功能
  321. //显示学生身份;(如,组委会(班长2人,学委1人,文艺委员1人,宣传委员1人,安全委员1人),组长,寝室长;是否是优秀学员)
  322. //优秀学员权限给班长,班主任查看
  323. path: '/student/index',
  324. name: '学生管理',
  325. module: 'center|director',
  326. },
  327. {
  328. //班主任针对自己班, 打印表:证书;名签;课表(需要老师签到);学生签到表; (范围不限于班)
  329. path: '/train/plan/print',
  330. name: '报表打印',
  331. module: 'center|director',
  332. },
  333. {
  334. path: '/train/plan/leave',
  335. name: '请假查看',
  336. module: 'center|director',
  337. },
  338. {
  339. path: '/train/plan/attendance',
  340. name: '考勤管理',
  341. module: 'center|director',
  342. },
  343. // 07-20新增菜单
  344. // 特殊班考勤管理
  345. {
  346. path: '/train/plan/tsbattendance',
  347. name: '特殊班考勤管理',
  348. module: 'center|director',
  349. },
  350. // 特殊班学生分寝管理
  351. {
  352. path: '/train/plan/tsbbedroom',
  353. name: '特殊班学生分寝',
  354. module: 'center',
  355. },
  356. // {
  357. // //班主任针对自己班,管理员看所有的
  358. // path: '/train/plan/score',
  359. // name: '学生成绩查看',
  360. // module: 'center|director',
  361. // },
  362. //班主任针对自己班,管理员看所有的
  363. { path: '/statistics/question/index', name: '问卷统计', module: 'center|director' },
  364. {
  365. path: '/task/index',
  366. name: '作业管理',
  367. module: 'center|director',
  368. },
  369. {
  370. path: '/stuscore/index',
  371. name: '评分管理',
  372. module: 'director',
  373. },
  374. // 09-24
  375. {
  376. path: '/experience/index',
  377. name: '培训心得',
  378. module: 'center|director',
  379. },
  380. {
  381. path: '/newspaper/index',
  382. name: '新人才报',
  383. module: 'center|director',
  384. },
  385. ],
  386. },
  387. {
  388. path: '/receive/index',
  389. name: '通知查收查看',
  390. module: 'center', //director
  391. },
  392. {
  393. path: '',
  394. name: '在线授课管理',
  395. module: 'center',
  396. children: [
  397. {
  398. path: '/centerTeaching/index',
  399. name: '直播讲课',
  400. module: 'center',
  401. },
  402. {
  403. path: '/centerTeaching/afterClass',
  404. name: '课后答疑',
  405. module: 'center',
  406. },
  407. ],
  408. },
  409. {
  410. path: '/league/index',
  411. name: '积分榜',
  412. module: 'center|teacher|director',
  413. },
  414. {
  415. path: '/trainVidoe/index',
  416. name: '课程培训',
  417. module: 'center|teacher|director',
  418. },
  419. {
  420. path: '/mission/index',
  421. name: '待办事项',
  422. module: 'center',
  423. },
  424. // {
  425. // path: '/timeTable/index',
  426. // name: '教师遴选',
  427. // module: 'center',
  428. // },
  429. ];