index.js 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. import Vue from 'vue';
  2. import Router from 'vue-router';
  3. Vue.use(Router);
  4. export default new Router({
  5. mode: 'history',
  6. base: process.env.NODE_ENV === 'development' ? '' : 'liveadmin',
  7. routes: [
  8. {
  9. path: '/',
  10. redirect: '/homeIndex',
  11. },
  12. {
  13. path: '/',
  14. component: () => import('../components/common/Home.vue'),
  15. meta: { title: '自述文件' },
  16. children: [
  17. {
  18. path: '/homeIndex',
  19. component: () => import('../views/homeIndex.vue'),
  20. meta: { title: '系统首页' },
  21. },
  22. // 菜单管理
  23. {
  24. path: '/menu',
  25. component: () => import('../views/menu/index.vue'),
  26. meta: { title: '菜单管理' },
  27. },
  28. // 审核申请书
  29. {
  30. path: '/adminExamine',
  31. component: () => import('../views/adminCenter/adminExamine/index.vue'),
  32. meta: { title: '审核申请书' },
  33. },
  34. {
  35. path: '/adminExamine/detail',
  36. component: () => import('../views/adminCenter/adminExamine/detail.vue'),
  37. meta: { title: '资料审核' },
  38. },
  39. // 专家评分
  40. {
  41. path: '/adminScore',
  42. component: () => import('../views/adminCenter/adminScore/index.vue'),
  43. meta: { title: '专家评分' },
  44. },
  45. {
  46. path: '/adminScore/detail',
  47. component: () => import('../views/adminCenter/adminScore/detail.vue'),
  48. meta: { title: '专家评分查看' },
  49. },
  50. // 专家会审
  51. {
  52. path: '/adminMeet',
  53. component: () => import('../views/adminCenter/adminMeet/index.vue'),
  54. meta: { title: '专家会审' },
  55. },
  56. {
  57. path: '/adminMeet/detail',
  58. component: () => import('../views/adminCenter/adminMeet/detail.vue'),
  59. meta: { title: '专家会审记录' },
  60. },
  61. {
  62. path: '/adminMeet/expert',
  63. component: () => import('../views/adminCenter/adminMeet/expert.vue'),
  64. meta: { title: '会审专家管理' },
  65. },
  66. // 完善资料
  67. {
  68. path: '/adminPerfect',
  69. component: () => import('../views/adminCenter/adminPerfect/index.vue'),
  70. meta: { title: '完善资料' },
  71. },
  72. {
  73. path: '/adminPerfect/detail',
  74. component: () => import('../views/adminCenter/adminPerfect/detail.vue'),
  75. meta: { title: '资料查看' },
  76. },
  77. // 证书发放
  78. {
  79. path: '/adminCate',
  80. component: () => import('../views/adminCenter/adminCate/index.vue'),
  81. meta: { title: '证书发放' },
  82. },
  83. // 已证书发放
  84. {
  85. path: '/adminHaveCert',
  86. component: () => import('../views/adminCenter/adminHaveCert/index.vue'),
  87. meta: { title: '已证书发放' },
  88. },
  89. // 用户中心
  90. // 申请书
  91. // 待审中
  92. {
  93. path: '/firstApply',
  94. component: () => import('../views/userCenter/userExamine/firstApply.vue'),
  95. meta: { title: '待审中' },
  96. },
  97. // 审核未通过
  98. {
  99. path: '/updateApply',
  100. component: () => import('../views/userCenter/userExamine/updateApply.vue'),
  101. meta: { title: '审核未通过' },
  102. },
  103. // 审核意见查看
  104. {
  105. path: '/userExamine/detail',
  106. component: () => import('../views/userCenter/userExamine/detail.vue'),
  107. meta: { title: '审核意见查看' },
  108. },
  109. // 修改申请书
  110. {
  111. path: '/userExamine/update',
  112. component: () => import('../views/userCenter/userExamine/update.vue'),
  113. meta: { title: '修改申请书' },
  114. },
  115. // 评分总结
  116. {
  117. path: '/expertExam',
  118. component: () => import('../views/userCenter/userScore/expertExam.vue'),
  119. meta: { title: '待专家评分' },
  120. },
  121. // 专家评分页面
  122. {
  123. path: '/expertScore',
  124. component: () => import('../views/expertCenter/score/index.vue'),
  125. meta: { title: '专家审评' },
  126. },
  127. // 评分审核未通过
  128. {
  129. path: '/noExpertScore',
  130. component: () => import('../views/userCenter/userScore/noExpertScore.vue'),
  131. meta: { title: '评分审核未通过' },
  132. },
  133. // 评分审核意见查看
  134. {
  135. path: '/userScore/detail',
  136. component: () => import('../views/userCenter/userScore/detail.vue'),
  137. meta: { title: '评分审核意见查看' },
  138. },
  139. // 专家评分意见查看
  140. {
  141. path: '/userScore/expertOpinion',
  142. component: () => import('../views/userCenter/userScore/expertOpinion.vue'),
  143. meta: { title: '专家评分意见查看' },
  144. },
  145. // 评分修改申请书
  146. {
  147. path: '/userScore/update',
  148. component: () => import('../views/userCenter/userScore/update.vue'),
  149. meta: { title: '评分修改申请书' },
  150. },
  151. // 专家会审
  152. // 待会审
  153. {
  154. path: '/expertMeet',
  155. component: () => import('../views/userCenter/userMeet/expertMeet.vue'),
  156. meta: { title: '待专家评分' },
  157. },
  158. // 会审未通过
  159. {
  160. path: '/noExpertMeet',
  161. component: () => import('../views/userCenter/userMeet/noExpertMeet.vue'),
  162. meta: { title: '待专家评分' },
  163. },
  164. ],
  165. },
  166. {
  167. path: '/login',
  168. component: () => import('../views/Login.vue'),
  169. meta: { title: '登录' },
  170. },
  171. // 用戶申报
  172. {
  173. path: '/userDeclare',
  174. component: () => import('../views/userDeclare/index.vue'),
  175. meta: { title: '用户申报' },
  176. },
  177. {
  178. path: '*',
  179. redirect: '/404',
  180. },
  181. ],
  182. });