system.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. import { logicConfig } from "@/logicConfig";
  2. import layoutMain from "@/Main.vue";
  3. //登录页
  4. import login from "@/components/frame/login.vue";
  5. //系统图
  6. import systemGraph from "@/components/systemGraph";
  7. //系统图编辑页面
  8. import systemGraphEdit from "@/components/systemGraph/edit";
  9. import facilityLedger from "@/components/old-adm/ledger/facility/index";
  10. // 系统台账
  11. import systemLedger from '@/components/old-adm/ledger/system/index';
  12. import batchPointAssets from '@/components/old-adm/ledger/facility/batchPoint' //批量维护设备位置
  13. import buildFloor from '@/components/old-adm/ready/buildfloor/index'
  14. import repetitionGraphy from '@/components/old-adm/ready/buildfloor/repetitionGraphy'
  15. // 全部关系总览
  16. import overView from '@/components/old-adm/relation/overview'
  17. //cad核查图纸管理
  18. import cadDrawingManage from '@/components/cadDrawingManage'
  19. export default [
  20. {
  21. path: logicConfig.routerNameConfig.loginRouteName,
  22. name: "登录页",
  23. component: login,
  24. },
  25. {
  26. path: "/",
  27. name: "首页",
  28. component: layoutMain,
  29. },
  30. {
  31. path: logicConfig.routerNameConfig.systemGraphName,
  32. name: "系统图",
  33. component: layoutMain,
  34. children: [
  35. {
  36. path: "/",
  37. component: systemGraph,
  38. },
  39. {
  40. path: '/ready/buildfloor',
  41. name: 'buildFloor',
  42. component: buildFloor,
  43. meta: {keepAlive: false, breadcrumbs: [{label: '建筑楼层管理'}]}
  44. },
  45. {
  46. path: 'repetitionGraphy',
  47. name: 'repetitionGraphy',
  48. component: repetitionGraphy,
  49. meta: {keepAlive: false, breadcrumbs: [{label: '建筑楼层管理', path: '/ready/buildfloor'}, {label: '平面图维护'}]}
  50. },
  51. {
  52. path: "/ledger/facility",
  53. name: "facilityLedger",
  54. component: facilityLedger,
  55. meta: {keepAlive: true, isBack: false, breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {label: '设备台账'}]}
  56. },
  57. {
  58. path: '/ledger/batchPointAssets',
  59. name: 'BatchPointAssets',
  60. component: batchPointAssets,
  61. meta: {keepAlive: false,
  62. breadcrumbs: [{label: '台账管理', path: '/ledger/facility'}, {
  63. label: '设备台账',
  64. path: '/ledger/facility'
  65. }, {label: '批量维护设备位置'}]
  66. }
  67. },
  68. {
  69. path: "/ledger/list",
  70. name: "系统台账",
  71. component: systemLedger,
  72. },
  73. {
  74. path: '/relation/overview',
  75. name: "全部关系总览",
  76. component: overView,
  77. },
  78. ],
  79. },
  80. {
  81. path: logicConfig.routerNameConfig.systemGraphEditName,
  82. name: "系统图编辑器",
  83. component: systemGraphEdit,
  84. },
  85. {
  86. path: '/deliver',
  87. name: '现场交付工具',
  88. component: layoutMain,
  89. children: [
  90. {
  91. path: logicConfig.routerNameConfig.cadDrawingManageRoute,
  92. name: 'CAD核查图纸管理',
  93. component: cadDrawingManage
  94. }
  95. ]
  96. }
  97. ];