index.js 11 KB

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