routes.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 IndexStudent from '@/view/indexStudent'
  6. import StudentList from '@/view/studentList'
  7. import ScoreList from '@/view/scoreList'
  8. import ScoreListDetail from '@/view/scoreListDetail'
  9. import Notice from '@/view/notice'
  10. import NoticeDetail from '@/view/noticeDetail'
  11. import Source from '@/view/source'
  12. import TeachSource from '@/view/teachSource'
  13. import TeachSourceDetail from '@/view/teachSourceDetail'
  14. import TeachSourceVideo from '@/view/teachSourceVideo'
  15. import TeachPreclass from '@/view/teachPreclass'
  16. import TeachPrelesson from '@/view/teachPrelesson'
  17. import TeachCheck from '@/view/teachCheck'
  18. import TeachCheckList from '@/view/teachCheckList'
  19. import TeachTask from '@/view/teachTask'
  20. import TeachTaskDetail from '@/view/teachTaskDetail'
  21. import Report from '@/view/report'
  22. import Reportad from '@/view/reportadvanced'
  23. import { resolve } from 'url';
  24. export const routes = [
  25. {
  26. name: 'index',
  27. path: '',
  28. component: Index
  29. },
  30. {
  31. name: 'indexStudent',
  32. path: '/IndexStudent',
  33. component: IndexStudent
  34. },
  35. {
  36. name: 'studentList',
  37. path: '/studentList',
  38. component: StudentList
  39. },
  40. {
  41. name: 'scoreList',
  42. path: '/scoreList',
  43. component: ScoreList
  44. },
  45. {
  46. name: 'scoreListDetail',
  47. path: '/scoreListDetail',
  48. component: ScoreListDetail
  49. },
  50. {
  51. name: 'notice',
  52. path: '/notice',
  53. component: Notice
  54. },
  55. {
  56. name: 'noticeDetail',
  57. path: '/noticeDetail',
  58. component: NoticeDetail
  59. },
  60. {
  61. name: 'source',
  62. path: '/source',
  63. component: Source
  64. },
  65. {
  66. name: 'teachSource',
  67. path: '/teachSource',
  68. component: TeachSource
  69. },
  70. {
  71. name: 'teachSourceDetail',
  72. path: '/teachSourceDetail',
  73. component: TeachSourceDetail
  74. },
  75. {
  76. name: 'teachSourceVideo',
  77. path: '/teachSourceVideo',
  78. component: TeachSourceVideo
  79. },
  80. {
  81. name: 'teachPreclass',
  82. path: '/teachPreclass',
  83. component: TeachPreclass
  84. },
  85. {
  86. name: 'teachPrelesson',
  87. path: '/teachPrelesson',
  88. component: TeachPrelesson
  89. },
  90. {
  91. name: 'teachCheck',
  92. path: '/teachCheck',
  93. component: TeachCheck
  94. },
  95. {
  96. name: 'teachCheckList',
  97. path: '/teachCheckList',
  98. component: TeachCheckList
  99. },
  100. {
  101. name: 'teachTask',
  102. path: '/teachTask',
  103. component: TeachTask
  104. },
  105. {
  106. name: 'teachTaskDetail',
  107. path: '/teachTaskDetail',
  108. component: TeachTaskDetail
  109. },
  110. {
  111. name: 'report',
  112. path: '/Report',
  113. component: Report
  114. },
  115. {
  116. name: 'reportad',
  117. path: '/Reportad',
  118. component: Reportad
  119. },
  120. ]