index.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. import Vue from 'vue';
  2. import VueRouter from 'vue-router';
  3. Vue.use(VueRouter);
  4. const routes = [
  5. {
  6. path: '/home',
  7. component: () => import('../views/home/index.vue'),
  8. },
  9. // 金融数字超市-债权产品
  10. {
  11. path: '/supermarket/debt',
  12. component: () => import('../views/supermarket/debt.vue'),
  13. },
  14. // 金融数字超市 - 股权产品
  15. {
  16. path: '/supermarket/stock',
  17. component: () => import('../views/supermarket/stock.vue'),
  18. },
  19. // 金融机构
  20. {
  21. path: '/institution/index/:status',
  22. component: () => import('../views/institution/index.vue'),
  23. },
  24. // 金融机构添加
  25. {
  26. path: '/institution/detail',
  27. component: () => import('../views/institution/detail.vue'),
  28. },
  29. // 其他用户管理-列表
  30. {
  31. path: '/otheruser/index',
  32. component: () => import('../views/otheruser/index.vue'),
  33. },
  34. // 其他用户管理-添加
  35. {
  36. path: '/otheruser/detail',
  37. component: () => import('../views/otheruser/detail.vue'),
  38. },
  39. // 企业用户管理-详情
  40. {
  41. path: '/companyuser/index',
  42. component: () => import('../views/companyuser/index.vue'),
  43. },
  44. // 企业信息管理-列表
  45. {
  46. path: '/companyup/index',
  47. component: () => import('../views/companyup/index.vue'),
  48. },
  49. // 企业信息管理-详情
  50. {
  51. path: '/companyup/detail',
  52. component: () => import('../views/companyup/detail.vue'),
  53. },
  54. // 企业认证管理
  55. {
  56. path: '/companyidentify/index',
  57. component: () => import('../views/companyidentify/index.vue'),
  58. },
  59. // 企业认证管理-审核
  60. {
  61. path: '/companyidentify/detail',
  62. component: () => import('../views/companyidentify/detail.vue'),
  63. },
  64. // 角色管理-列表
  65. {
  66. path: '/character/index',
  67. component: () => import('../views/character/index.vue'),
  68. },
  69. // 角色管理-详情
  70. {
  71. path: '/character/detail',
  72. component: () => import('../views/character/detail.vue'),
  73. },
  74. ];
  75. const router = new VueRouter({
  76. routes,
  77. });
  78. export default router;