fangcom.comment.router.config.js 842 B

12345678910111213141516171819202122232425262728293031
  1. export default [
  2. {
  3. path: '/comment',
  4. name: '点评管理',
  5. icon: 'message',
  6. authority: ['Pages.Comment.Query'],
  7. routes: [
  8. {
  9. path: '/comment/newhouse',
  10. name: '新房点评',
  11. params: { commentType: 'newhouse' },
  12. component: './FangCom/Comment/List',
  13. authority: ['Pages.Comment.Query.NewHouse']
  14. },
  15. {
  16. path: '/comment/sechouse',
  17. name: '二手房点评',
  18. params: { commentType: 'sechouse' },
  19. component: './FangCom/Comment/List',
  20. authority: ['Pages.Comment.Query.SecHouse']
  21. },
  22. {
  23. path: '/comment/expertadvise',
  24. name: '专家指导',
  25. params: { commentType: 'expertadvise' },
  26. component: './FangCom/Comment/List',
  27. authority: ['Pages.Comment.Query.ExpertAdvise']
  28. }
  29. ]
  30. }
  31. ]