fangcom.newhouse.router.config.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. export default [
  2. {
  3. path: '/newhouse',
  4. name: '新房',
  5. icon: 'home',
  6. authority: ['Pages.NewRoom'],
  7. component: './FangCom/NewHouse/Room/layout',
  8. routes: [
  9. // {
  10. // path: '/newhouse',
  11. // params: { isSecHouse: false },
  12. // component: './FangCom/NewHouse/Room/list',
  13. // authority: ['Pages.NewRoom.Query']
  14. // },
  15. {
  16. path: '/newhouse',
  17. params: { isSecHouse: false },
  18. component: './FangCom/NewHouse/Room/Statistics',
  19. authority: ['Pages.NewRoom.Query']
  20. },
  21. {
  22. path: '/newhouse/edit/:selectKey/:id?/:subId?/:fourId?',
  23. name: '新楼盘编辑',
  24. params: { isSecHouse: false },
  25. component: './FangCom/NewHouse/Room/Edit',
  26. authority: ['Pages.NewRoom.Query'],
  27. hideInMenu: true
  28. }
  29. ]
  30. },
  31. {
  32. path: '/roomreport',
  33. name: '更新情况',
  34. icon: 'schedule',
  35. // params: { isSecHouse: false },
  36. component: './FangCom/NewHouse/RoomReport/index',
  37. authority: ['Pages.NewRoom.Query']
  38. }
  39. ]