outBagModule.js 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. import Layout from '@/layout/index.vue'
  2. import { createNameComponent } from '../createNode'
  3. const route = [
  4. {
  5. path: '/outBagModule',
  6. redirect: '/outBagModule/channelTypeAdmin/index',
  7. component: Layout,
  8. meta: { title: '出包管理', icon: 'iconfont icon-yingyong' },
  9. children: [
  10. {
  11. path: 'channelTypeAdmin/index',
  12. name: 'ChannelTypeAdmin',
  13. component: createNameComponent(() => import('@/views/main/outBagModule/channelTypeAdmin.vue')),
  14. meta: { title: '出包渠道' },
  15. },
  16. /* {
  17. path: 'ChannelPromotion/index',
  18. name: 'ChannelPromotion',
  19. component: createNameComponent(() => import('@/views/main/outBagModule/channelPromotion.vue')),
  20. meta: { title: '渠道推广' },
  21. }, */
  22. {
  23. path: 'appAdmin/index',
  24. name: 'AppAdmin',
  25. component: createNameComponent(() => import('@/views/main/outBagModule/appAdmin.vue')),
  26. meta: { title: '应用管理' },
  27. }
  28. ],
  29. }
  30. ]
  31. export default route