base.ts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. import { DEFAULT_LAYOUT } from '../base';
  2. import { AppRouteRecordRaw } from '../types';
  3. const BASE: AppRouteRecordRaw = {
  4. path: '/base',
  5. name: 'base',
  6. component: DEFAULT_LAYOUT,
  7. meta: {
  8. requiresAuth: true,
  9. },
  10. children: [
  11. {
  12. path: '/user-manage',
  13. name: 'UserManage',
  14. component: () => import('@/views/user/UserManage.vue'),
  15. meta: {
  16. title: '用户管理',
  17. requiresAuth: true,
  18. },
  19. },
  20. {
  21. path: '/student-manage',
  22. name: 'StudentManage',
  23. component: () => import('@/views/student/StudentManage.vue'),
  24. meta: {
  25. title: '学生管理',
  26. requiresAuth: true,
  27. },
  28. },
  29. {
  30. path: '/scan-manage',
  31. name: 'ScanManage',
  32. component: () => import('@/views/scan/ScanManage.vue'),
  33. meta: {
  34. title: '扫描进度',
  35. requiresAuth: true,
  36. },
  37. },
  38. {
  39. path: '/exam-manage',
  40. name: 'ExamManage',
  41. component: () => import('@/views/exam/ExamManage.vue'),
  42. meta: {
  43. title: '考试管理',
  44. requiresAuth: true,
  45. },
  46. },
  47. {
  48. path: '/exam-edit',
  49. name: 'ExamEdit',
  50. component: () => import('@/views/exam/ExamEdit.vue'),
  51. meta: {
  52. title: '编辑考试',
  53. requiresAuth: true,
  54. },
  55. },
  56. {
  57. path: '/reject-manage',
  58. name: 'RejectManage',
  59. component: () => import('@/views/reject/RejectManage.vue'),
  60. meta: {
  61. title: '打回卷',
  62. requiresAuth: true,
  63. },
  64. },
  65. {
  66. path: '/rejcect-record',
  67. name: 'RejectRecord',
  68. component: () => import('@/views/reject/RejectRecord.vue'),
  69. meta: {
  70. title: '打回记录',
  71. requiresAuth: true,
  72. },
  73. },
  74. {
  75. path: 'reject-statistics',
  76. name: 'RejectStatistics',
  77. component: () => import('@/views/reject/RejectStatistics.vue'),
  78. meta: {
  79. title: '打回统计',
  80. requiresAuth: true,
  81. },
  82. },
  83. {
  84. path: '/issue-paper',
  85. name: 'IssuePaper',
  86. component: () => import('@/views/issue-paper/IssuePaper.vue'),
  87. meta: {
  88. title: '问题试卷',
  89. requiresAuth: true,
  90. },
  91. },
  92. {
  93. path: '/score-query',
  94. name: 'ScoreQuery',
  95. component: () => import('@/views/score/ScoreQuery.vue'),
  96. meta: {
  97. title: '成绩查询',
  98. requiresAuth: true,
  99. },
  100. },
  101. {
  102. path: '/analysis-manage',
  103. name: 'AnalysisManage',
  104. component: () => import('@/views/analysis/AnalysisManage.vue'),
  105. meta: {
  106. title: '科目分析',
  107. requiresAuth: true,
  108. },
  109. },
  110. {
  111. path: '/log-manage',
  112. name: 'LogManage',
  113. component: () => import('@/views/log/LogManage.vue'),
  114. meta: {
  115. title: '操作日志',
  116. requiresAuth: true,
  117. },
  118. },
  119. {
  120. path: '/result-check',
  121. name: 'ResultCheck',
  122. component: () => import('@/views/check/ResultCheck.vue'),
  123. meta: {
  124. title: '识别结果检查',
  125. requiresAuth: true,
  126. },
  127. },
  128. {
  129. path: '/image-check',
  130. name: 'ImageCheck',
  131. component: () => import('@/views/check/ImageCheck.vue'),
  132. meta: {
  133. title: '图片检查',
  134. requiresAuth: true,
  135. },
  136. },
  137. {
  138. path: '/manual-confirm',
  139. name: 'ManualConfirm',
  140. component: () => import('@/views/check/ManualConfirm.vue'),
  141. meta: {
  142. title: '人工确认',
  143. requiresAuth: true,
  144. },
  145. },
  146. ],
  147. };
  148. export default BASE;