index.js 10 KB

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