fangcom.activities.router.config.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. export default [
  2. {
  3. path: '/activities',
  4. name: '活动中心',
  5. icon: 'fire',
  6. authority: ['Pages.Activity'],
  7. routes: [
  8. {
  9. path: '/activities/coupon',
  10. name: '优惠劵',
  11. component: './FangCom/Activities/Coupon/List',
  12. authority: ['Pages.ActCoupon.Query']
  13. },
  14. {
  15. path: '/activities/coupon/edit/:skipCount?/:id?',
  16. name: '优惠劵设置',
  17. component: './FangCom/Activities/Coupon/Edit',
  18. authority: ['Pages.ActCoupon.Query'],
  19. hideInMenu: true
  20. },
  21. {
  22. path: '/activities/coupon/receive/:skipCount?/:id?',
  23. name: '发放记录',
  24. component: './FangCom/Activities/ReceiveCoupon/List',
  25. authority: ['Pages.ActCoupon.Query'],
  26. hideInMenu: true
  27. },
  28. {
  29. path: '/activities/event',
  30. name: '活动报名管理',
  31. component: './FangCom/Activities/Event/List',
  32. authority: ['Pages.ActEvent.Query']
  33. },
  34. {
  35. path: '/activities/event/edit/:skipCount?/:mode?/:id?',
  36. name: '活动报名设置',
  37. component: './FangCom/Activities/Event/Edit',
  38. authority: ['Pages.ActEvent.Query'],
  39. hideInMenu: true
  40. },
  41. {
  42. path: '/activities/event/registration/:skipCount?/:id?',
  43. name: '报名登记记录',
  44. component: './FangCom/Activities/EventRegistration/List',
  45. authority: ['Pages.ActEvent.Query'],
  46. hideInMenu: true
  47. }
  48. // {
  49. // path: '/activities/groupbuy',
  50. // name: '团购买房',
  51. // component: './FangCom/Activities/GroupBuy/List',
  52. // authority: ['Pages.Administration.Users']
  53. // },
  54. // {
  55. // path: '/activities/groupbuy/edit/:id?',
  56. // name: '团购买房设置',
  57. // component: './FangCom/Activities/GroupBuy/Edit',
  58. // authority: ['Pages.Administration.Users'],
  59. // hideInMenu: true
  60. // },
  61. // {
  62. // path: '/activities/offline',
  63. // name: '线下活动',
  64. // component: './FangCom/Activities/Offline/List',
  65. // authority: ['Pages.Administration.Users']
  66. // },
  67. // {
  68. // path: '/activities/offline/edit/:id?',
  69. // name: '线下活动设置',
  70. // component: './FangCom/Activities/Offline/Edit',
  71. // authority: ['Pages.Administration.Users'],
  72. // hideInMenu: true
  73. // },
  74. // {
  75. // path: '/activities/etcevent',
  76. // name: '其他活动',
  77. // component: './FangCom/Activities/EtcEvent/List',
  78. // authority: ['Pages.Administration.Users']
  79. // },
  80. // {
  81. // path: '/activities/etcevent/edit/:id?',
  82. // name: '其他活动设置',
  83. // component: './FangCom/Activities/EtcEvent/Edit',
  84. // authority: ['Pages.Administration.Users'],
  85. // hideInMenu: true
  86. // },
  87. // {
  88. // path: '/activities/rule',
  89. // name: '规则管理',
  90. // component: './FangCom/Activities/BaseInfo/Edit',
  91. // authority: ['Pages.Administration.Users'],
  92. // hideInMenu: true
  93. // }
  94. ]
  95. }
  96. ]