fangcom.newscenter.router.config.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. export default [
  2. {
  3. path: '/newscenter',
  4. name: '新闻中心',
  5. icon: 'profile',
  6. authority: ['Pages.NewsCenter'],
  7. routes: [
  8. {
  9. path: '/newscenter/chartBoard',
  10. name: '新闻图表',
  11. component: './FangCom/NewsCenter/NewsChart/NewsChart',
  12. authority: ['Pages.NewsCategory.Query']
  13. },
  14. {
  15. path: '/newscenter/news',
  16. name: '新闻资讯',
  17. component: './FangCom/NewsCenter/News/List',
  18. authority: ['Pages.NewsCategory.Query']
  19. },
  20. {
  21. path: '/newscenter/news/edit/:id?',
  22. name: '资讯发布',
  23. component: './FangCom/NewsCenter/News/Edit',
  24. authority: ['Pages.NewsCategory.Query'],
  25. hideInMenu: true
  26. },
  27. {
  28. path: '/newscenter/category',
  29. name: '新闻分类',
  30. component: './FangCom/NewsCenter/NewsCategory/NewsCategoryList',
  31. authority: ['Pages.NewsCategory.Query']
  32. }
  33. // {
  34. // path: '/newscenter/advnews',
  35. // name: '落地专题',
  36. // component: './FangCom/WorkCenter/Rights/List',
  37. // authority: ['Pages.Administration.Users']
  38. // },
  39. // {
  40. // path: '/newscenter/hotlink',
  41. // name: '热度链接',
  42. // component: './FangCom/WorkCenter/Rights/List',
  43. // authority: ['Pages.Administration.Users']
  44. // }
  45. ]
  46. }
  47. ]