index.js 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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' ? '' : 'liveAchieve',
  7. routes: [
  8. {
  9. path: '/',
  10. redirect: '/homeIndex',
  11. },
  12. {
  13. path: '/',
  14. component: () => import('../components/common/Home.vue'),
  15. meta: { title: '自述文件1' },
  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. path: '/adminApplyExpert',
  91. component: () => import('../views/adminCenter/adminApplyExpert/index.vue'),
  92. meta: { title: '已发证书' },
  93. },
  94. // 专家评分列表
  95. {
  96. path: '/expertScore',
  97. component: () => import('../views/expertCenter/score/index.vue'),
  98. meta: { title: '专家审评' },
  99. },
  100. // 专家会审列表
  101. {
  102. path: '/expertMeet',
  103. component: () => import('../views/expertCenter/meet/index.vue'),
  104. meta: { title: '专家会审' },
  105. },
  106. // 用户中心
  107. // 申请书
  108. // // 待审中
  109. // {
  110. // path: '/firstApply',
  111. // component: () => import('../views/userCenter/userExamine/firstApply.vue'),
  112. // meta: { title: '待审中' },
  113. // },
  114. // // 审核未通过
  115. // {
  116. // path: '/updateApply',
  117. // component: () => import('../views/userCenter/userExamine/updateApply.vue'),
  118. // meta: { title: '审核未通过' },
  119. // },
  120. // // 审核意见查看
  121. // {
  122. // path: '/userExamine/detail',
  123. // component: () => import('../views/userCenter/userExamine/detail.vue'),
  124. // meta: { title: '审核意见查看' },
  125. // },
  126. // // 修改申请书
  127. // {
  128. // path: '/userExamine/update',
  129. // component: () => import('../views/userCenter/userExamine/update.vue'),
  130. // meta: { title: '修改申请书' },
  131. // },
  132. // // 评分总结
  133. // {
  134. // path: '/expertExam',
  135. // component: () => import('../views/userCenter/userScore/expertExam.vue'),
  136. // meta: { title: '待专家评分' },
  137. // },
  138. // // 评分审核未通过
  139. // {
  140. // path: '/noExpertScore',
  141. // component: () => import('../views/userCenter/userScore/noExpertScore.vue'),
  142. // meta: { title: '评分审核未通过' },
  143. // },
  144. // // 评分审核意见查看
  145. // {
  146. // path: '/userScore/detail',
  147. // component: () => import('../views/userCenter/userScore/detail.vue'),
  148. // meta: { title: '评分审核意见查看' },
  149. // },
  150. // // 专家评分意见查看
  151. // {
  152. // path: '/userScore/expertOpinion',
  153. // component: () => import('../views/userCenter/userScore/expertOpinion.vue'),
  154. // meta: { title: '专家评分意见查看' },
  155. // },
  156. // // 评分修改申请书
  157. // {
  158. // path: '/userScore/update',
  159. // component: () => import('../views/userCenter/userScore/update.vue'),
  160. // meta: { title: '评分修改申请书' },
  161. // },
  162. // // 专家会审
  163. // // 待缴费
  164. // {
  165. // path: '/expertPay',
  166. // component: () => import('../views/userCenter/userMeet/expertPay.vue'),
  167. // meta: { title: '待缴费' },
  168. // },
  169. // // 待会审
  170. // {
  171. // path: '/expertMeet',
  172. // component: () => import('../views/userCenter/userMeet/expertMeet.vue'),
  173. // meta: { title: '待专家评分' },
  174. // },
  175. // // 会审未通过
  176. // {
  177. // path: '/noExpertMeet',
  178. // component: () => import('../views/userCenter/userMeet/noExpertMeet.vue'),
  179. // meta: { title: '会审未通过' },
  180. // },
  181. // {
  182. // path: '/userMeet/detail',
  183. // component: () => import('../views/userCenter/userMeet/detail.vue'),
  184. // meta: { title: '会审意见查看' },
  185. // },
  186. // // 完善资料
  187. // {
  188. // path: '/perfectData',
  189. // component: () => import('../views/userCenter/perfectData/index.vue'),
  190. // meta: { title: '完善资料' },
  191. // },
  192. // {
  193. // path: '/perfectData/update',
  194. // component: () => import('../views/userCenter/perfectData/update.vue'),
  195. // meta: { title: '资料信息管理' },
  196. // },
  197. // // 证书发放
  198. // {
  199. // path: '/readyCert',
  200. // component: () => import('../views/userCenter/userCert/readyCert.vue'),
  201. // meta: { title: '待发证书' },
  202. // },
  203. // {
  204. // path: '/alreadyCert',
  205. // component: () => import('../views/userCenter/userCert/alreadyCert.vue'),
  206. // meta: { title: '已发证书' },
  207. // },
  208. // 我的申报
  209. // 申报中
  210. {
  211. path: '/nowDeclare',
  212. component: () => import('../views/userCenter/userMydeclare/nowDeclare.vue'),
  213. meta: { title: '申报中' },
  214. },
  215. // 已往申报
  216. {
  217. path: '/pastDeclare',
  218. component: () => import('../views/userCenter/userMydeclare/pastDeclare.vue'),
  219. meta: { title: '申报中' },
  220. },
  221. // 专家评分
  222. {
  223. path: '/userExpertScore',
  224. component: () => import('../views/userCenter/userExpertScore/index.vue'),
  225. meta: { title: '专家评分' },
  226. },
  227. // 个人中心-公共组件
  228. // 资料信息
  229. {
  230. path: '/userCommon/dataInfo',
  231. component: () => import('../views/userCenter/common/dataInfo.vue'),
  232. meta: { title: '资料信息' },
  233. },
  234. ],
  235. },
  236. {
  237. path: '/login',
  238. component: () => import('../views/Login.vue'),
  239. meta: { title: '登录' },
  240. },
  241. // 用戶申报
  242. {
  243. path: '/userDeclare',
  244. component: () => import('../views/userDeclare/index.vue'),
  245. meta: { title: '用户申报' },
  246. },
  247. {
  248. path: '*',
  249. redirect: '/404',
  250. },
  251. ],
  252. });