fangcom.advertise.router.config.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. export default [
  2. {
  3. path: '/advertise',
  4. name: '广告管理',
  5. icon: 'area-chart',
  6. authority: ['Pages.Advertisement'],
  7. routes: [
  8. {
  9. path: '/advertise/slide',
  10. name: '首页幻灯片',
  11. component: './FangCom/Advertisement/Slide/List',
  12. authority: ['Pages.Slide.Query']
  13. },
  14. // {
  15. // path: '/advertise/splash',
  16. // name: '首屏广告',
  17. // component: './FangCom/WorkCenter/Rights/List',
  18. // authority: ['Pages.Administration.Users']
  19. // },
  20. // {
  21. // path: '/advertise/flowlink',
  22. // name: '信息流广告',
  23. // component: './FangCom/WorkCenter/Rights/List',
  24. // authority: ['Pages.Administration.Users']
  25. // },
  26. {
  27. path: '/advertise/navlink',
  28. name: '导航链接',
  29. component: './FangCom/Advertisement/Navigation/List',
  30. authority: ['Pages.Navigation.Query']
  31. },
  32. {
  33. path: '/advertise/newsFeedAds',
  34. name: '信息流广告',
  35. component: './FangCom/NewsFeedAds/List',
  36. authority: ['Pages.NewsFeedAds.Query']
  37. },
  38. {
  39. path: '/advertise/aerial',
  40. name: '航拍链接',
  41. component: './FangCom/AerialPart/List',
  42. authority: ['Pages.AerialPart']
  43. },
  44. {
  45. path: '/advertise/audiovisual',
  46. name: '视听栏目',
  47. component: './FangCom/AudiovisualArea/List',
  48. authority: ['Pages.AudiovisualBook']
  49. },
  50. {
  51. path: '/advertise/audiovisual/:id',
  52. name: '视听内容',
  53. component: './FangCom/AudiovisualArea/BookList',
  54. authority: ['Pages.AudiovisualBook'],
  55. hideInMenu: true
  56. }
  57. ]
  58. }
  59. ]