customer.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. import LayoutIndex from '@/layout/Index.vue'
  2. export default[
  3. {
  4. path:'/customer',
  5. component:LayoutIndex,
  6. name:'CustomerIndex',
  7. meta:{
  8. title:'客户管理'
  9. },
  10. children:[
  11. {
  12. path:'search_list',
  13. component:()=>import('@/views/customer/UserSearch.vue'),
  14. name:"CustomerUserSearch",
  15. meta:{
  16. title:'客户检索'
  17. },
  18. },
  19. {
  20. path:'customer_list',
  21. component:()=>import('@/views/customer/UserList.vue'),
  22. name:"CustomerUserList",
  23. meta:{
  24. title:'客户列表'
  25. },
  26. },
  27. {
  28. path:'trial_list',
  29. component:()=>import('@/views/customer/PotentialUserList.vue'),
  30. name:"CustomerPotentialUserList",
  31. meta:{
  32. title:'试用用户列表'
  33. },
  34. },
  35. {
  36. path:'userAdd',
  37. component:()=>import('@/views/customer/UserEdit.vue'),
  38. name:"CustomerUserAdd",
  39. meta:{
  40. title:'新增投资者',
  41. from:'客户列表',
  42. fromPath:'/customer/customer_list'
  43. },
  44. },
  45. {
  46. path:'userEdit',
  47. component:()=>import('@/views/customer/UserEdit.vue'),
  48. name:"CustomerUserEdit",
  49. meta:{
  50. title:'编辑投资者',
  51. from:'客户列表',
  52. fromPath:'/customer/customer_list'
  53. },
  54. },
  55. {
  56. path:'userDetail',
  57. component:()=>import('@/views/customer/UserEdit.vue'),
  58. name:"CustomerUserDetail",
  59. meta:{
  60. title:'投资者详情',
  61. from:'客户列表',
  62. fromPath:'/customer/customer_list'
  63. },
  64. },
  65. {
  66. path:'companyAdd',
  67. component:()=>import('@/views/customer/CompanyEdit.vue'),
  68. name:"CustomerCompanyAdd",
  69. meta:{
  70. title:'新增机构投资者',
  71. from:'客户列表',
  72. fromPath:'/customer/customer_list'
  73. },
  74. },
  75. {
  76. path:'companyEdit',
  77. component:()=>import('@/views/customer/CompanyEdit.vue'),
  78. name:"CustomerCompanyEdit",
  79. meta:{
  80. title:'编辑机构投资者',
  81. from:'客户列表',
  82. fromPath:'/customer/customer_list'
  83. },
  84. },
  85. {
  86. path:'companyDetail',
  87. component:()=>import('@/views/customer/CompanyEdit.vue'),
  88. name:"CustomerCompanyDetail",
  89. meta:{
  90. title:'机构投资者详情',
  91. from:'客户列表',
  92. fromPath:'/customer/customer_list'
  93. },
  94. },
  95. {
  96. path:'userTransform',
  97. component:()=>import('@/views/customer/UserEdit.vue'),
  98. name:"CustomerUserTransform",
  99. meta:{
  100. title:'转客户',
  101. from:'潜在用户列表',
  102. fromPath:'/customer/potentialUserList'
  103. },
  104. },
  105. ]
  106. }
  107. ]