@vtx/modals2 3.2.19 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/lib/index.js +7 -0
  2. package/lib/index.js.map +1 -1
  3. package/lib/vtx-car-adm251-modal/api.js +605 -0
  4. package/lib/vtx-car-adm251-modal/api.js.map +1 -0
  5. package/lib/vtx-car-adm251-modal/components/AlarmInfo/Charts.js +198 -0
  6. package/lib/vtx-car-adm251-modal/components/AlarmInfo/Charts.js.map +1 -0
  7. package/lib/vtx-car-adm251-modal/components/AlarmInfo/List.js +188 -0
  8. package/lib/vtx-car-adm251-modal/components/AlarmInfo/List.js.map +1 -0
  9. package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.css +45 -0
  10. package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.js +128 -0
  11. package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.js.map +1 -0
  12. package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.less +38 -0
  13. package/lib/vtx-car-adm251-modal/components/BaseInfo/Charts.js +78 -0
  14. package/lib/vtx-car-adm251-modal/components/BaseInfo/Charts.js.map +1 -0
  15. package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayRun.js +85 -0
  16. package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayRun.js.map +1 -0
  17. package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayWorkJXH.js +67 -0
  18. package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -0
  19. package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayWorkLJSY.js +126 -0
  20. package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -0
  21. package/lib/vtx-car-adm251-modal/components/BaseInfo/Wgfx.js +116 -0
  22. package/lib/vtx-car-adm251-modal/components/BaseInfo/Wgfx.js.map +1 -0
  23. package/lib/vtx-car-adm251-modal/components/BaseInfo/WorkSummary.js +56 -0
  24. package/lib/vtx-car-adm251-modal/components/BaseInfo/WorkSummary.js.map +1 -0
  25. package/lib/vtx-car-adm251-modal/components/BaseInfo/WorkSummaryJxh.js +117 -0
  26. package/lib/vtx-car-adm251-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -0
  27. package/lib/vtx-car-adm251-modal/components/BaseInfo/ZyfxJXH.js +123 -0
  28. package/lib/vtx-car-adm251-modal/components/BaseInfo/ZyfxJXH.js.map +1 -0
  29. package/lib/vtx-car-adm251-modal/components/BaseInfo/ZyfxLJSY.js +135 -0
  30. package/lib/vtx-car-adm251-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -0
  31. package/lib/vtx-car-adm251-modal/components/BaseInfo/index.css +280 -0
  32. package/lib/vtx-car-adm251-modal/components/BaseInfo/index.js +224 -0
  33. package/lib/vtx-car-adm251-modal/components/BaseInfo/index.js.map +1 -0
  34. package/lib/vtx-car-adm251-modal/components/BaseInfo/index.less +239 -0
  35. package/lib/vtx-car-adm251-modal/components/Maintenance/index.css +39 -0
  36. package/lib/vtx-car-adm251-modal/components/Maintenance/index.js +134 -0
  37. package/lib/vtx-car-adm251-modal/components/Maintenance/index.js.map +1 -0
  38. package/lib/vtx-car-adm251-modal/components/Maintenance/index.less +34 -0
  39. package/lib/vtx-car-adm251-modal/components/OilConsumption/List.js +90 -0
  40. package/lib/vtx-car-adm251-modal/components/OilConsumption/List.js.map +1 -0
  41. package/lib/vtx-car-adm251-modal/components/OilConsumption/OilLIne.js +100 -0
  42. package/lib/vtx-car-adm251-modal/components/OilConsumption/OilLIne.js.map +1 -0
  43. package/lib/vtx-car-adm251-modal/components/OilConsumption/index.css +33 -0
  44. package/lib/vtx-car-adm251-modal/components/OilConsumption/index.js +140 -0
  45. package/lib/vtx-car-adm251-modal/components/OilConsumption/index.js.map +1 -0
  46. package/lib/vtx-car-adm251-modal/components/OilConsumption/index.less +36 -0
  47. package/lib/vtx-car-adm251-modal/components/StaticInfo/Charts.js +70 -0
  48. package/lib/vtx-car-adm251-modal/components/StaticInfo/Charts.js.map +1 -0
  49. package/lib/vtx-car-adm251-modal/components/StaticInfo/List.js +92 -0
  50. package/lib/vtx-car-adm251-modal/components/StaticInfo/List.js.map +1 -0
  51. package/lib/vtx-car-adm251-modal/components/StaticInfo/index.css +97 -0
  52. package/lib/vtx-car-adm251-modal/components/StaticInfo/index.js +95 -0
  53. package/lib/vtx-car-adm251-modal/components/StaticInfo/index.js.map +1 -0
  54. package/lib/vtx-car-adm251-modal/components/StaticInfo/index.less +75 -0
  55. package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.css +29 -0
  56. package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.js +118 -0
  57. package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.js.map +1 -0
  58. package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.less +22 -0
  59. package/lib/vtx-car-adm251-modal/components/WorkInfo/Wcl.js +122 -0
  60. package/lib/vtx-car-adm251-modal/components/WorkInfo/Wcl.js.map +1 -0
  61. package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkJxh.js +313 -0
  62. package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkJxh.js.map +1 -0
  63. package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkLjsy.js +396 -0
  64. package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkLjsy.js.map +1 -0
  65. package/lib/vtx-car-adm251-modal/components/WorkInfo/index.css +262 -0
  66. package/lib/vtx-car-adm251-modal/components/WorkInfo/index.js +35 -0
  67. package/lib/vtx-car-adm251-modal/components/WorkInfo/index.js.map +1 -0
  68. package/lib/vtx-car-adm251-modal/components/WorkInfo/index.less +220 -0
  69. package/lib/vtx-car-adm251-modal/components/index.js +56 -0
  70. package/lib/vtx-car-adm251-modal/components/index.js.map +1 -0
  71. package/lib/vtx-car-adm251-modal/imgs/bglyh.png +0 -0
  72. package/lib/vtx-car-adm251-modal/imgs/bglyh_light.png +0 -0
  73. package/lib/vtx-car-adm251-modal/imgs/calendar-hour.png +0 -0
  74. package/lib/vtx-car-adm251-modal/imgs/calendar-mile.png +0 -0
  75. package/lib/vtx-car-adm251-modal/imgs/car.png +0 -0
  76. package/lib/vtx-car-adm251-modal/imgs/ccts.png +0 -0
  77. package/lib/vtx-car-adm251-modal/imgs/ccts_light.png +0 -0
  78. package/lib/vtx-car-adm251-modal/imgs/dqsd.png +0 -0
  79. package/lib/vtx-car-adm251-modal/imgs/dqsd_blue.png +0 -0
  80. package/lib/vtx-car-adm251-modal/imgs/dqsd_light.png +0 -0
  81. package/lib/vtx-car-adm251-modal/imgs/jrxs.png +0 -0
  82. package/lib/vtx-car-adm251-modal/imgs/jrxs_blue.png +0 -0
  83. package/lib/vtx-car-adm251-modal/imgs/jrxs_light.png +0 -0
  84. package/lib/vtx-car-adm251-modal/imgs/ljsjdw.png +0 -0
  85. package/lib/vtx-car-adm251-modal/imgs/ljsjdw_blue.png +0 -0
  86. package/lib/vtx-car-adm251-modal/imgs/ljsjdw_light.png +0 -0
  87. package/lib/vtx-car-adm251-modal/imgs/ljsjts.png +0 -0
  88. package/lib/vtx-car-adm251-modal/imgs/ljsjts_blue.png +0 -0
  89. package/lib/vtx-car-adm251-modal/imgs/ljsjts_light.png +0 -0
  90. package/lib/vtx-car-adm251-modal/imgs/ljsjzl.png +0 -0
  91. package/lib/vtx-car-adm251-modal/imgs/ljsjzl_blue.png +0 -0
  92. package/lib/vtx-car-adm251-modal/imgs/ljsjzl_light.png +0 -0
  93. package/lib/vtx-car-adm251-modal/imgs/ljsy_car.png +0 -0
  94. package/lib/vtx-car-adm251-modal/imgs/ljsy_car_cy.png +0 -0
  95. package/lib/vtx-car-adm251-modal/imgs/ljsy_cp_fish.png +0 -0
  96. package/lib/vtx-car-adm251-modal/imgs/ljsy_cp_name.png +0 -0
  97. package/lib/vtx-car-adm251-modal/imgs/ljsy_cp_name_active.png +0 -0
  98. package/lib/vtx-car-adm251-modal/imgs/ljsy_cp_name_un.png +0 -0
  99. package/lib/vtx-car-adm251-modal/imgs/ljsy_diamond.png +0 -0
  100. package/lib/vtx-car-adm251-modal/imgs/ljsy_diamond_active.png +0 -0
  101. package/lib/vtx-car-adm251-modal/imgs/ljsy_left.png +0 -0
  102. package/lib/vtx-car-adm251-modal/imgs/ljsy_right.png +0 -0
  103. package/lib/vtx-car-adm251-modal/imgs/ljwgsc.png +0 -0
  104. package/lib/vtx-car-adm251-modal/imgs/ljwgsc_light.png +0 -0
  105. package/lib/vtx-car-adm251-modal/imgs/ljwgts.png +0 -0
  106. package/lib/vtx-car-adm251-modal/imgs/ljwgts_light.png +0 -0
  107. package/lib/vtx-car-adm251-modal/imgs/outTime.png +0 -0
  108. package/lib/vtx-car-adm251-modal/imgs/outTime_blue.png +0 -0
  109. package/lib/vtx-car-adm251-modal/imgs/outTime_light.png +0 -0
  110. package/lib/vtx-car-adm251-modal/imgs/pjwcl.png +0 -0
  111. package/lib/vtx-car-adm251-modal/imgs/pjwcl_blue.png +0 -0
  112. package/lib/vtx-car-adm251-modal/imgs/pjwcl_light.png +0 -0
  113. package/lib/vtx-car-adm251-modal/imgs/position.png +0 -0
  114. package/lib/vtx-car-adm251-modal/imgs/position_blue.png +0 -0
  115. package/lib/vtx-car-adm251-modal/imgs/position_light.png +0 -0
  116. package/lib/vtx-car-adm251-modal/imgs/refresh.png +0 -0
  117. package/lib/vtx-car-adm251-modal/imgs/refresh_blue.png +0 -0
  118. package/lib/vtx-car-adm251-modal/imgs/refresh_light.png +0 -0
  119. package/lib/vtx-car-adm251-modal/imgs/runTime.png +0 -0
  120. package/lib/vtx-car-adm251-modal/imgs/runTime_blue.png +0 -0
  121. package/lib/vtx-car-adm251-modal/imgs/runTime_light.png +0 -0
  122. package/lib/vtx-car-adm251-modal/imgs/syyl.png +0 -0
  123. package/lib/vtx-car-adm251-modal/imgs/syyl_light.png +0 -0
  124. package/lib/vtx-car-adm251-modal/imgs/warn.png +0 -0
  125. package/lib/vtx-car-adm251-modal/imgs/wcl.png +0 -0
  126. package/lib/vtx-car-adm251-modal/imgs/wcl_blue.png +0 -0
  127. package/lib/vtx-car-adm251-modal/imgs/wcl_light.png +0 -0
  128. package/lib/vtx-car-adm251-modal/imgs/wgcs.png +0 -0
  129. package/lib/vtx-car-adm251-modal/imgs/wgcs_light.png +0 -0
  130. package/lib/vtx-car-adm251-modal/imgs/work_cp_bg.png +0 -0
  131. package/lib/vtx-car-adm251-modal/imgs/xslc.png +0 -0
  132. package/lib/vtx-car-adm251-modal/imgs/xslc_blue.png +0 -0
  133. package/lib/vtx-car-adm251-modal/imgs/xslc_light.png +0 -0
  134. package/lib/vtx-car-adm251-modal/imgs/ysdw.png +0 -0
  135. package/lib/vtx-car-adm251-modal/imgs/ysdw_blue.png +0 -0
  136. package/lib/vtx-car-adm251-modal/imgs/ysdw_light.png +0 -0
  137. package/lib/vtx-car-adm251-modal/imgs/ywcdw.png +0 -0
  138. package/lib/vtx-car-adm251-modal/imgs/ywcdw_blue.png +0 -0
  139. package/lib/vtx-car-adm251-modal/imgs/ywcdw_light.png +0 -0
  140. package/lib/vtx-car-adm251-modal/imgs/zlc.png +0 -0
  141. package/lib/vtx-car-adm251-modal/imgs/zlc_blue.png +0 -0
  142. package/lib/vtx-car-adm251-modal/imgs/zlc_light.png +0 -0
  143. package/lib/vtx-car-adm251-modal/imgs/zld.png +0 -0
  144. package/lib/vtx-car-adm251-modal/imgs/zld_blue.png +0 -0
  145. package/lib/vtx-car-adm251-modal/imgs/zld_light.png +0 -0
  146. package/lib/vtx-car-adm251-modal/imgs/zsh.png +0 -0
  147. package/lib/vtx-car-adm251-modal/imgs/zsh_light.png +0 -0
  148. package/lib/vtx-car-adm251-modal/imgs/zycs.png +0 -0
  149. package/lib/vtx-car-adm251-modal/imgs/zycs_blue.png +0 -0
  150. package/lib/vtx-car-adm251-modal/imgs/zycs_light.png +0 -0
  151. package/lib/vtx-car-adm251-modal/imgs/zycssc.png +0 -0
  152. package/lib/vtx-car-adm251-modal/imgs/zycssc_blue.png +0 -0
  153. package/lib/vtx-car-adm251-modal/imgs/zycssc_light.png +0 -0
  154. package/lib/vtx-car-adm251-modal/imgs/zyh.png +0 -0
  155. package/lib/vtx-car-adm251-modal/imgs/zyh_light.png +0 -0
  156. package/lib/vtx-car-adm251-modal/imgs/zyl.png +0 -0
  157. package/lib/vtx-car-adm251-modal/imgs/zyl_blue.png +0 -0
  158. package/lib/vtx-car-adm251-modal/imgs/zyl_light.png +0 -0
  159. package/lib/vtx-car-adm251-modal/imgs/zylc.png +0 -0
  160. package/lib/vtx-car-adm251-modal/imgs/zylc_blue.png +0 -0
  161. package/lib/vtx-car-adm251-modal/imgs/zylc_light.png +0 -0
  162. package/lib/vtx-car-adm251-modal/imgs/zysc.png +0 -0
  163. package/lib/vtx-car-adm251-modal/imgs/zysc_blue.png +0 -0
  164. package/lib/vtx-car-adm251-modal/imgs/zysc_light.png +0 -0
  165. package/lib/vtx-car-adm251-modal/index.js +113 -0
  166. package/lib/vtx-car-adm251-modal/index.js.map +1 -0
  167. package/lib/vtx-car-adm251-modal/style/css.js +11 -0
  168. package/lib/vtx-car-adm251-modal/style/css.js.map +1 -0
  169. package/lib/vtx-car-adm251-modal/style/index.css +136 -0
  170. package/lib/vtx-car-adm251-modal/style/index.js +11 -0
  171. package/lib/vtx-car-adm251-modal/style/index.js.map +1 -0
  172. package/lib/vtx-car-adm251-modal/style/index.less +6 -0
  173. package/lib/vtx-ljfl-tfd-modal/components/OverView/index.js +2 -1
  174. package/lib/vtx-ljfl-tfd-modal/components/OverView/index.js.map +1 -1
  175. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -3,6 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "VtxCarAdm251Modal", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _vtxCarAdm251Modal["default"];
10
+ }
11
+ });
6
12
  Object.defineProperty(exports, "VtxCarModal", {
7
13
  enumerable: true,
8
14
  get: function get() {
@@ -98,6 +104,7 @@ var _vtxThrowPointModal = _interopRequireDefault(require("./vtx-throw-point-moda
98
104
  var _vtxFacilityModal = _interopRequireDefault(require("./vtx-facility-modal"));
99
105
  var _vtxDefaultModal = _interopRequireDefault(require("./vtx-default-modal"));
100
106
  var _vtxCarModal = _interopRequireDefault(require("./vtx-car-modal"));
107
+ var _vtxCarAdm251Modal = _interopRequireDefault(require("./vtx-car-adm251-modal"));
101
108
  var _vtxStaffModal = _interopRequireDefault(require("./vtx-staff-modal"));
102
109
  var _vtxCpModal = _interopRequireDefault(require("./vtx-cp-modal"));
103
110
  var _vtxDfModal = _interopRequireDefault(require("./vtx-df-modal"));
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_vtxHousingEstateModal","_interopRequireDefault","require","_vtxThrowPointModal","_vtxFacilityModal","_vtxDefaultModal","_vtxCarModal","_vtxStaffModal","_vtxCpModal","_vtxDfModal","_vtxZyzModal","_vtxRoadModal","_vtxWrModal","_vtxZgModal","_vtxKhModal","_vtxRestaurantModal","_vtxLjflTfdModal","obj","__esModule"],"sources":["index.js"],"sourcesContent":["export { default as VtxHousingEstateModal } from './vtx-housing-estate-modal';\nexport { default as VtxThrowPointModal } from './vtx-throw-point-modal';\nexport { default as VtxFacilityModal } from './vtx-facility-modal';\nexport { default as VtxDefaultModal } from './vtx-default-modal';\nexport { default as VtxCarModal } from './vtx-car-modal';\nexport { default as VtxStaffModal } from './vtx-staff-modal';\nexport { default as VtxCpModal } from './vtx-cp-modal';\nexport { default as VtxDfModal } from './vtx-df-modal';\nexport { default as VtxZyzModal } from './vtx-zyz-modal';\nexport { default as VtxRoadModal } from './vtx-road-modal';\nexport { default as VtxWrModal } from './vtx-wr-modal';\nexport { default as VtxZgModal } from './vtx-zg-modal';\nexport { default as VtxKhModal } from './vtx-kh-modal';\nexport { default as VtxRestaurantModal } from './vtx-restaurant-modal';\nexport { default as VtxLjflTfdModal } from './vtx-ljfl-tfd-modal';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,iBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,gBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,YAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,cAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,WAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,WAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,YAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,aAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,WAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,WAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,WAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,mBAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,gBAAA,GAAAf,sBAAA,CAAAC,OAAA;AAAkE,SAAAD,uBAAAgB,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA"}
1
+ {"version":3,"file":"index.js","names":["_vtxHousingEstateModal","_interopRequireDefault","require","_vtxThrowPointModal","_vtxFacilityModal","_vtxDefaultModal","_vtxCarModal","_vtxCarAdm251Modal","_vtxStaffModal","_vtxCpModal","_vtxDfModal","_vtxZyzModal","_vtxRoadModal","_vtxWrModal","_vtxZgModal","_vtxKhModal","_vtxRestaurantModal","_vtxLjflTfdModal","obj","__esModule"],"sources":["index.js"],"sourcesContent":["export { default as VtxHousingEstateModal } from './vtx-housing-estate-modal';\nexport { default as VtxThrowPointModal } from './vtx-throw-point-modal';\nexport { default as VtxFacilityModal } from './vtx-facility-modal';\nexport { default as VtxDefaultModal } from './vtx-default-modal';\nexport { default as VtxCarModal } from './vtx-car-modal';\nexport { default as VtxCarAdm251Modal } from './vtx-car-adm251-modal';\nexport { default as VtxStaffModal } from './vtx-staff-modal';\nexport { default as VtxCpModal } from './vtx-cp-modal';\nexport { default as VtxDfModal } from './vtx-df-modal';\nexport { default as VtxZyzModal } from './vtx-zyz-modal';\nexport { default as VtxRoadModal } from './vtx-road-modal';\nexport { default as VtxWrModal } from './vtx-wr-modal';\nexport { default as VtxZgModal } from './vtx-zg-modal';\nexport { default as VtxKhModal } from './vtx-kh-modal';\nexport { default as VtxRestaurantModal } from './vtx-restaurant-modal';\nexport { default as VtxLjflTfdModal } from './vtx-ljfl-tfd-modal';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,mBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,iBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,gBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,YAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,kBAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,cAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,WAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,WAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,YAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,aAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,WAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,WAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,WAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,mBAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,gBAAA,GAAAhB,sBAAA,CAAAC,OAAA;AAAkE,SAAAD,uBAAAiB,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA"}
@@ -0,0 +1,605 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.syFixedData = exports.WorkServicve = exports.WaterService = exports.OilService = exports.MaintenanceService = exports.BaseService = exports.AlarmService = void 0;
7
+ var _utils = require("@vtx/utils");
8
+ var _ahooks = require("ahooks");
9
+ var _lodash = require("lodash");
10
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
11
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
13
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
14
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
15
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
16
+ var syFixedData = {
17
+ 链家地产: {
18
+ bucketNum: 1,
19
+ weight: 31.6
20
+ },
21
+ 锦绣家园装饰城A栋: {
22
+ bucketNum: 2,
23
+ weight: 112.5
24
+ },
25
+ 中国银行: {
26
+ bucketNum: 1,
27
+ weight: 34.5
28
+ },
29
+ 社区残疾人协会: {
30
+ bucketNum: 1,
31
+ weight: 44.5
32
+ },
33
+ 天府大道北段: {
34
+ bucketNum: 2,
35
+ weight: 89.4
36
+ },
37
+ 锦官新城: {
38
+ bucketNum: 1,
39
+ weight: 50
40
+ },
41
+ '武侯区航空路10-6号': {
42
+ bucketNum: 1,
43
+ weight: 68.1
44
+ }
45
+ };
46
+ exports.syFixedData = syFixedData;
47
+ var BaseService = {
48
+ useBaseInfo: function useBaseInfo(id) {
49
+ var _useRequest = (0, _ahooks.useRequest)(function () {
50
+ return _utils.request.get('/cloud/gps-reborn/sdk/car/getCarInfoByProductType', {
51
+ data: {
52
+ carId: id
53
+ }
54
+ });
55
+ }, {
56
+ refreshDeps: [id]
57
+ }),
58
+ baseInfoRes = _useRequest.data;
59
+ var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
60
+ var baseInfo = [{
61
+ label: '所属单位',
62
+ key: 'deptName',
63
+ value: info === null || info === void 0 ? void 0 : info.deptName
64
+ }, {
65
+ label: '使用单位',
66
+ key: 'useUnitName',
67
+ value: info === null || info === void 0 ? void 0 : info.useUnitName
68
+ }, {
69
+ label: '所属标段',
70
+ key: 'bidSectionName',
71
+ value: info === null || info === void 0 ? void 0 : info.bidSectionName
72
+ }, {
73
+ label: '行政区划',
74
+ key: 'divisionName',
75
+ value: info === null || info === void 0 ? void 0 : info.divisionName
76
+ }, {
77
+ label: '责任人',
78
+ key: 'manageStaffName',
79
+ value: info === null || info === void 0 ? void 0 : info.manageStaffName
80
+ }, {
81
+ label: '联系人',
82
+ key: 'contact',
83
+ value: info === null || info === void 0 ? void 0 : info.contact
84
+ }, {
85
+ label: '联系电话',
86
+ key: 'contactWay',
87
+ value: info === null || info === void 0 ? void 0 : info.contactWay
88
+ }];
89
+ return {
90
+ baseInfo: baseInfo,
91
+ info: info
92
+ };
93
+ },
94
+ useConfig: function useConfig() {
95
+ var _a, _b;
96
+ var _useRequest2 = (0, _ahooks.useRequest)(function () {
97
+ return _utils.request.get('/cloud/ljsy-reborn/api/param/config/webList');
98
+ }),
99
+ config = _useRequest2.data;
100
+ var paramConfigsList = {};
101
+ if (config === null || config === void 0 ? void 0 : config.data) {
102
+ (_b = (_a = config.data) === null || _a === void 0 ? void 0 : _a.paramConfigs) === null || _b === void 0 ? void 0 : _b.forEach(function (element) {
103
+ paramConfigsList[element.code] = Object.assign({}, element);
104
+ });
105
+ }
106
+ return paramConfigsList;
107
+ },
108
+ useDailySummaryJxh: function useDailySummaryJxh(carId, date) {
109
+ // 左侧今日排版、今日作业
110
+ var _useRequest3 = (0, _ahooks.useRequest)(function () {
111
+ return _utils.request.get('/cloud/zyqs-reborn/api/kanban/kanbanWorkInfoAndShiftStatistics', {
112
+ data: {
113
+ carId: carId,
114
+ date: date
115
+ }
116
+ });
117
+ }, {
118
+ ready: !!carId,
119
+ refreshDeps: [carId, date]
120
+ }),
121
+ dailySummaryJxh = _useRequest3.data;
122
+ return {
123
+ dailySummaryJxh: (dailySummaryJxh === null || dailySummaryJxh === void 0 ? void 0 : dailySummaryJxh.data) || {}
124
+ };
125
+ },
126
+ useDailyCarRun: function useDailyCarRun(id, beginTime, endTime) {
127
+ //今日运行
128
+ var _useRequest4 = (0, _ahooks.useRequest)(function () {
129
+ return _utils.request.get('/cloud/gps-reborn/report/dailyCarRun/list', {
130
+ data: {
131
+ carIds: id,
132
+ reportDateStart: beginTime,
133
+ reportDateEnd: endTime
134
+ }
135
+ });
136
+ }, {
137
+ refreshDeps: [id, beginTime, endTime]
138
+ }),
139
+ dailyCarRunRes = _useRequest4.data;
140
+ return {
141
+ dailyCarRunRes: (dailyCarRunRes === null || dailyCarRunRes === void 0 ? void 0 : dailyCarRunRes.data) || []
142
+ };
143
+ },
144
+ useTodayRun: function useTodayRun(carId, beginTime, endTime, source) {
145
+ //今日运行
146
+ var _useRequest5 = (0, _ahooks.useRequest)(function () {
147
+ return _utils.request.get('/cloud/gps-reborn/car/detail/alarmSumWithDetail', {
148
+ data: {
149
+ carId: carId,
150
+ beginTime: "".concat(beginTime, " 00:00:00"),
151
+ endTime: "".concat(endTime, " 23:59:59")
152
+ }
153
+ });
154
+ }, {
155
+ ready: source === 'GPS',
156
+ refreshDeps: [carId, beginTime, endTime, source]
157
+ }),
158
+ todayRunRes = _useRequest5.data;
159
+ return {
160
+ todayRunRes: (todayRunRes === null || todayRunRes === void 0 ? void 0 : todayRunRes.data) || {}
161
+ };
162
+ },
163
+ useTodayWorkJxh: function useTodayWorkJxh(carId, date) {
164
+ //今日作业-机械化
165
+ var _useRequest6 = (0, _ahooks.useRequest)(function () {
166
+ return _utils.request.get('/cloud/zyqs-reborn/api/kanban/getRoadWorkInfoByCarId', {
167
+ data: {
168
+ carId: carId,
169
+ date: date
170
+ }
171
+ });
172
+ }, {
173
+ refreshDeps: [carId, date]
174
+ }),
175
+ todayRunJxhRes = _useRequest6.data;
176
+ return {
177
+ todayRunJxhRes: (todayRunJxhRes === null || todayRunJxhRes === void 0 ? void 0 : todayRunJxhRes.data) || []
178
+ };
179
+ },
180
+ useTodayWorkLjsy: function useTodayWorkLjsy(carId, dateValue) {
181
+ //今日作业-垃圾收运
182
+ var _useRequest7 = (0, _ahooks.useRequest)(function () {
183
+ return _utils.request.get('/cloud/ljsy-reborn/api/kanban/getWorkInfoByCarIdWithDetail', {
184
+ data: {
185
+ carId: carId,
186
+ dateValue: dateValue
187
+ }
188
+ });
189
+ }, {
190
+ refreshDeps: [carId, dateValue]
191
+ }),
192
+ todayRunLjsyRes = _useRequest7.data;
193
+ return {
194
+ todayRunLjsyRes: (todayRunLjsyRes === null || todayRunLjsyRes === void 0 ? void 0 : todayRunLjsyRes.data) || []
195
+ };
196
+ },
197
+ useWorkSummaryJxh: function useWorkSummaryJxh(carId, startDate, endDate) {
198
+ //机械化作业统计
199
+ var _useRequest8 = (0, _ahooks.useRequest)(function () {
200
+ return _utils.request.get('/cloud/zyqs-reborn/api/kanban/workInfoStatisticsByCarId', {
201
+ data: {
202
+ carId: carId,
203
+ startDate: startDate,
204
+ endDate: endDate
205
+ }
206
+ });
207
+ }, {
208
+ refreshDeps: [carId, startDate, endDate]
209
+ }),
210
+ workSummaryJxhRes = _useRequest8.data;
211
+ return {
212
+ workSummaryJxhRes: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.data) || {}
213
+ };
214
+ },
215
+ useWorkAnaJxh: function useWorkAnaJxh(carId, startDate, endDate) {
216
+ //机械化作业分析
217
+ var _useRequest9 = (0, _ahooks.useRequest)(function () {
218
+ return _utils.request.get('/cloud/zyqs-reborn/api/kanban/workInfoAnalysisByCarId', {
219
+ data: {
220
+ carId: carId,
221
+ startDate: startDate,
222
+ endDate: endDate
223
+ }
224
+ });
225
+ }, {
226
+ refreshDeps: [carId, startDate, endDate]
227
+ }),
228
+ workAnaJxhRes = _useRequest9.data;
229
+ return {
230
+ workAnaJxhRes: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.data) || []
231
+ };
232
+ },
233
+ useWorkAnaLjsy: function useWorkAnaLjsy(carId, startDate, endDate, isReleate) {
234
+ //垃圾收运-作业分析
235
+ var _useRequest10 = (0, _ahooks.useRequest)(function () {
236
+ return _utils.request.get('/cloud/ljsy-reborn/api/kanban/getWorkInfoAnalysisByCarId', {
237
+ data: {
238
+ carId: carId,
239
+ startDate: startDate,
240
+ endDate: endDate
241
+ }
242
+ });
243
+ }, {
244
+ ready: isReleate,
245
+ refreshDeps: [carId, startDate, endDate]
246
+ }),
247
+ workAnaLjsyRes = _useRequest10.data;
248
+ return {
249
+ workAnaLjsyRes: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.data) || {}
250
+ };
251
+ }
252
+ };
253
+ exports.BaseService = BaseService;
254
+ var AlarmService = {
255
+ useAlarmType: function useAlarmType(carIds, startTime, endTime, source) {
256
+ var _useRequest11 = (0, _ahooks.useRequest)(function () {
257
+ return _utils.request.get('/cloud/gps-reborn/alarm/record/statisticsPage', {
258
+ data: {
259
+ carIds: carIds,
260
+ startTime: startTime,
261
+ endTime: endTime
262
+ }
263
+ });
264
+ }, {
265
+ ready: source === 'GPS',
266
+ refreshDeps: [carIds, startTime, endTime, source]
267
+ }),
268
+ alarmTypesRes = _useRequest11.data;
269
+ return {
270
+ alarmTypes: (alarmTypesRes === null || alarmTypesRes === void 0 ? void 0 : alarmTypesRes.data) || {
271
+ totalCount: 0,
272
+ summary: []
273
+ }
274
+ };
275
+ },
276
+ useAlarmTypeWork: function useAlarmTypeWork(carIds, startTime, endTime, source) {
277
+ var _useRequest12 = (0, _ahooks.useRequest)(function () {
278
+ return _utils.request.get('/cloud/ljsy-reborn/api/task/alarm/alarmSum', {
279
+ data: {
280
+ carIds: carIds,
281
+ startDate: startTime,
282
+ endDate: endTime
283
+ }
284
+ });
285
+ }, {
286
+ ready: source === 'WORK',
287
+ refreshDeps: [carIds, startTime, endTime, source]
288
+ }),
289
+ data = _useRequest12.data;
290
+ return {
291
+ alarmTypesWork: (data === null || data === void 0 ? void 0 : data.data) || {
292
+ total: 0,
293
+ low: 0,
294
+ miss: 0
295
+ }
296
+ };
297
+ },
298
+ useAlarmList: function useAlarmList(carCode, alarmStrategyName, startTime, endTime, page) {
299
+ var _useRequest13 = (0, _ahooks.useRequest)(function () {
300
+ return _utils.request.get('/cloud/gps-reborn/alarm/record/pageList', {
301
+ data: {
302
+ carCode: carCode,
303
+ alarmStrategyName: alarmStrategyName,
304
+ startTime: startTime,
305
+ endTime: endTime,
306
+ page: page,
307
+ rows: 10
308
+ }
309
+ });
310
+ }, {
311
+ ready: !!carCode,
312
+ refreshDeps: [carCode, alarmStrategyName, startTime, endTime, page]
313
+ }),
314
+ recordRes = _useRequest13.data;
315
+ return {
316
+ alarmRecord: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {}
317
+ };
318
+ },
319
+ useAlarmListWork: function useAlarmListWork(carIds, alarmTypeCode, startDate, endDate, page) {
320
+ var _useRequest14 = (0, _ahooks.useRequest)(function () {
321
+ return _utils.request.get('/cloud/ljsy-reborn/api/task/alarm/alarmPage', {
322
+ data: {
323
+ carIds: carIds,
324
+ alarmTypeCode: alarmTypeCode,
325
+ startDate: startDate,
326
+ endDate: endDate,
327
+ page: page,
328
+ size: 10,
329
+ sort: 'taskDay,DESC'
330
+ }
331
+ });
332
+ }, {
333
+ refreshDeps: [carIds, alarmTypeCode, startDate, endDate, page]
334
+ }),
335
+ recordRes = _useRequest14.data;
336
+ return {
337
+ alarmRecordWork: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {}
338
+ };
339
+ },
340
+ useAlarmTodayRun: function useAlarmTodayRun(carId, beginTime, endTime, source) {
341
+ var _a;
342
+ //今日运行
343
+ var _useRequest15 = (0, _ahooks.useRequest)(function () {
344
+ return _utils.request.get('/cloud/ljsy-reborn/api/task/alarm/alarmSumByTypeAndDay', {
345
+ data: {
346
+ carId: carId,
347
+ startDate: beginTime,
348
+ endDate: endTime
349
+ }
350
+ });
351
+ }, {
352
+ ready: source === 'WORK',
353
+ refreshDeps: [carId, beginTime, endTime, source]
354
+ }),
355
+ data = _useRequest15.data;
356
+ var pieData = [];
357
+ var lineData = {
358
+ legends: [],
359
+ values: [],
360
+ names: []
361
+ };
362
+ if (((_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.length) > 0) {
363
+ var list = (0, _lodash.groupBy)(data.data, 'alarmTypeName');
364
+ Object.keys(list).map(function (key, index) {
365
+ if (index === 0) {
366
+ var _lineData$names;
367
+ (_lineData$names = lineData.names).push.apply(_lineData$names, _toConsumableArray(list[key].map(function (ele) {
368
+ return ele.day;
369
+ })));
370
+ }
371
+ lineData.legends.push(key);
372
+ lineData.values.push(list[key].map(function (ele) {
373
+ return ele.alarmCount;
374
+ }));
375
+ pieData.push({
376
+ alarmTypeName: key,
377
+ count: (0, _lodash.sum)(list[key].map(function (ele) {
378
+ return ele.alarmCount;
379
+ }))
380
+ });
381
+ });
382
+ }
383
+ return {
384
+ pieData: pieData,
385
+ lineData: lineData
386
+ };
387
+ }
388
+ };
389
+ // 作业信息
390
+ exports.AlarmService = AlarmService;
391
+ var WorkServicve = {
392
+ useWorkTypeJxh: function useWorkTypeJxh() {
393
+ //机械化作业类型
394
+ var _useRequest16 = (0, _ahooks.useRequest)(function () {
395
+ return _utils.request.get('/cloud/zyqs-reborn/api/v101/common/listWorkType', {
396
+ data: {}
397
+ });
398
+ }),
399
+ workTypeRes = _useRequest16.data;
400
+ return {
401
+ workTypeRes: (workTypeRes === null || workTypeRes === void 0 ? void 0 : workTypeRes.data) || []
402
+ };
403
+ },
404
+ useRecordJxh: function useRecordJxh(carId, workTypeCodes, startDate, endDate, pageNo, order) {
405
+ //机械化
406
+ var _useRequest17 = (0, _ahooks.useRequest)(function () {
407
+ return _utils.request.get('/cloud/zyqs-reborn/api/v1.5/noshift/page', {
408
+ data: {
409
+ carId: carId,
410
+ workTypeCodes: workTypeCodes,
411
+ needFilterWork: true,
412
+ startDate: startDate,
413
+ endDate: endDate,
414
+ pageNo: pageNo,
415
+ pageSize: 10,
416
+ sort: 'workDate',
417
+ order: order
418
+ }
419
+ });
420
+ }, {
421
+ refreshDeps: [carId, workTypeCodes, startDate, endDate, pageNo, order]
422
+ }),
423
+ recordJxhRes = _useRequest17.data;
424
+ return {
425
+ recordJxhRes: (recordJxhRes === null || recordJxhRes === void 0 ? void 0 : recordJxhRes.data) || []
426
+ };
427
+ },
428
+ useWorkSummaryLjsy: function useWorkSummaryLjsy(carId, startDate, endDate) {
429
+ //垃圾收运头部统计
430
+ var _useRequest18 = (0, _ahooks.useRequest)(function () {
431
+ return _utils.request.get('/cloud/ljsy-reborn/api/kanban/getWorkInfoSummaryByCarId', {
432
+ data: {
433
+ carId: carId,
434
+ startDate: startDate,
435
+ endDate: endDate
436
+ }
437
+ });
438
+ }, {
439
+ refreshDeps: [carId, startDate, endDate]
440
+ }),
441
+ summaryLjsy = _useRequest18.data;
442
+ return {
443
+ summaryLjsy: (summaryLjsy === null || summaryLjsy === void 0 ? void 0 : summaryLjsy.data) || []
444
+ };
445
+ },
446
+ useRecordLjsy: function useRecordLjsy(carIds, startTime, endTime, page, sort) {
447
+ //机械化
448
+ var _useRequest19 = (0, _ahooks.useRequest)(function () {
449
+ return _utils.request.get('/cloud/ljsy-reborn/api/collect/record/detail/page', {
450
+ data: {
451
+ carIds: carIds,
452
+ startTime: startTime,
453
+ endTime: endTime,
454
+ page: page,
455
+ size: 10,
456
+ sort: sort
457
+ }
458
+ });
459
+ }, {
460
+ refreshDeps: [carIds, startTime, endTime, page, sort]
461
+ }),
462
+ recordLjsyRes = _useRequest19.data;
463
+ return {
464
+ recordLjsyRes: (recordLjsyRes === null || recordLjsyRes === void 0 ? void 0 : recordLjsyRes.data) || []
465
+ };
466
+ }
467
+ };
468
+ //油耗
469
+ exports.WorkServicve = WorkServicve;
470
+ var OilService = {
471
+ useHasOil: function useHasOil(carId) {
472
+ var _a;
473
+ var _useRequest20 = (0, _ahooks.useRequest)(function () {
474
+ return _utils.request.get('/cloud/gps-reborn/car/config/getById', {
475
+ data: {
476
+ id: carId
477
+ }
478
+ });
479
+ }, {
480
+ refreshDeps: [carId]
481
+ }),
482
+ data = _useRequest20.data;
483
+ return {
484
+ beenOilStatus: (_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.beenOilStatus
485
+ };
486
+ },
487
+ useOilLine: function useOilLine(carId, startTime, endTime) {
488
+ var _useRequest21 = (0, _ahooks.useRequest)(function () {
489
+ return _utils.request.get('/cloud/oil-reborn/api/oilUse/oilLine.smvc', {
490
+ data: {
491
+ carId: carId,
492
+ startTime: startTime,
493
+ endTime: endTime
494
+ }
495
+ });
496
+ }, {
497
+ refreshDeps: [carId, startTime, endTime]
498
+ }),
499
+ oilLineRes = _useRequest21.data;
500
+ return {
501
+ oilLineRes: (oilLineRes === null || oilLineRes === void 0 ? void 0 : oilLineRes.data) || []
502
+ };
503
+ },
504
+ useSummary: function useSummary(carId, startTime, endTime) {
505
+ var _useRequest22 = (0, _ahooks.useRequest)(function () {
506
+ return _utils.request.get('/cloud/oil-reborn/api/oilUse/summary.smvc', {
507
+ data: {
508
+ carId: carId,
509
+ startTime: startTime,
510
+ endTime: endTime
511
+ }
512
+ });
513
+ }, {
514
+ refreshDeps: [carId, startTime, endTime]
515
+ }),
516
+ summaryRes = _useRequest22.data;
517
+ return {
518
+ summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
519
+ };
520
+ },
521
+ useRecord: function useRecord(carId, startTime, endTime, page, sort) {
522
+ var _useRequest23 = (0, _ahooks.useRequest)(function () {
523
+ return _utils.request.get('/cloud/oil-reborn/api/oilUse/simplePage.smvc', {
524
+ data: {
525
+ carId: carId,
526
+ startTime: startTime,
527
+ endTime: endTime,
528
+ page: page,
529
+ rows: 10,
530
+ sortKey: 'day',
531
+ sort: sort
532
+ }
533
+ });
534
+ }, {
535
+ refreshDeps: [carId, startTime, endTime, page, sort]
536
+ }),
537
+ recordRes = _useRequest23.data;
538
+ return {
539
+ recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
540
+ };
541
+ }
542
+ };
543
+ //水耗
544
+ exports.OilService = OilService;
545
+ var WaterService = {
546
+ useSummary: function useSummary(carId, startTime, endTime) {
547
+ var _useRequest24 = (0, _ahooks.useRequest)(function () {
548
+ return _utils.request.get('/cloud/water-reborn/api/v101/water/waterMeasure/summary', {
549
+ data: {
550
+ hasWaterStatus: true,
551
+ carId: carId,
552
+ startTime: startTime,
553
+ endTime: endTime
554
+ }
555
+ });
556
+ }, {
557
+ refreshDeps: [carId, startTime, endTime]
558
+ }),
559
+ summaryRes = _useRequest24.data;
560
+ return {
561
+ summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
562
+ };
563
+ },
564
+ useRecord: function useRecord(carId, startDate, endDate, order) {
565
+ var _useRequest25 = (0, _ahooks.useRequest)(function () {
566
+ return _utils.request.get('/cloud/water-reborn/api/v101/water/waterMeasure/queryList', {
567
+ data: {
568
+ hasWaterStatus: true,
569
+ carId: carId,
570
+ startDate: startDate,
571
+ endDate: endDate,
572
+ sort: 'day',
573
+ order: order
574
+ }
575
+ });
576
+ }, {
577
+ refreshDeps: [carId, startDate, endDate, order]
578
+ }),
579
+ recordRes = _useRequest25.data;
580
+ return {
581
+ recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
582
+ };
583
+ }
584
+ };
585
+ // 维保
586
+ exports.WaterService = WaterService;
587
+ var MaintenanceService = {
588
+ useMaintenance: function useMaintenance(carId) {
589
+ var _useRequest26 = (0, _ahooks.useRequest)(function () {
590
+ return _utils.request.get('/cloud/clwb/api/v101/carComprehensiveBoard/carWbAnalyse', {
591
+ data: {
592
+ carId: carId
593
+ }
594
+ });
595
+ }, {
596
+ refreshDeps: [carId]
597
+ }),
598
+ maintenanceRes = _useRequest26.data;
599
+ return {
600
+ maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
601
+ };
602
+ }
603
+ };
604
+ exports.MaintenanceService = MaintenanceService;
605
+ //# sourceMappingURL=api.js.map