operation.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import type { RouteRecordRaw } from 'vue-router'
  2. const Layout = () => import('@/layouts/index.vue')
  3. const routes: RouteRecordRaw = {
  4. path: '/operationManagement',
  5. component: Layout,
  6. redirect: '/operationManagement/operation',
  7. name: 'OperationManagement',
  8. meta: {
  9. title: '业务团队',
  10. },
  11. children: [
  12. {
  13. path: '/operationDetail',
  14. name: 'OperationDetail',
  15. component: () => import('@/views/operationManagement/operationDetail.vue'),
  16. meta: {
  17. title: '业务员详情',
  18. menu: false,
  19. },
  20. },
  21. {
  22. path: 'operation',
  23. name: 'Operation',
  24. component: () => import('@/views/operationManagement/operation.vue'),
  25. meta: {
  26. title: '业务员管理',
  27. },
  28. },{
  29. path: 'team',
  30. name: 'Team',
  31. component: () => import('@/views/operationManagement/team.vue'),
  32. meta: {
  33. title: '团队管理',
  34. },
  35. },{
  36. path: 'channel',
  37. name: 'Channel',
  38. component: () => import('@/views/operationManagement/channel.vue'),
  39. meta: {
  40. title: '渠道管理',
  41. },
  42. },{
  43. path: 'telemarketing',
  44. name: 'Telemarketing',
  45. component: () => import('@/views/operationManagement/telemarketing.vue'),
  46. meta: {
  47. title: '电销组管理',
  48. },
  49. },
  50. ],
  51. }
  52. export default routes