routes.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. //import Login from '@/view/login'
  2. //import ServerSideLogin from '@/view/serverside/login'
  3. // import HTTP404 from '@/view/404'
  4. import Index from '@/view/index'
  5. import StudentList from '@/view/studentList'
  6. import ScoreList from '@/view/scoreList'
  7. import ScoreListDetail from '@/view/scoreListDetail'
  8. import Notice from '@/view/notice'
  9. import NoticeDetail from '@/view/noticeDetail'
  10. import Source from '@/view/source'
  11. import TeachSource from '@/view/teachSource'
  12. import TeachSourceDetail from '@/view/teachSourceDetail'
  13. import TeachSourceVideo from '@/view/teachSourceVideo'
  14. import TeachPreclass from '@/view/teachPreclass'
  15. import TeachPrelesson from '@/view/teachPrelesson'
  16. import TeachCheck from '@/view/teachCheck'
  17. import TeachTask from '@/view/teachTask'
  18. import TeachTaskDetail from '@/view/teachTaskDetail'
  19. import Report from '@/view/report'
  20. import { resolve } from 'url';
  21. export const routes = [
  22. {
  23. name: 'index',
  24. path: '',
  25. component: Index
  26. },
  27. {
  28. name: 'studentList',
  29. path: '/studentList',
  30. component: StudentList
  31. },
  32. {
  33. name: 'scoreList',
  34. path: '/scoreList',
  35. component: ScoreList
  36. },
  37. {
  38. name: 'scoreListDetail',
  39. path: '/scoreListDetail',
  40. component: ScoreListDetail
  41. },
  42. {
  43. name: 'notice',
  44. path: '/notice',
  45. component: Notice
  46. },
  47. {
  48. name: 'noticeDetail',
  49. path: '/noticeDetail',
  50. component: NoticeDetail
  51. },
  52. {
  53. name: 'source',
  54. path: '/source',
  55. component: Source
  56. },
  57. {
  58. name: 'teachSource',
  59. path: '/teachSource',
  60. component: TeachSource
  61. },
  62. {
  63. name: 'teachSourceDetail',
  64. path: '/teachSourceDetail',
  65. component: TeachSourceDetail
  66. },
  67. {
  68. name: 'teachSourceVideo',
  69. path: '/teachSourceVideo',
  70. component: TeachSourceVideo
  71. },
  72. {
  73. name: 'teachPreclass',
  74. path: '/teachPreclass',
  75. component: TeachPreclass
  76. },
  77. {
  78. name: 'teachPrelesson',
  79. path: '/teachPrelesson',
  80. component: TeachPrelesson
  81. },
  82. {
  83. name: 'teachCheck',
  84. path: '/teachCheck',
  85. component: TeachCheck
  86. },
  87. {
  88. name: 'teachTask',
  89. path: '/teachTask',
  90. component: TeachTask
  91. },
  92. {
  93. name: 'teachTaskDetail',
  94. path: '/teachTaskDetail',
  95. component: TeachTaskDetail
  96. },
  97. {
  98. name: 'report',
  99. path: '/Report',
  100. component: Report
  101. },
  102. ]