index.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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',
  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: '/companyup/index',
  42. component: () => import('../views/companyup/index.vue'),
  43. },
  44. // 企业信息管理-详情
  45. {
  46. path: '/companyup/detail',
  47. component: () => import('../views/companyup/detail.vue'),
  48. },
  49. // 企业认证管理
  50. {
  51. path: '/companyidentify/index',
  52. component: () => import('../views/companyidentify/index.vue'),
  53. },
  54. ];
  55. const router = new VueRouter({
  56. routes,
  57. });
  58. export default router;