index.js 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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/file',
  63. component: () => import('../views/adminCenter/adminMeet/file.vue'),
  64. meta: { title: '会审文件确认' },
  65. },
  66. {
  67. path: '/adminMeet/expert',
  68. component: () => import('../views/adminCenter/adminMeet/expert.vue'),
  69. meta: { title: '会审专家管理' },
  70. },
  71. // 完善资料
  72. {
  73. path: '/adminPerfect',
  74. component: () => import('../views/adminCenter/adminPerfect/index.vue'),
  75. meta: { title: '完善资料' },
  76. },
  77. {
  78. path: '/adminPerfect/detail',
  79. component: () => import('../views/adminCenter/adminPerfect/detail.vue'),
  80. meta: { title: '资料查看' },
  81. },
  82. // 证书发放
  83. {
  84. path: '/adminCate',
  85. component: () => import('../views/adminCenter/adminCate/index.vue'),
  86. meta: { title: '证书发放' },
  87. },
  88. // 已证书发放
  89. {
  90. path: '/adminHaveCert',
  91. component: () => import('../views/adminCenter/adminHaveCert/index.vue'),
  92. meta: { title: '已证书发放' },
  93. },
  94. {
  95. path: '/adminApplyExpert',
  96. component: () => import('../views/adminCenter/adminApplyExpert/index.vue'),
  97. meta: { title: '已发证书' },
  98. },
  99. // 专家评分列表
  100. {
  101. path: '/expertScore',
  102. component: () => import('../views/expertCenter/score/index.vue'),
  103. meta: { title: '专家审评' },
  104. },
  105. // 专家会审列表
  106. {
  107. path: '/expertMeet',
  108. component: () => import('../views/expertCenter/meet/index.vue'),
  109. meta: { title: '专家会审' },
  110. },
  111. // 用户中心
  112. // 申请书
  113. // // 待审中
  114. // {
  115. // path: '/firstApply',
  116. // component: () => import('../views/userCenter/userExamine/firstApply.vue'),
  117. // meta: { title: '待审中' },
  118. // },
  119. // // 审核未通过
  120. // {
  121. // path: '/updateApply',
  122. // component: () => import('../views/userCenter/userExamine/updateApply.vue'),
  123. // meta: { title: '审核未通过' },
  124. // },
  125. // // 审核意见查看
  126. // {
  127. // path: '/userExamine/detail',
  128. // component: () => import('../views/userCenter/userExamine/detail.vue'),
  129. // meta: { title: '审核意见查看' },
  130. // },
  131. // // 修改申请书
  132. // {
  133. // path: '/userExamine/update',
  134. // component: () => import('../views/userCenter/userExamine/update.vue'),
  135. // meta: { title: '修改申请书' },
  136. // },
  137. // // 评分总结
  138. // {
  139. // path: '/expertExam',
  140. // component: () => import('../views/userCenter/userScore/expertExam.vue'),
  141. // meta: { title: '待专家评分' },
  142. // },
  143. // // 评分审核未通过
  144. // {
  145. // path: '/noExpertScore',
  146. // component: () => import('../views/userCenter/userScore/noExpertScore.vue'),
  147. // meta: { title: '评分审核未通过' },
  148. // },
  149. // // 评分审核意见查看
  150. // {
  151. // path: '/userScore/detail',
  152. // component: () => import('../views/userCenter/userScore/detail.vue'),
  153. // meta: { title: '评分审核意见查看' },
  154. // },
  155. // // 专家评分意见查看
  156. // {
  157. // path: '/userScore/expertOpinion',
  158. // component: () => import('../views/userCenter/userScore/expertOpinion.vue'),
  159. // meta: { title: '专家评分意见查看' },
  160. // },
  161. // // 评分修改申请书
  162. // {
  163. // path: '/userScore/update',
  164. // component: () => import('../views/userCenter/userScore/update.vue'),
  165. // meta: { title: '评分修改申请书' },
  166. // },
  167. // // 专家会审
  168. // // 待缴费
  169. // {
  170. // path: '/expertPay',
  171. // component: () => import('../views/userCenter/userMeet/expertPay.vue'),
  172. // meta: { title: '待缴费' },
  173. // },
  174. // // 待会审
  175. // {
  176. // path: '/expertMeet',
  177. // component: () => import('../views/userCenter/userMeet/expertMeet.vue'),
  178. // meta: { title: '待专家评分' },
  179. // },
  180. // // 会审未通过
  181. // {
  182. // path: '/noExpertMeet',
  183. // component: () => import('../views/userCenter/userMeet/noExpertMeet.vue'),
  184. // meta: { title: '会审未通过' },
  185. // },
  186. // {
  187. // path: '/userMeet/detail',
  188. // component: () => import('../views/userCenter/userMeet/detail.vue'),
  189. // meta: { title: '会审意见查看' },
  190. // },
  191. // // 完善资料
  192. // {
  193. // path: '/perfectData',
  194. // component: () => import('../views/userCenter/perfectData/index.vue'),
  195. // meta: { title: '完善资料' },
  196. // },
  197. // {
  198. // path: '/perfectData/update',
  199. // component: () => import('../views/userCenter/perfectData/update.vue'),
  200. // meta: { title: '资料信息管理' },
  201. // },
  202. // // 证书发放
  203. // {
  204. // path: '/readyCert',
  205. // component: () => import('../views/userCenter/userCert/readyCert.vue'),
  206. // meta: { title: '待发证书' },
  207. // },
  208. // {
  209. // path: '/alreadyCert',
  210. // component: () => import('../views/userCenter/userCert/alreadyCert.vue'),
  211. // meta: { title: '已发证书' },
  212. // },
  213. // 我的申报
  214. // 申报中
  215. {
  216. path: '/nowDeclare',
  217. component: () => import('../views/userCenter/userMydeclare/nowDeclare.vue'),
  218. meta: { title: '申报中' },
  219. },
  220. // 已往申报
  221. {
  222. path: '/pastDeclare',
  223. component: () => import('../views/userCenter/userMydeclare/pastDeclare.vue'),
  224. meta: { title: '已往申报' },
  225. },
  226. // 专家评分
  227. {
  228. path: '/userExpertScore',
  229. component: () => import('../views/userCenter/userExpertScore/index.vue'),
  230. meta: { title: '专家评分' },
  231. },
  232. // 专家会审
  233. {
  234. path: '/userExpertMeet',
  235. component: () => import('../views/userCenter/userExpertMeet/index.vue'),
  236. meta: { title: '专家会审' },
  237. },
  238. // 证书管理
  239. {
  240. path: '/userCert',
  241. component: () => import('../views/userCenter/userCert/index.vue'),
  242. meta: { title: '证书管理' },
  243. },
  244. // 个人中心-公共组件
  245. // 资料信息
  246. {
  247. path: '/userCommon/dataInfo',
  248. component: () => import('../views/userCenter/common/dataInfo.vue'),
  249. meta: { title: '资料信息' },
  250. },
  251. // 意见查看
  252. {
  253. path: '/userCommon/opinion',
  254. component: () => import('../views/userCenter/common/opinion.vue'),
  255. meta: { title: '意见查看' },
  256. },
  257. // 专家意见
  258. {
  259. path: '/userCommon/expertOpinion',
  260. component: () => import('../views/userCenter/common/expertOpinion.vue'),
  261. meta: { title: '专家意见' },
  262. },
  263. // 修改申请
  264. {
  265. path: '/userCommon/update',
  266. component: () => import('../views/userCenter/common/update.vue'),
  267. meta: { title: '修改申请' },
  268. },
  269. // 证书查看
  270. {
  271. path: '/userCommon/certDetail',
  272. component: () => import('../views/userCenter/common/certDetail.vue'),
  273. meta: { title: '证书查看' },
  274. },
  275. ],
  276. },
  277. {
  278. path: '/login',
  279. component: () => import('../views/Login.vue'),
  280. meta: { title: '登录' },
  281. },
  282. // 用戶申报
  283. {
  284. path: '/userDeclare',
  285. component: () => import('../views/userDeclare/index.vue'),
  286. meta: { title: '用户申报' },
  287. },
  288. {
  289. path: '*',
  290. redirect: '/404',
  291. },
  292. ],
  293. });