teacherRouter.js 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. let teacherRouter = [
  2. {
  3. path: "/callnames",
  4. name: "callnames",
  5. component: () =>
  6. import(/* webpackChunkName:'CallNames'*/ "@/views/teacher/CallNames.vue"),
  7. meta: {
  8. descrition: "点名",
  9. weight: 1 // 页面权重
  10. }
  11. },
  12. {
  13. path: "/attendance",
  14. name: "attendance",
  15. component: () =>
  16. import(
  17. /* webpackChunkName:'Attendance'*/ "@/views/teacher/Attendance.vue"
  18. ),
  19. meta: {
  20. descrition: "历史考勤统计",
  21. weight: 1 // 页面权重
  22. }
  23. },
  24. {
  25. path: "/bookingset",
  26. name: "bookingset",
  27. component: () =>
  28. import(
  29. /* webpackChunkName:'BookingSet'*/ "@/views/teacher/BookingSet.vue"
  30. ),
  31. meta: {
  32. descrition: "试听课设置",
  33. weight: 1 // 页面权重
  34. }
  35. },
  36. {
  37. path: "/teachingschool",
  38. name: "teachingschool",
  39. component: () =>
  40. import(
  41. /* webpackChunkName:'TeachingSchool'*/ "@/views/teacher/TeachingSchool.vue"
  42. ),
  43. meta: {
  44. descrition: "教学点设置",
  45. weight: 1 // 页面权重
  46. }
  47. },
  48. {
  49. path: "/teachingset",
  50. name: "teachingset",
  51. component: () =>
  52. import(
  53. /* webpackChunkName:'TeachingSet'*/ "@/views/teacher/TeachingSet.vue"
  54. ),
  55. meta: {
  56. descrition: "教学点设置",
  57. weight: 2 // 页面权重
  58. }
  59. },
  60. {
  61. path: "/business",
  62. name: "business",
  63. component: () =>
  64. import(/* webpackChunkName:'Business'*/ "@/views/teacher/Business.vue"),
  65. meta: {
  66. descrition: "业务",
  67. weight: 1 // 页面权重
  68. }
  69. },
  70. {
  71. path: "/approval",
  72. name: "approval",
  73. component: () =>
  74. import(/* webpackChunkName:'Approval'*/ "@/views/teacher/Approval.vue"),
  75. meta: {
  76. descrition: "需我审批",
  77. weight: 2 // 页面权重
  78. }
  79. },
  80. {
  81. path: "/ccme",
  82. name: "ccme",
  83. component: () =>
  84. import(/* webpackChunkName:'CcMe'*/ "@/views/teacher/CcMe.vue"),
  85. meta: {
  86. descrition: "抄送我的",
  87. weight: 3 // 页面权重
  88. }
  89. },
  90. {
  91. path: "/istarted",
  92. name: "istarted",
  93. component: () =>
  94. import(/* webpackChunkName:'IStarted'*/ "@/views/teacher/IStarted.vue"),
  95. meta: {
  96. descrition: "我发起的",
  97. weight: 4 // 页面权重
  98. }
  99. },
  100. {
  101. path: "/starteddetail",
  102. name: "starteddetail",
  103. component: () =>
  104. import(
  105. /* webpackChunkName:'StartedDetail'*/ "@/views/teacher/StartedDetail.vue"
  106. ),
  107. meta: {
  108. descrition: "我发起的",
  109. weight: 5 // 页面权重
  110. }
  111. },
  112. {
  113. path: "/periodadjust",
  114. name: "periodadjust",
  115. component: () =>
  116. import(
  117. /* webpackChunkName:'PeriodAdjust'*/ "@/views/teacher/PeriodAdjust.vue"
  118. ),
  119. meta: {
  120. descrition: "课程调整",
  121. weight: 6 // 页面权重
  122. }
  123. },
  124. {
  125. path: "/periodchange",
  126. name: "periodchange",
  127. component: () =>
  128. import(
  129. /* webpackChunkName:'PeriodChange'*/ "@/views/teacher/PeriodChange.vue"
  130. ),
  131. meta: {
  132. descrition: "课时交换",
  133. weight: 7 // 页面权重
  134. }
  135. },
  136. {
  137. path: "/leave",
  138. name: "leave",
  139. component: () =>
  140. import(/* webpackChunkName:'Leave'*/ "@/views/teacher/Leave.vue"),
  141. meta: {
  142. descrition: "请假",
  143. weight: 1 // 页面权重
  144. }
  145. },
  146. {
  147. path: "/vipapply",
  148. name: "vipapply",
  149. component: () =>
  150. import(/* webpackChunkName:'VIPApply'*/ "@/views/teacher/VIPApply.vue"),
  151. meta: {
  152. descrition: "VIP课程班申请",
  153. weight: 1 // 页面权重
  154. }
  155. },
  156. {
  157. path: "/order",
  158. name: "order",
  159. component: () =>
  160. import(/* webpackChunkName:'order'*/ "@/views/teacher/order.vue"),
  161. meta: {
  162. descrition: "订单列表",
  163. weight: 1 // 页面权重
  164. }
  165. },
  166. {
  167. path: "/privacy",
  168. name: "privacy",
  169. component: () =>
  170. import(/* webpackChunkName: "privacy" */ "@/views/teacher/privacy"),
  171. meta: {
  172. descrition: "隐私协议",
  173. weight: 8 // 页面权重
  174. }
  175. },
  176. {
  177. path: "/studyReport",
  178. name: "studyReport",
  179. component: () =>
  180. import(/* webpackChunkName: "privacy" */ "@/views/teacher/studyReport"),
  181. meta: {
  182. descrition: "学习报告",
  183. weight: 8 // 页面权重
  184. }
  185. },
  186. {
  187. path: "/studyReportNew",
  188. name: "studyReportNew",
  189. component: () =>
  190. import(/* webpackChunkName: "privacy" */ "@/views/teacher/studyReportNew"),
  191. meta: {
  192. descrition: "学习报告",
  193. weight: 8 // 页面权重
  194. }
  195. },
  196. {
  197. path: "/reportDetailNew",
  198. name: "reportDetailNew",
  199. component: () =>
  200. import(/* webpackChunkName: "privacy" */ "@/views/teacher/reportDetailNew"),
  201. meta: {
  202. descrition: "学习报告",
  203. weight: 8 // 页面权重
  204. }
  205. },
  206. {
  207. path: "/reportDetail",
  208. name: "reportDetail",
  209. component: () =>
  210. import(/* webpackChunkName: "privacy" */ "@/views/teacher/reportDetail"),
  211. meta: {
  212. descrition: "学习报告",
  213. weight: 8 // 页面权重
  214. }
  215. },
  216. {
  217. path: "/tobeReport",
  218. name: "tobeReport",
  219. component: () =>
  220. import(/* webpackChunkName: "privacy" */ "@/views/teacher/tobeReport"),
  221. meta: {
  222. descrition: "待完成月报",
  223. weight: 8 // 页面权重
  224. }
  225. },
  226. {
  227. path: "/evaluateList",
  228. name: "evaluateList",
  229. component: () =>
  230. import(/* webpackChunkName: "privacy" */ "@/views/teacher/evaluateManager/evaluateList"),
  231. meta: {
  232. descrition: "网管课评价",
  233. weight: 8 // 页面权重
  234. }
  235. }
  236. ];
  237. export default teacherRouter;