marketing.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import type { RouteRecordRaw } from 'vue-router'
  2. const Layout = () => import('@/layouts/index.vue')
  3. const routes: RouteRecordRaw = {
  4. path: '/marketingManagement',
  5. component: Layout,
  6. redirect: '/marketingManagement/lottery',
  7. name: 'MarketingManagement',
  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: 'lottery',
  23. name: 'Lottery',
  24. component: () => import('@/views/marketingManagement/lottery.vue'),
  25. meta: {
  26. title: '抽奖活动',
  27. },
  28. },
  29. {
  30. path: 'configurate',
  31. name: 'Configurate',
  32. component: () => import('@/views/marketingManagement/configurate.vue'),
  33. meta: {
  34. title: '抽奖活动',
  35. menu: false,
  36. auth: []
  37. },
  38. children: []
  39. },
  40. {
  41. path: 'record',
  42. name: 'Record',
  43. component: () => import('@/views/marketingManagement/record.vue'),
  44. meta: {
  45. title: '抽奖记录',
  46. auth: []
  47. },
  48. children: []
  49. },
  50. ],
  51. }
  52. export default routes