menu-config.js 8.2 KB

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