fangcom.topic.router.config.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. export default [
  2. {
  3. path: '/topic',
  4. name: '专题管理',
  5. icon: 'alert',
  6. authority: ['Pages.Topic'],
  7. routes: [
  8. {
  9. path: '/topic/html',
  10. name: 'Html专题',
  11. component: './FangCom/Topic/HtmlTopic/List',
  12. authority: ['Pages.HtmlTopic.Query']
  13. },
  14. {
  15. path: '/topic/custom',
  16. name: '落地专题',
  17. component: './FangCom/Topic/CustomTopic/List',
  18. authority: ['Pages.CustomTopic.Query']
  19. },
  20. {
  21. path: '/topic/custom/record/:id?',
  22. name: '落地专题访问记录',
  23. component: './FangCom/Topic/CustomTopicRecord/List',
  24. authority: ['Pages.CustomTopicRecord.Query'],
  25. hideInMenu: true
  26. },
  27. {
  28. path: '/topic/custom/edit/:uid?',
  29. name: '落地专题编辑',
  30. component: './FangCom/Topic/CustomTopic/Edit',
  31. authority: ['Pages.CustomTopicRecord.Create', 'Pages.CustomTopicRecord.Edit'],
  32. hideInMenu: true
  33. },
  34. {
  35. path: '/topic/wxlink',
  36. name: '小程序链接',
  37. component: './FangCom/Topic/WxLink/List',
  38. authority: ['Pages.WxLink.Query']
  39. },
  40. {
  41. path: '/topic/shortlink',
  42. name: '短链接生成',
  43. component: './FangCom/Topic/WxShortLink/List',
  44. authority: ['Pages.WxShortLink.Query']
  45. },
  46. {
  47. path: '/topic/hdAlbum',
  48. name: '高清图册',
  49. component: './FangCom/Topic/HDAlbum/List',
  50. authority: ['Pages.HDAlbum.Query']
  51. },
  52. {
  53. path: '/topic/hdAlbum/images/:hdAlbumId',
  54. name: '高清组图',
  55. component: './FangCom/Topic/HDImage/List',
  56. authority: ['Pages.HDImage.Query'],
  57. hideInMenu: true
  58. }
  59. ]
  60. }
  61. ]