json.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. // 本地模拟json数据
  2. // 首页九宫格
  3. let cuIconList = [
  4. {
  5. imgUrl: "/static/index/ge1.png",
  6. badge: 0,
  7. name: "巡检",
  8. redirectUrl: "/pages/business/mhxf/xunJian/xunJian",
  9. },
  10. {
  11. imgUrl: "/static/index/ge2.png",
  12. badge: 0,
  13. name: "信息查询",
  14. redirectUrl: "/pages/business/mhxf/informationSelect/index",
  15. },
  16. {
  17. imgUrl: "/static/index/ge3.png",
  18. badge: 0,
  19. name: "设备管理",
  20. redirectUrl: "/pages/business/mhxf/deviceManage/index",
  21. },
  22. {
  23. imgUrl: "/static/index/ge4.png",
  24. badge: 0,
  25. name: "协同作战",
  26. redirectUrl: "/pages/business/mhxf/coordination/index",
  27. },
  28. // {
  29. // imgUrl: "/static/images/square/square-xf.png",
  30. // badge: 0,
  31. // name: "未开发",
  32. // redirectUrl: "",
  33. // },
  34. ];
  35. // 首页报警数据
  36. let staticData = {
  37. msg: "\u64cd\u4f5c\u6210\u529f",
  38. flag: true,
  39. companyCode: "1,2,3,4,5,6,7,8,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39",
  40. data: [
  41. {
  42. statisticalPeriod: "2021-03-16~2021-04-16",
  43. smartElectricityCount: "178",
  44. videoMonitoringCount: "12456",
  45. alarmCount: 12627,
  46. eventCount: 2,
  47. hiddenDangerCount: 4,
  48. offlineCount: 20,
  49. faultCount: 30,
  50. earlyWarningCount: 100,
  51. otherCount: 99,
  52. normalCount: 66,
  53. integratedAlarmCount: 12627,
  54. unprocessedCount: 0,
  55. },
  56. ],
  57. };
  58. // 巡检模块 开始
  59. let xunJianList = [
  60. {
  61. id: 1,
  62. title: "巡检任务",
  63. num: "0",
  64. imgUrl: "/static/images/xunjian/xunJian-icon1.png",
  65. redirectUrl: "/pages/business/mhxf/xunJian/plan/index",
  66. },
  67. {
  68. id: 2,
  69. title: "巡检记录",
  70. num: "0",
  71. imgUrl: "/static/images/xunjian/xunJian-icon2.png",
  72. redirectUrl: "/pages/business/mhxf/xunJian/plan/index",
  73. },
  74. {
  75. id: 3,
  76. title: "巡检采集",
  77. num: "0",
  78. imgUrl: "/static/images/xunjian/xunJian-icon3.png",
  79. redirectUrl: "/pages/business/mhxf/xunJian/collect/index",
  80. },
  81. ];
  82. let xunJianRecord = [
  83. {
  84. id: "561",
  85. title: "计划:巡检计划1",
  86. des: "点位:巡检点位01",
  87. time: "2021-01-20 15:23:43",
  88. status: 0,
  89. },
  90. {
  91. id: "561",
  92. title: "计划:巡检计划1",
  93. des: "点位:巡检点位01",
  94. time: "2021-01-20 15:23:43",
  95. status: 1,
  96. },
  97. {
  98. id: "561",
  99. title: "计划:巡检计划1",
  100. des: "点位:巡检点位01",
  101. time: "2021-01-20 15:23:43",
  102. status: 1,
  103. },
  104. ];
  105. let xunJianPlan = [
  106. {
  107. id: "561",
  108. title: "虹泾总部园巡检点位1",
  109. status: 0,
  110. },
  111. {
  112. id: "561",
  113. title: "虹泾总部园巡检点位2",
  114. status: 0,
  115. },
  116. {
  117. id: "561",
  118. title: "虹泾总部园巡检点位3",
  119. status: 1,
  120. },
  121. ];
  122. // 巡检模块 结束
  123. // 定义数据出口
  124. export default {
  125. staticData: staticData,
  126. cuIconList: cuIconList,
  127. xunJianList: xunJianList,
  128. xunJianRecord: xunJianRecord,
  129. xunJianPlan: xunJianPlan,
  130. };