teacherRouter.js 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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: "/visitList",
  228. name: "visitList",
  229. component: () =>
  230. import(/* webpackChunkName: "visitList" */ "@/views/visitManager/visitList"),
  231. meta: {
  232. descrition: "回访记录",
  233. weight: 8 // 页面权重
  234. }
  235. },
  236. {
  237. path: "/addVisit",
  238. name: "addVisit",
  239. component: () =>
  240. import(/* webpackChunkName: "addVisit" */ "@/views/visitManager/addVisit"),
  241. meta: {
  242. descrition: "回访记录",
  243. weight: 8 // 页面权重
  244. }
  245. }, {
  246. path: "/visitDetail",
  247. name: "visitDetail",
  248. component: () =>
  249. import(/* webpackChunkName: "visitDetail" */ "@/views/visitManager/visitDetail"),
  250. meta: {
  251. descrition: "回访记录",
  252. weight: 8 // 页面权重
  253. }
  254. }, {
  255. path: '/rules',
  256. name: 'rules',
  257. component: () => import(/* webpackChunkName:'UserProtocol'*/'@/views/rules/index.vue'),
  258. meta: {
  259. descrition: '签到签到课酬扣减规则',
  260. weight: 3 // 页面权重
  261. }
  262. }, {
  263. path: '/assistCenter',
  264. name: 'assistCenter',
  265. component: () => import(/* webpackChunkName:'assistCenter'*/'@/views/rules/assistCenter.vue'),
  266. meta: {
  267. descrition: '帮助中心',
  268. weight: 3 // 页面权重
  269. }
  270. }, {
  271. path: '/specialDetail',
  272. name: 'specialDetail',
  273. component: () => import(/* webpackChunkName:'specialDetail'*/'@/views/teacher/specialDetail.vue'),
  274. meta: {
  275. descrition: '系统通知',
  276. weight: 3 // 页面权重
  277. }
  278. }, {
  279. path: '/special',
  280. name: 'special',
  281. component: () => import(/* webpackChunkName:'special'*/'@/views/teacher/special.vue'),
  282. meta: {
  283. descrition: '系统通知列表',
  284. weight: 3 // 页面权重
  285. }
  286. }, {
  287. path: '/trainStatistics',
  288. name: 'trainStatistics',
  289. component: () => import(/* webpackChunkName:'trainStatistics'*/'@/views/trainStatistics/index.vue'),
  290. meta: {
  291. descrition: '训练统计',
  292. weight: 3 // 页面权重
  293. }
  294. }, {
  295. path: '/trainDetail',
  296. name: 'trainDetail',
  297. component: () => import(/* webpackChunkName:'trainDetail'*/'@/views/trainStatistics/trainDetail.vue'),
  298. meta: {
  299. descrition: '评测详情',
  300. weight: 3 // 页面权重
  301. }
  302. }, {
  303. path: '/activeProgram',
  304. name: 'activeProgram',
  305. component: () => import(/* webpackChunkName:'activeProgram'*/'@/views/activeProgram/index.vue'),
  306. meta: {
  307. descrition: '活动方案',
  308. weight: 3 // 页面权重
  309. }
  310. }, {
  311. path: '/activeDetail',
  312. name: 'activeDetail',
  313. component: () => import(/* webpackChunkName:'activeDetail'*/'@/views/activeProgram/activeDetail.vue'),
  314. meta: {
  315. descrition: '活动详情',
  316. weight: 3 // 页面权重
  317. }
  318. }, {
  319. path: '/program',
  320. name: 'program',
  321. component: () => import(/* webpackChunkName:'program'*/'@/views/activeProgram/program.vue'),
  322. meta: {
  323. descrition: '活动详情',
  324. weight: 3 // 页面权重
  325. }
  326. }
  327. ];
  328. export default teacherRouter;