@vtx/modals2 6.0.0-beta.2 → 6.0.0-beta.20

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 (156) hide show
  1. package/lib/_components/index.js +1 -0
  2. package/lib/_components/vm-appraisal-info/api.js +55 -0
  3. package/lib/_components/vm-appraisal-info/imgs/count.png +0 -0
  4. package/lib/_components/vm-appraisal-info/imgs/count_light.png +0 -0
  5. package/lib/_components/vm-appraisal-info/imgs/subtract.png +0 -0
  6. package/lib/_components/vm-appraisal-info/imgs/subtract_light.png +0 -0
  7. package/lib/_components/vm-appraisal-info/index.js +205 -0
  8. package/lib/_components/vm-appraisal-info/index.less +7 -0
  9. package/lib/_components/vm-bar-charts/index.js +4 -4
  10. package/lib/_components/vm-factor/index.js +2 -1
  11. package/lib/_components/vm-filter/style/index.less +7 -11
  12. package/lib/_components/vm-info-collection/index.js +3 -2
  13. package/lib/_components/vm-line-charts/index.js +4 -1
  14. package/lib/_components/vm-progress/index.js +2 -1
  15. package/lib/_components/vm-repair-maintain/index.js +34 -2
  16. package/lib/_components/vm-tag/index.js +2 -1
  17. package/lib/_components/vm-title/index.js +2 -1
  18. package/lib/_components/vm-video/HistoryGrid.js +53 -3
  19. package/lib/_components/vm-video/RealtimeGrid.js +24 -3
  20. package/lib/_components/vm-video/index.js +99 -37
  21. package/lib/_components/vm-video/index.less +18 -14
  22. package/lib/_components/vm-wrapper/index.js +1 -1
  23. package/lib/_components/vm-wrapper/style/index.less +4 -2
  24. package/lib/_hooks/useGetChannels.js +20 -6
  25. package/lib/_hooks/useUmsService.js +36 -0
  26. package/lib/_service/index.js +7 -33
  27. package/lib/_util/http.js +36 -8
  28. package/lib/_util/iconSvgHtml.js +15 -5
  29. package/lib/_util/index.js +6 -5
  30. package/lib/locales/en.json +141 -1
  31. package/lib/locales/zh-CN.json +143 -3
  32. package/lib/vtx-base-modal/Tabs/index.js +2 -1
  33. package/lib/vtx-base-modal/index.js +2 -1
  34. package/lib/vtx-car-modal/api.js +596 -114
  35. package/lib/vtx-car-modal/components/Info/index.js +1 -1
  36. package/lib/vtx-car-modal/content/Common/EleUse/index.js +218 -0
  37. package/lib/vtx-car-modal/content/Common/EleUse/index.less +19 -0
  38. package/lib/vtx-car-modal/content/Common/OilUse/index.js +230 -0
  39. package/lib/vtx-car-modal/content/Common/OilUse/index.less +19 -0
  40. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +376 -0
  41. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -0
  42. package/lib/vtx-car-modal/content/Common/WaterUse/index.js +201 -0
  43. package/lib/vtx-car-modal/content/Common/WaterUse/index.less +19 -0
  44. package/lib/vtx-car-modal/content/Common/index.js +9 -1
  45. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +2 -1
  46. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +9 -8
  47. package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +11 -11
  48. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +5 -4
  49. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +8 -6
  50. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +7 -4
  51. package/lib/vtx-car-modal/imgs/czb_bg.png +0 -0
  52. package/lib/vtx-car-modal/imgs/czb_bg_dark.png +0 -0
  53. package/lib/vtx-car-modal/imgs/factor/bglyh.png +0 -0
  54. package/lib/vtx-car-modal/imgs/factor/bglyh_dark.png +0 -0
  55. package/lib/vtx-car-modal/imgs/factor/cdcs.png +0 -0
  56. package/lib/vtx-car-modal/imgs/factor/cdcs_dark.png +0 -0
  57. package/lib/vtx-car-modal/imgs/factor/cdje.png +0 -0
  58. package/lib/vtx-car-modal/imgs/factor/cdje_dark.png +0 -0
  59. package/lib/vtx-car-modal/imgs/factor/cdpc.png +0 -0
  60. package/lib/vtx-car-modal/imgs/factor/cdpc_dark.png +0 -0
  61. package/lib/vtx-car-modal/imgs/factor/dccdje.png +0 -0
  62. package/lib/vtx-car-modal/imgs/factor/dccdje_dark.png +0 -0
  63. package/lib/vtx-car-modal/imgs/factor/jscs.png +0 -0
  64. package/lib/vtx-car-modal/imgs/factor/jscs_dark.png +0 -0
  65. package/lib/vtx-car-modal/imgs/factor/jsje.png +0 -0
  66. package/lib/vtx-car-modal/imgs/factor/jsje_dark.png +0 -0
  67. package/lib/vtx-car-modal/imgs/factor/jsl.png +0 -0
  68. package/lib/vtx-car-modal/imgs/factor/jsl_dark.png +0 -0
  69. package/lib/vtx-car-modal/imgs/factor/jspc.png +0 -0
  70. package/lib/vtx-car-modal/imgs/factor/jspc_dark.png +0 -0
  71. package/lib/vtx-car-modal/imgs/factor/jycs.png +0 -0
  72. package/lib/vtx-car-modal/imgs/factor/jycs_dark.png +0 -0
  73. package/lib/vtx-car-modal/imgs/factor/jyje.png +0 -0
  74. package/lib/vtx-car-modal/imgs/factor/jyje_dark.png +0 -0
  75. package/lib/vtx-car-modal/imgs/factor/jyl.png +0 -0
  76. package/lib/vtx-car-modal/imgs/factor/jyl_dark.png +0 -0
  77. package/lib/vtx-car-modal/imgs/factor/ljwbcs.png +0 -0
  78. package/lib/vtx-car-modal/imgs/factor/ljwbcs_dark.png +0 -0
  79. package/lib/vtx-car-modal/imgs/factor/njzfy.png +0 -0
  80. package/lib/vtx-car-modal/imgs/factor/njzfy_dark.png +0 -0
  81. package/lib/vtx-car-modal/imgs/factor/qzxze.png +0 -0
  82. package/lib/vtx-car-modal/imgs/factor/qzxze_dark.png +0 -0
  83. package/lib/vtx-car-modal/imgs/factor/sgcs.png +0 -0
  84. package/lib/vtx-car-modal/imgs/factor/sgcs_dark.png +0 -0
  85. package/lib/vtx-car-modal/imgs/factor/sgfy.png +0 -0
  86. package/lib/vtx-car-modal/imgs/factor/sgfy_dark.png +0 -0
  87. package/lib/vtx-car-modal/imgs/factor/syxze.png +0 -0
  88. package/lib/vtx-car-modal/imgs/factor/syxze_dark.png +0 -0
  89. package/lib/vtx-car-modal/imgs/factor/wbzfy.png +0 -0
  90. package/lib/vtx-car-modal/imgs/factor/wbzfy_dark.png +0 -0
  91. package/lib/vtx-car-modal/imgs/factor/wzcs.png +0 -0
  92. package/lib/vtx-car-modal/imgs/factor/wzcs_dark.png +0 -0
  93. package/lib/vtx-car-modal/imgs/factor/wzkf.png +0 -0
  94. package/lib/vtx-car-modal/imgs/factor/wzkf_dark.png +0 -0
  95. package/lib/vtx-car-modal/imgs/factor/wzkfee.png +0 -0
  96. package/lib/vtx-car-modal/imgs/factor/wzkfee_dark.png +0 -0
  97. package/lib/vtx-car-modal/imgs/factor/xslc.png +0 -0
  98. package/lib/vtx-car-modal/imgs/factor/xslc_dark.png +0 -0
  99. package/lib/vtx-car-modal/imgs/factor/ydcb.png +0 -0
  100. package/lib/vtx-car-modal/imgs/factor/ydcb_dark.png +0 -0
  101. package/lib/vtx-car-modal/imgs/factor/yhcb.png +0 -0
  102. package/lib/vtx-car-modal/imgs/factor/yhcb_dark.png +0 -0
  103. package/lib/vtx-car-modal/imgs/factor/yscb.png +0 -0
  104. package/lib/vtx-car-modal/imgs/factor/yscb_dark.png +0 -0
  105. package/lib/vtx-car-modal/imgs/zjl.png +0 -0
  106. package/lib/vtx-car-modal/imgs/zjl_dark.png +0 -0
  107. package/lib/vtx-car-modal/index.js +40 -9
  108. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +3 -3
  109. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +2 -5
  110. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +7 -1
  111. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +8 -4
  112. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +2 -2
  113. package/lib/vtx-cp-modal/index.js +12 -12
  114. package/lib/vtx-default-modal/index.js +7 -6
  115. package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +2 -2
  116. package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +11 -5
  117. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +2 -2
  118. package/lib/vtx-df-modal/components/Calendar/index.js +9 -2
  119. package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +9 -2
  120. package/lib/vtx-df-modal/components/WorkCondition/Table.js +2 -2
  121. package/lib/vtx-df-modal/index.js +20 -25
  122. package/lib/vtx-kh-modal/components/Record/index.js +1 -205
  123. package/lib/vtx-qyry-modal/index.js +1 -1
  124. package/lib/vtx-restaurant-modal/components/Calendar/index.js +3 -3
  125. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +3 -0
  126. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +50 -33
  127. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +3 -3
  128. package/lib/vtx-restaurant-modal/config.js +11 -3
  129. package/lib/vtx-road-modal/components/BaseInfo/Work.js +9 -1
  130. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +8 -1
  131. package/lib/vtx-road-modal/components/LaneCalendar/index.js +3 -0
  132. package/lib/vtx-road-modal/index.js +21 -5
  133. package/lib/vtx-road-modal/utils/url.js +12 -0
  134. package/lib/vtx-shxq-modal/api.js +5 -5
  135. package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +2 -2
  136. package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +19 -6
  137. package/lib/vtx-shxq-modal/index.js +21 -4
  138. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +4 -1
  139. package/lib/vtx-tfd-modal/api.js +2 -2
  140. package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +2 -2
  141. package/lib/vtx-wr-modal/index.js +34 -6
  142. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +4 -1
  143. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +5 -4
  144. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +10 -5
  145. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +7 -6
  146. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +10 -5
  147. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +10 -5
  148. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +6 -5
  149. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +10 -5
  150. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +10 -5
  151. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +7 -6
  152. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +12 -7
  153. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +6 -5
  154. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +10 -5
  155. package/lib/vtx-zzz-modal/index.js +30 -23
  156. package/package.json +6 -6
@@ -937,16 +937,17 @@ export var LjzyService = {
937
937
  loading: loading
938
938
  };
939
939
  },
940
- useGetCarSumByDateAndDisposeUnit: function useGetCarSumByDateAndDisposeUnit(_ref20) {
940
+ useGetCarSumByDateZdReborn: function useGetCarSumByDateZdReborn(_ref20) {
941
941
  var carCode = _ref20.carCode,
942
942
  startDate = _ref20.startDate,
943
943
  endDate = _ref20.endDate;
944
944
  var _useRequest40 = useRequest(function () {
945
- return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDateAndDisposeUnit.smvc"), {
945
+ return http.get("".concat(prefix, "/cloud/zd-reborn/api/dataBoard/getWeightSummaryTrend"), {
946
946
  body: {
947
947
  carCode: carCode,
948
948
  startDate: startDate,
949
- endDate: endDate
949
+ endDate: endDate,
950
+ dateType: 'day'
950
951
  }
951
952
  });
952
953
  }, {
@@ -960,14 +961,61 @@ export var LjzyService = {
960
961
  loading: loading
961
962
  };
962
963
  },
963
- useGetWorkDetail: function useGetWorkDetail(_ref21) {
964
- var carNo = _ref21.carNo,
965
- startTime = _ref21.startTime,
966
- endTime = _ref21.endTime,
967
- page = _ref21.page,
968
- sort = _ref21.sort,
969
- order = _ref21.order;
970
- var _useRequest41 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
964
+ useGetCarSumByDateAndDisposeUnit: function useGetCarSumByDateAndDisposeUnit(_ref21) {
965
+ var carCode = _ref21.carCode,
966
+ startDate = _ref21.startDate,
967
+ endDate = _ref21.endDate;
968
+ var _useRequest41 = useRequest(function () {
969
+ return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDateAndDisposeUnit.smvc"), {
970
+ body: {
971
+ carCode: carCode,
972
+ startDate: startDate,
973
+ endDate: endDate
974
+ }
975
+ });
976
+ }, {
977
+ refreshDeps: [carCode, startDate, endDate],
978
+ ready: !!carCode
979
+ }),
980
+ data = _useRequest41.data,
981
+ loading = _useRequest41.loading;
982
+ return {
983
+ taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
984
+ loading: loading
985
+ };
986
+ },
987
+ useGetCarSumByDateAndDisposeUnitZdReborn: function useGetCarSumByDateAndDisposeUnitZdReborn(_ref22) {
988
+ var carCode = _ref22.carCode,
989
+ startDate = _ref22.startDate,
990
+ endDate = _ref22.endDate;
991
+ var _useRequest42 = useRequest(function () {
992
+ return http.get("".concat(prefix, "/cloud/zd-reborn/api/dataBoard/getWeightSummaryTrendByDisposeUnit"), {
993
+ body: {
994
+ carCode: carCode,
995
+ startDate: startDate,
996
+ endDate: endDate,
997
+ dateType: 'day'
998
+ }
999
+ });
1000
+ }, {
1001
+ refreshDeps: [carCode, startDate, endDate],
1002
+ ready: !!carCode
1003
+ }),
1004
+ data = _useRequest42.data,
1005
+ loading = _useRequest42.loading;
1006
+ return {
1007
+ taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
1008
+ loading: loading
1009
+ };
1010
+ },
1011
+ useGetWorkDetail: function useGetWorkDetail(_ref23) {
1012
+ var carNo = _ref23.carNo,
1013
+ startTime = _ref23.startTime,
1014
+ endTime = _ref23.endTime,
1015
+ page = _ref23.page,
1016
+ sort = _ref23.sort,
1017
+ order = _ref23.order;
1018
+ var _useRequest43 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
971
1019
  var res;
972
1020
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
973
1021
  while (1) switch (_context9.prev = _context9.next) {
@@ -996,9 +1044,53 @@ export var LjzyService = {
996
1044
  refreshDeps: [carNo, startTime, endTime, page, sort, order],
997
1045
  ready: !!carNo
998
1046
  }),
999
- _useRequest41$data = _useRequest41.data,
1000
- data = _useRequest41$data === void 0 ? {} : _useRequest41$data,
1001
- loading = _useRequest41.loading;
1047
+ _useRequest43$data = _useRequest43.data,
1048
+ data = _useRequest43$data === void 0 ? {} : _useRequest43$data,
1049
+ loading = _useRequest43.loading;
1050
+ return {
1051
+ workDetailData: data,
1052
+ loading: loading
1053
+ };
1054
+ },
1055
+ useGetWorkDetailZdReborn: function useGetWorkDetailZdReborn(_ref25) {
1056
+ var carNo = _ref25.carNo,
1057
+ startTime = _ref25.startTime,
1058
+ endTime = _ref25.endTime,
1059
+ page = _ref25.page,
1060
+ sort = _ref25.sort,
1061
+ order = _ref25.order;
1062
+ var _useRequest44 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
1063
+ var res;
1064
+ return _regeneratorRuntime().wrap(function _callee10$(_context10) {
1065
+ while (1) switch (_context10.prev = _context10.next) {
1066
+ case 0:
1067
+ _context10.next = 2;
1068
+ return http.get("".concat(prefix, "/cloud/zd-reborn/api/weightData/pageList"), {
1069
+ body: {
1070
+ carNo: carNo,
1071
+ startTime: startTime,
1072
+ endTime: endTime,
1073
+ page: page - 1,
1074
+ size: 10,
1075
+ sort: sort,
1076
+ order: order
1077
+ }
1078
+ });
1079
+ case 2:
1080
+ res = _context10.sent;
1081
+ return _context10.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
1082
+ case 4:
1083
+ case "end":
1084
+ return _context10.stop();
1085
+ }
1086
+ }, _callee10);
1087
+ })), {
1088
+ refreshDeps: [carNo, startTime, endTime, page, sort, order],
1089
+ ready: !!carNo
1090
+ }),
1091
+ _useRequest44$data = _useRequest44.data,
1092
+ data = _useRequest44$data === void 0 ? {} : _useRequest44$data,
1093
+ loading = _useRequest44.loading;
1002
1094
  return {
1003
1095
  workDetailData: data,
1004
1096
  loading: loading
@@ -1010,7 +1102,7 @@ export var LjzyService = {
1010
1102
  export var OilService = {
1011
1103
  useHasOil: function useHasOil(carId) {
1012
1104
  var _data$data2;
1013
- var _useRequest42 = useRequest(function () {
1105
+ var _useRequest45 = useRequest(function () {
1014
1106
  return http.get("".concat(prefix, "/cloud/gps-reborn/car/config/getById"), {
1015
1107
  body: {
1016
1108
  id: carId
@@ -1019,13 +1111,13 @@ export var OilService = {
1019
1111
  }, {
1020
1112
  refreshDeps: [carId]
1021
1113
  }),
1022
- data = _useRequest42.data;
1114
+ data = _useRequest45.data;
1023
1115
  return {
1024
1116
  beenOilStatus: data === null || data === void 0 || (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : _data$data2.beenOilStatus
1025
1117
  };
1026
1118
  },
1027
1119
  useOilLine: function useOilLine(carId, startTime, endTime) {
1028
- var _useRequest43 = useRequest(function () {
1120
+ var _useRequest46 = useRequest(function () {
1029
1121
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/oilLine.smvc"), {
1030
1122
  body: {
1031
1123
  carId: carId,
@@ -1037,15 +1129,15 @@ export var OilService = {
1037
1129
  }, {
1038
1130
  refreshDeps: [carId, startTime, endTime]
1039
1131
  }),
1040
- oilLineRes = _useRequest43.data,
1041
- loading = _useRequest43.loading;
1132
+ oilLineRes = _useRequest46.data,
1133
+ loading = _useRequest46.loading;
1042
1134
  return {
1043
1135
  oilLineRes: (oilLineRes === null || oilLineRes === void 0 ? void 0 : oilLineRes.data) || [],
1044
1136
  loading: loading
1045
1137
  };
1046
1138
  },
1047
1139
  useSummary: function useSummary(carId, startTime, endTime) {
1048
- var _useRequest44 = useRequest(function () {
1140
+ var _useRequest47 = useRequest(function () {
1049
1141
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/summary.smvc"), {
1050
1142
  body: {
1051
1143
  carId: carId,
@@ -1057,13 +1149,13 @@ export var OilService = {
1057
1149
  }, {
1058
1150
  refreshDeps: [carId, startTime, endTime]
1059
1151
  }),
1060
- summaryRes = _useRequest44.data;
1152
+ summaryRes = _useRequest47.data;
1061
1153
  return {
1062
1154
  summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
1063
1155
  };
1064
1156
  },
1065
1157
  useRecord: function useRecord(carId, startTime, endTime, page, sort) {
1066
- var _useRequest45 = useRequest(function () {
1158
+ var _useRequest48 = useRequest(function () {
1067
1159
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/simplePage.smvc"), {
1068
1160
  body: {
1069
1161
  carId: carId,
@@ -1079,7 +1171,7 @@ export var OilService = {
1079
1171
  }, {
1080
1172
  refreshDeps: [carId, startTime, endTime, page, sort]
1081
1173
  }),
1082
- recordRes = _useRequest45.data;
1174
+ recordRes = _useRequest48.data;
1083
1175
  return {
1084
1176
  recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
1085
1177
  };
@@ -1089,7 +1181,7 @@ export var OilService = {
1089
1181
  //水耗
1090
1182
  export var WaterService = {
1091
1183
  useSummary: function useSummary(carId, startTime, endTime) {
1092
- var _useRequest46 = useRequest(function () {
1184
+ var _useRequest49 = useRequest(function () {
1093
1185
  return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/summary"), {
1094
1186
  body: {
1095
1187
  hasWaterStatus: true,
@@ -1101,13 +1193,13 @@ export var WaterService = {
1101
1193
  }, {
1102
1194
  refreshDeps: [carId, startTime, endTime]
1103
1195
  }),
1104
- summaryRes = _useRequest46.data;
1196
+ summaryRes = _useRequest49.data;
1105
1197
  return {
1106
1198
  summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
1107
1199
  };
1108
1200
  },
1109
1201
  useRecord: function useRecord(carId, startDate, endDate) {
1110
- var _useRequest47 = useRequest(function () {
1202
+ var _useRequest50 = useRequest(function () {
1111
1203
  return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/queryList"), {
1112
1204
  body: {
1113
1205
  hasWaterStatus: true,
@@ -1119,8 +1211,8 @@ export var WaterService = {
1119
1211
  }, {
1120
1212
  refreshDeps: [carId, startDate, endDate]
1121
1213
  }),
1122
- recordRes = _useRequest47.data,
1123
- loading = _useRequest47.loading;
1214
+ recordRes = _useRequest50.data,
1215
+ loading = _useRequest50.loading;
1124
1216
  return {
1125
1217
  recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || [],
1126
1218
  loading: loading
@@ -1131,7 +1223,7 @@ export var WaterService = {
1131
1223
  // 维保
1132
1224
  export var MaintenanceService = {
1133
1225
  useMaintenance: function useMaintenance(carId) {
1134
- var _useRequest48 = useRequest(function () {
1226
+ var _useRequest51 = useRequest(function () {
1135
1227
  return http.get("".concat(prefix, "/cloud/clwb/api/v101/carComprehensiveBoard/carWbAnalyse"), {
1136
1228
  body: {
1137
1229
  carId: carId
@@ -1140,10 +1232,400 @@ export var MaintenanceService = {
1140
1232
  }, {
1141
1233
  refreshDeps: [carId]
1142
1234
  }),
1143
- maintenanceRes = _useRequest48.data;
1235
+ maintenanceRes = _useRequest51.data;
1144
1236
  return {
1145
1237
  maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
1146
1238
  };
1239
+ },
1240
+ useWaterSummary: function useWaterSummary(carId, startDate, endDate) {
1241
+ var _useRequest52 = useRequest(function () {
1242
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/waterSummary"), {
1243
+ body: {
1244
+ carId: carId,
1245
+ startDate: startDate,
1246
+ endDate: endDate
1247
+ }
1248
+ });
1249
+ }, {
1250
+ refreshDeps: [carId, startDate, endDate]
1251
+ }),
1252
+ waterSummary = _useRequest52.data,
1253
+ loading = _useRequest52.loading;
1254
+ return {
1255
+ loading: loading,
1256
+ waterSummary: (waterSummary === null || waterSummary === void 0 ? void 0 : waterSummary.data) || []
1257
+ };
1258
+ },
1259
+ useWaterRecord: function useWaterRecord(carId, startTime, endTime, sorter) {
1260
+ var _useRequest53 = useRequest(function () {
1261
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carWater/page"), {
1262
+ body: {
1263
+ carId: carId,
1264
+ startTime: startTime,
1265
+ endTime: endTime,
1266
+ sorter: sorter
1267
+ }
1268
+ });
1269
+ }, {
1270
+ refreshDeps: [carId, startTime, endTime, sorter]
1271
+ }),
1272
+ waterRecordSummary = _useRequest53.data,
1273
+ loading = _useRequest53.loading;
1274
+ return {
1275
+ loading: loading,
1276
+ recordRes: (waterRecordSummary === null || waterRecordSummary === void 0 ? void 0 : waterRecordSummary.data) || {}
1277
+ };
1278
+ },
1279
+ useWaterTypeSummary: function useWaterTypeSummary(carId, startDate, endDate) {
1280
+ var _waterTypeSummary$dat;
1281
+ var _useRequest54 = useRequest(function () {
1282
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/waterTypeSummary"), {
1283
+ body: {
1284
+ carId: carId,
1285
+ startDate: startDate,
1286
+ endDate: endDate
1287
+ }
1288
+ });
1289
+ }, {
1290
+ refreshDeps: [carId, startDate, endDate]
1291
+ }),
1292
+ waterTypeSummary = _useRequest54.data,
1293
+ loading = _useRequest54.loading;
1294
+ return {
1295
+ loading: loading,
1296
+ waterTypeSummary: (waterTypeSummary === null || waterTypeSummary === void 0 || (_waterTypeSummary$dat = waterTypeSummary.data) === null || _waterTypeSummary$dat === void 0 ? void 0 : _waterTypeSummary$dat.map(function (ele) {
1297
+ return _objectSpread(_objectSpread({}, ele), {}, {
1298
+ name: ele.waterTypeName,
1299
+ value: ele.waterAmount
1300
+ });
1301
+ })) || []
1302
+ };
1303
+ },
1304
+ useEleSummary: function useEleSummary(carId, startDate, endDate) {
1305
+ var _useRequest55 = useRequest(function () {
1306
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/chargeSummary"), {
1307
+ body: {
1308
+ carId: carId,
1309
+ startDate: startDate,
1310
+ endDate: endDate
1311
+ }
1312
+ });
1313
+ }, {
1314
+ refreshDeps: [carId, startDate, endDate]
1315
+ }),
1316
+ eleSummary = _useRequest55.data,
1317
+ loading = _useRequest55.loading;
1318
+ return {
1319
+ loading: loading,
1320
+ eleSummary: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.data) || []
1321
+ };
1322
+ },
1323
+ useEleRecord: function useEleRecord(carId, startTime, endTime, sorter) {
1324
+ var _useRequest56 = useRequest(function () {
1325
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carCharge/page"), {
1326
+ body: {
1327
+ carId: carId,
1328
+ startTime: startTime,
1329
+ endTime: endTime,
1330
+ sorter: sorter
1331
+ }
1332
+ });
1333
+ }, {
1334
+ refreshDeps: [carId, startTime, endTime, sorter]
1335
+ }),
1336
+ eleRecordSummary = _useRequest56.data,
1337
+ loading = _useRequest56.loading;
1338
+ return {
1339
+ loading: loading,
1340
+ recordRes: (eleRecordSummary === null || eleRecordSummary === void 0 ? void 0 : eleRecordSummary.data) || {}
1341
+ };
1342
+ },
1343
+ useEleTypeSummary: function useEleTypeSummary(carId, startDate, endDate) {
1344
+ var _eleTypeSummary$data;
1345
+ var _useRequest57 = useRequest(function () {
1346
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/chargePeriodSummary"), {
1347
+ body: {
1348
+ carId: carId,
1349
+ startDate: startDate,
1350
+ endDate: endDate
1351
+ }
1352
+ });
1353
+ }, {
1354
+ refreshDeps: [carId, startDate, endDate]
1355
+ }),
1356
+ eleTypeSummary = _useRequest57.data,
1357
+ loading = _useRequest57.loading;
1358
+ return {
1359
+ loading: loading,
1360
+ eleTypeSummary: (eleTypeSummary === null || eleTypeSummary === void 0 || (_eleTypeSummary$data = eleTypeSummary.data) === null || _eleTypeSummary$data === void 0 ? void 0 : _eleTypeSummary$data.map(function (ele) {
1361
+ return _objectSpread(_objectSpread({}, ele), {}, {
1362
+ name: ele.chargePeriodName,
1363
+ value: ele.chargeCount
1364
+ });
1365
+ })) || []
1366
+ };
1367
+ },
1368
+ useOilSummary: function useOilSummary(carId, startDate, endDate) {
1369
+ var _useRequest58 = useRequest(function () {
1370
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/oilSummary"), {
1371
+ body: {
1372
+ carId: carId,
1373
+ startDate: startDate,
1374
+ endDate: endDate
1375
+ }
1376
+ });
1377
+ }, {
1378
+ refreshDeps: [carId, startDate, endDate]
1379
+ }),
1380
+ oilSummary = _useRequest58.data,
1381
+ loading = _useRequest58.loading;
1382
+ return {
1383
+ loading: loading,
1384
+ oilSummary: (oilSummary === null || oilSummary === void 0 ? void 0 : oilSummary.data) || []
1385
+ };
1386
+ },
1387
+ useOilRecord: function useOilRecord(carId, startTime, endTime, sorter) {
1388
+ var _useRequest59 = useRequest(function () {
1389
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carOil/page"), {
1390
+ body: {
1391
+ carId: carId,
1392
+ startTime: startTime,
1393
+ endTime: endTime,
1394
+ sorter: sorter
1395
+ }
1396
+ });
1397
+ }, {
1398
+ refreshDeps: [carId, startTime, endTime, sorter]
1399
+ }),
1400
+ oilRecordSummary = _useRequest59.data,
1401
+ loading = _useRequest59.loading;
1402
+ return {
1403
+ loading: loading,
1404
+ recordRes: (oilRecordSummary === null || oilRecordSummary === void 0 ? void 0 : oilRecordSummary.data) || {}
1405
+ };
1406
+ },
1407
+ useOilTypeSummary: function useOilTypeSummary(carId, startDate, endDate) {
1408
+ var _oilTypeSummary$data;
1409
+ var _useRequest60 = useRequest(function () {
1410
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/oilPeriodSummary"), {
1411
+ body: {
1412
+ carId: carId,
1413
+ startDate: startDate,
1414
+ endDate: endDate
1415
+ }
1416
+ });
1417
+ }, {
1418
+ refreshDeps: [carId, startDate, endDate]
1419
+ }),
1420
+ oilTypeSummary = _useRequest60.data,
1421
+ loading = _useRequest60.loading;
1422
+ return {
1423
+ loading: loading,
1424
+ oilUseTypeSummary: (oilTypeSummary === null || oilTypeSummary === void 0 || (_oilTypeSummary$data = oilTypeSummary.data) === null || _oilTypeSummary$data === void 0 ? void 0 : _oilTypeSummary$data.map(function (ele) {
1425
+ return _objectSpread(_objectSpread({}, ele), {}, {
1426
+ name: ele.oilPeriodName,
1427
+ value: ele.oilCount
1428
+ });
1429
+ })) || []
1430
+ };
1431
+ },
1432
+ // 保险
1433
+ useInsuranceSummary: function useInsuranceSummary(carId, startDate, endDate) {
1434
+ var _useRequest61 = useRequest(function () {
1435
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/insuranceSummary"), {
1436
+ body: {
1437
+ carId: carId,
1438
+ startDate: startDate,
1439
+ endDate: endDate
1440
+ }
1441
+ });
1442
+ }, {
1443
+ refreshDeps: [carId, startDate, endDate]
1444
+ }),
1445
+ insuranceSummary = _useRequest61.data,
1446
+ loading = _useRequest61.loading;
1447
+ return {
1448
+ loading: loading,
1449
+ insuranceSummary: insuranceSummary === null || insuranceSummary === void 0 ? void 0 : insuranceSummary.data
1450
+ };
1451
+ },
1452
+ useCurrentInsurance: function useCurrentInsurance(carId, startDate, endDate) {
1453
+ var _useRequest62 = useRequest(function () {
1454
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/currentInsurance"), {
1455
+ body: {
1456
+ carId: carId,
1457
+ startDate: startDate,
1458
+ endDate: endDate
1459
+ }
1460
+ });
1461
+ }, {
1462
+ refreshDeps: [carId, startDate, endDate]
1463
+ }),
1464
+ currentInsurance = _useRequest62.data,
1465
+ loading = _useRequest62.loading;
1466
+ return {
1467
+ loading: loading,
1468
+ currentInsurance: currentInsurance === null || currentInsurance === void 0 ? void 0 : currentInsurance.data
1469
+ };
1470
+ },
1471
+ // 年检
1472
+ useInspectSummary: function useInspectSummary(carId, startDate, endDate) {
1473
+ var _useRequest63 = useRequest(function () {
1474
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/inspectSummary"), {
1475
+ body: {
1476
+ carId: carId,
1477
+ startDate: startDate,
1478
+ endDate: endDate
1479
+ }
1480
+ });
1481
+ }, {
1482
+ refreshDeps: [carId, startDate, endDate]
1483
+ }),
1484
+ inspectSummary = _useRequest63.data;
1485
+ return {
1486
+ inspectSummary: inspectSummary === null || inspectSummary === void 0 ? void 0 : inspectSummary.data
1487
+ };
1488
+ },
1489
+ useCurrentSummary: function useCurrentSummary(carId, startDate, endDate) {
1490
+ var _useRequest64 = useRequest(function () {
1491
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/currentInspect"), {
1492
+ body: {
1493
+ carId: carId,
1494
+ startDate: startDate,
1495
+ endDate: endDate
1496
+ }
1497
+ });
1498
+ }, {
1499
+ refreshDeps: [carId, startDate, endDate]
1500
+ }),
1501
+ currentInspect = _useRequest64.data;
1502
+ return {
1503
+ currentInspect: currentInspect === null || currentInspect === void 0 ? void 0 : currentInspect.data
1504
+ };
1505
+ },
1506
+ // 维保类型
1507
+ useMaintainTypeSummary: function useMaintainTypeSummary(carId, startDate, endDate) {
1508
+ var _maintainTypeSummary$;
1509
+ var _useRequest65 = useRequest(function () {
1510
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/maintainTypeSummary"), {
1511
+ body: {
1512
+ carId: carId,
1513
+ startDate: startDate,
1514
+ endDate: endDate
1515
+ }
1516
+ });
1517
+ }, {
1518
+ refreshDeps: [carId, startDate, endDate]
1519
+ }),
1520
+ maintainTypeSummary = _useRequest65.data;
1521
+ return {
1522
+ maintainTypeSummary: maintainTypeSummary === null || maintainTypeSummary === void 0 || (_maintainTypeSummary$ = maintainTypeSummary.data) === null || _maintainTypeSummary$ === void 0 ? void 0 : _maintainTypeSummary$.map(function (ele) {
1523
+ return _objectSpread(_objectSpread({}, ele), {}, {
1524
+ name: ele.maintainTypeName,
1525
+ value: ele.maintainMoney
1526
+ });
1527
+ })
1528
+ };
1529
+ },
1530
+ //折旧
1531
+ useDepreciationSummary: function useDepreciationSummary(carId, startDate, endDate) {
1532
+ var _useRequest66 = useRequest(function () {
1533
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/depreciationInfo"), {
1534
+ body: {
1535
+ carId: carId,
1536
+ startDate: startDate,
1537
+ endDate: endDate
1538
+ }
1539
+ });
1540
+ }, {
1541
+ refreshDeps: [carId, startDate, endDate]
1542
+ }),
1543
+ depreciationSummary = _useRequest66.data;
1544
+ return {
1545
+ depreciationSummary: depreciationSummary === null || depreciationSummary === void 0 ? void 0 : depreciationSummary.data
1546
+ };
1547
+ },
1548
+ // 事故
1549
+ useAccidentSummary: function useAccidentSummary(carId, startDate, endDate) {
1550
+ var _useRequest67 = useRequest(function () {
1551
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/accidentSummary"), {
1552
+ body: {
1553
+ carId: carId,
1554
+ startDate: startDate,
1555
+ endDate: endDate
1556
+ }
1557
+ });
1558
+ }, {
1559
+ refreshDeps: [carId, startDate, endDate]
1560
+ }),
1561
+ accidentSummary = _useRequest67.data;
1562
+ return {
1563
+ accidentSummary: accidentSummary === null || accidentSummary === void 0 ? void 0 : accidentSummary.data
1564
+ };
1565
+ },
1566
+ useAccidentTypeSummary: function useAccidentTypeSummary(carId, startDate, endDate) {
1567
+ var _accidentTypeSummary$;
1568
+ var _useRequest68 = useRequest(function () {
1569
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/accidentTypeSummary"), {
1570
+ body: {
1571
+ carId: carId,
1572
+ startDate: startDate,
1573
+ endDate: endDate
1574
+ }
1575
+ });
1576
+ }, {
1577
+ refreshDeps: [carId, startDate, endDate]
1578
+ }),
1579
+ accidentTypeSummary = _useRequest68.data;
1580
+ return {
1581
+ accidentTypeSummary: accidentTypeSummary === null || accidentTypeSummary === void 0 || (_accidentTypeSummary$ = accidentTypeSummary.data) === null || _accidentTypeSummary$ === void 0 ? void 0 : _accidentTypeSummary$.map(function (ele) {
1582
+ return _objectSpread(_objectSpread({}, ele), {}, {
1583
+ name: ele.accidentTypeName,
1584
+ value: ele.accidentCount
1585
+ });
1586
+ })
1587
+ };
1588
+ },
1589
+ // 违章
1590
+ useViolationSummary: function useViolationSummary(carId, startDate, endDate) {
1591
+ var _useRequest69 = useRequest(function () {
1592
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/violationSummary"), {
1593
+ body: {
1594
+ carId: carId,
1595
+ startDate: startDate,
1596
+ endDate: endDate
1597
+ }
1598
+ });
1599
+ }, {
1600
+ refreshDeps: [carId, startDate, endDate]
1601
+ }),
1602
+ violationSummary = _useRequest69.data;
1603
+ return {
1604
+ violationSummary: violationSummary === null || violationSummary === void 0 ? void 0 : violationSummary.data
1605
+ };
1606
+ },
1607
+ useViolationTypeSummary: function useViolationTypeSummary(carId, startDate, endDate) {
1608
+ var _violationTypeSummary;
1609
+ var _useRequest70 = useRequest(function () {
1610
+ return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/violationTypeSummary"), {
1611
+ body: {
1612
+ carId: carId,
1613
+ startDate: startDate,
1614
+ endDate: endDate
1615
+ }
1616
+ });
1617
+ }, {
1618
+ refreshDeps: [carId, startDate, endDate]
1619
+ }),
1620
+ violationTypeSummary = _useRequest70.data;
1621
+ return {
1622
+ violationTypeSummary: violationTypeSummary === null || violationTypeSummary === void 0 || (_violationTypeSummary = violationTypeSummary.data) === null || _violationTypeSummary === void 0 ? void 0 : _violationTypeSummary.map(function (ele) {
1623
+ return _objectSpread(_objectSpread({}, ele), {}, {
1624
+ name: ele.violationType,
1625
+ value: ele.violationCount
1626
+ });
1627
+ })
1628
+ };
1147
1629
  }
1148
1630
  };
1149
1631
 
@@ -1163,12 +1645,12 @@ export var carSYMap = new Map([['matchingMethodStr', '匹配方式'], ['productT
1163
1645
  // 建筑垃圾车辆
1164
1646
  export var JzljService = {
1165
1647
  // 总览其他信息:二维码、生效中处置证、联单、报警
1166
- useZlOtherInfo: function useZlOtherInfo(_ref23) {
1167
- var id = _ref23.id,
1168
- startDate = _ref23.startDate,
1169
- endDate = _ref23.endDate,
1170
- url = _ref23.url;
1171
- var _useRequest49 = useRequest(function () {
1648
+ useZlOtherInfo: function useZlOtherInfo(_ref27) {
1649
+ var id = _ref27.id,
1650
+ startDate = _ref27.startDate,
1651
+ endDate = _ref27.endDate,
1652
+ url = _ref27.url;
1653
+ var _useRequest71 = useRequest(function () {
1172
1654
  return http.get("".concat(prefix, "/cloud/jzlj/web/api/gis/real/time/carBaseInfo"), {
1173
1655
  body: {
1174
1656
  id: id,
@@ -1180,18 +1662,18 @@ export var JzljService = {
1180
1662
  }, {
1181
1663
  refreshDeps: [id, startDate, endDate, url]
1182
1664
  }),
1183
- zlOtherInfoRes = _useRequest49.data;
1665
+ zlOtherInfoRes = _useRequest71.data;
1184
1666
  return {
1185
1667
  zlOtherInfoData: (zlOtherInfoRes === null || zlOtherInfoRes === void 0 ? void 0 : zlOtherInfoRes.data) || {}
1186
1668
  };
1187
1669
  },
1188
1670
  // 运行信息
1189
- useDailyCarRun: function useDailyCarRun(_ref24) {
1671
+ useDailyCarRun: function useDailyCarRun(_ref28) {
1190
1672
  var _dailyCarRunRes$data, _dailyCarRunRes$data2;
1191
- var id = _ref24.id,
1192
- startDate = _ref24.startDate,
1193
- endDate = _ref24.endDate;
1194
- var _useRequest50 = useRequest(function () {
1673
+ var id = _ref28.id,
1674
+ startDate = _ref28.startDate,
1675
+ endDate = _ref28.endDate;
1676
+ var _useRequest72 = useRequest(function () {
1195
1677
  return http.get("".concat(prefix, "/cloud/gps-reborn/report/dailyCarRun/list"), {
1196
1678
  body: {
1197
1679
  carIds: id,
@@ -1202,17 +1684,17 @@ export var JzljService = {
1202
1684
  }, {
1203
1685
  refreshDeps: [id, startDate, endDate]
1204
1686
  }),
1205
- dailyCarRunRes = _useRequest50.data;
1687
+ dailyCarRunRes = _useRequest72.data;
1206
1688
  return {
1207
1689
  dailyCarRunData: dailyCarRunRes !== null && dailyCarRunRes !== void 0 && (_dailyCarRunRes$data = dailyCarRunRes.data) !== null && _dailyCarRunRes$data !== void 0 && _dailyCarRunRes$data.length ? (dailyCarRunRes === null || dailyCarRunRes === void 0 || (_dailyCarRunRes$data2 = dailyCarRunRes.data) === null || _dailyCarRunRes$data2 === void 0 ? void 0 : _dailyCarRunRes$data2[0]) || {} : {}
1208
1690
  };
1209
1691
  },
1210
1692
  // 近7天运行分析
1211
- useYxfx: function useYxfx(_ref25) {
1212
- var id = _ref25.id,
1213
- startDate = _ref25.startDate,
1214
- endDate = _ref25.endDate;
1215
- var _useRequest51 = useRequest(function () {
1693
+ useYxfx: function useYxfx(_ref29) {
1694
+ var id = _ref29.id,
1695
+ startDate = _ref29.startDate,
1696
+ endDate = _ref29.endDate;
1697
+ var _useRequest73 = useRequest(function () {
1216
1698
  return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
1217
1699
  body: {
1218
1700
  id: id,
@@ -1223,19 +1705,19 @@ export var JzljService = {
1223
1705
  }, {
1224
1706
  refreshDeps: [id, startDate, endDate]
1225
1707
  }),
1226
- yxfxRes = _useRequest51.data,
1227
- loading = _useRequest51.loading;
1708
+ yxfxRes = _useRequest73.data,
1709
+ loading = _useRequest73.loading;
1228
1710
  return {
1229
1711
  yxfxData: (yxfxRes === null || yxfxRes === void 0 ? void 0 : yxfxRes.data) || [],
1230
1712
  loading: loading
1231
1713
  };
1232
1714
  },
1233
1715
  // 处置证信息-分页
1234
- czzPage: function czzPage(_ref26) {
1235
- var carCode = _ref26.carCode,
1236
- page = _ref26.page,
1237
- size = _ref26.size,
1238
- restParams = _objectWithoutProperties(_ref26, _excluded);
1716
+ czzPage: function czzPage(_ref30) {
1717
+ var carCode = _ref30.carCode,
1718
+ page = _ref30.page,
1719
+ size = _ref30.size,
1720
+ restParams = _objectWithoutProperties(_ref30, _excluded);
1239
1721
  return http.get("/cloud/jzlj/web/api/disposal/certificate/info/page", {
1240
1722
  body: _objectSpread({
1241
1723
  page: page,
@@ -1245,11 +1727,11 @@ export var JzljService = {
1245
1727
  });
1246
1728
  },
1247
1729
  // 处置证信息-饼图
1248
- czzPie: function czzPie(_ref27) {
1249
- var id = _ref27.id,
1250
- page = _ref27.page,
1251
- size = _ref27.size,
1252
- restParams = _objectWithoutProperties(_ref27, _excluded2);
1730
+ czzPie: function czzPie(_ref31) {
1731
+ var id = _ref31.id,
1732
+ page = _ref31.page,
1733
+ size = _ref31.size,
1734
+ restParams = _objectWithoutProperties(_ref31, _excluded2);
1253
1735
  return http.get("/cloud/jzlj//web/api/gis/real/time/carCzzPieChart", {
1254
1736
  body: _objectSpread({
1255
1737
  page: page,
@@ -1260,7 +1742,7 @@ export var JzljService = {
1260
1742
  },
1261
1743
  // 建筑垃圾枚举
1262
1744
  fetchJzljEnum: function fetchJzljEnum(enumName) {
1263
- var _useRequest52 = useRequest(function () {
1745
+ var _useRequest74 = useRequest(function () {
1264
1746
  return http.get("/cloud/jzlj/common/loadEnumValue", {
1265
1747
  body: {
1266
1748
  enumName: enumName
@@ -1269,31 +1751,31 @@ export var JzljService = {
1269
1751
  }, {
1270
1752
  refreshDeps: [enumName]
1271
1753
  }),
1272
- _useRequest52$data = _useRequest52.data,
1273
- data = _useRequest52$data === void 0 ? {} : _useRequest52$data;
1754
+ _useRequest74$data = _useRequest74.data,
1755
+ data = _useRequest74$data === void 0 ? {} : _useRequest74$data;
1274
1756
  return (data === null || data === void 0 ? void 0 : data.data) || [];
1275
1757
  },
1276
1758
  // 字段配置
1277
1759
  fieldConfig: function fieldConfig() {
1278
- var _useRequest53 = useRequest(function () {
1760
+ var _useRequest75 = useRequest(function () {
1279
1761
  return http.get("/cloud/jzlj/web/field/config/list?ledgerType=CZHZBA", {
1280
1762
  body: {}
1281
1763
  });
1282
1764
  }, {
1283
1765
  refreshDeps: []
1284
1766
  }),
1285
- _useRequest53$data = _useRequest53.data,
1286
- data = _useRequest53$data === void 0 ? {} : _useRequest53$data;
1767
+ _useRequest75$data = _useRequest75.data,
1768
+ data = _useRequest75$data === void 0 ? {} : _useRequest75$data;
1287
1769
  return (data === null || data === void 0 ? void 0 : data.data) || [];
1288
1770
  },
1289
1771
  // 联单-分页
1290
- ldPage: function ldPage(_ref28) {
1291
- var carId = _ref28.carId,
1292
- stepThreeOperateTimeLeft = _ref28.stepThreeOperateTimeLeft,
1293
- stepThreeOperateTimeRight = _ref28.stepThreeOperateTimeRight,
1294
- page = _ref28.page,
1295
- size = _ref28.size,
1296
- restParams = _objectWithoutProperties(_ref28, _excluded3);
1772
+ ldPage: function ldPage(_ref32) {
1773
+ var carId = _ref32.carId,
1774
+ stepThreeOperateTimeLeft = _ref32.stepThreeOperateTimeLeft,
1775
+ stepThreeOperateTimeRight = _ref32.stepThreeOperateTimeRight,
1776
+ page = _ref32.page,
1777
+ size = _ref32.size,
1778
+ restParams = _objectWithoutProperties(_ref32, _excluded3);
1297
1779
  return http.get("/cloud/jzlj/web/api/car/transport/joint/order/record/page", {
1298
1780
  body: _objectSpread({
1299
1781
  page: page,
@@ -1304,10 +1786,10 @@ export var JzljService = {
1304
1786
  }, restParams)
1305
1787
  });
1306
1788
  },
1307
- ldChart: function ldChart(_ref29) {
1308
- var id = _ref29.id,
1309
- startDate = _ref29.startDate,
1310
- endDate = _ref29.endDate;
1789
+ ldChart: function ldChart(_ref33) {
1790
+ var id = _ref33.id,
1791
+ startDate = _ref33.startDate,
1792
+ endDate = _ref33.endDate;
1311
1793
  return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
1312
1794
  body: {
1313
1795
  id: id,
@@ -1317,11 +1799,11 @@ export var JzljService = {
1317
1799
  });
1318
1800
  },
1319
1801
  // 联单-统计
1320
- ldTotal: function ldTotal(_ref30) {
1321
- var carId = _ref30.carId,
1322
- startDate = _ref30.startDate,
1323
- endDate = _ref30.endDate,
1324
- restParams = _objectWithoutProperties(_ref30, _excluded4);
1802
+ ldTotal: function ldTotal(_ref34) {
1803
+ var carId = _ref34.carId,
1804
+ startDate = _ref34.startDate,
1805
+ endDate = _ref34.endDate,
1806
+ restParams = _objectWithoutProperties(_ref34, _excluded4);
1325
1807
  return http.get("/cloud/jzlj/web/api/gis/real/time/jcssJzJointOrderSummaryStatistics", {
1326
1808
  body: _objectSpread({
1327
1809
  carId: carId,
@@ -1330,12 +1812,12 @@ export var JzljService = {
1330
1812
  }, restParams)
1331
1813
  });
1332
1814
  },
1333
- page_tccs: function page_tccs(_ref31) {
1334
- var id = _ref31.id,
1335
- startTime = _ref31.startTime,
1336
- endTime = _ref31.endTime,
1337
- page = _ref31.page,
1338
- size = _ref31.size;
1815
+ page_tccs: function page_tccs(_ref35) {
1816
+ var id = _ref35.id,
1817
+ startTime = _ref35.startTime,
1818
+ endTime = _ref35.endTime,
1819
+ page = _ref35.page,
1820
+ size = _ref35.size;
1339
1821
  return http.get("/cloud/jzlj/web/api/car/parking/timeout/alarm/job/page", {
1340
1822
  body: {
1341
1823
  page: page,
@@ -1346,12 +1828,12 @@ export var JzljService = {
1346
1828
  }
1347
1829
  });
1348
1830
  },
1349
- page_lxpl: function page_lxpl(_ref32) {
1350
- var id = _ref32.id,
1351
- startTime = _ref32.startTime,
1352
- endTime = _ref32.endTime,
1353
- page = _ref32.page,
1354
- size = _ref32.size;
1831
+ page_lxpl: function page_lxpl(_ref36) {
1832
+ var id = _ref36.id,
1833
+ startTime = _ref36.startTime,
1834
+ endTime = _ref36.endTime,
1835
+ page = _ref36.page,
1836
+ size = _ref36.size;
1355
1837
  return http.get("/cloud/jzlj/web/api/car/route/deviation/alarm/job/page", {
1356
1838
  body: {
1357
1839
  page: page,
@@ -1363,11 +1845,11 @@ export var JzljService = {
1363
1845
  });
1364
1846
  },
1365
1847
  // 报警汇总-饼图
1366
- useAlarmSummary: function useAlarmSummary(_ref33) {
1367
- var carId = _ref33.carId,
1368
- startDate = _ref33.startDate,
1369
- endDate = _ref33.endDate;
1370
- var _useRequest54 = useRequest(function () {
1848
+ useAlarmSummary: function useAlarmSummary(_ref37) {
1849
+ var carId = _ref37.carId,
1850
+ startDate = _ref37.startDate,
1851
+ endDate = _ref37.endDate;
1852
+ var _useRequest76 = useRequest(function () {
1371
1853
  return http.get("/cloud/jzlj/web/dz/kanban/carAlarmTypeCountSummaryInfo", {
1372
1854
  body: {
1373
1855
  carId: carId,
@@ -1379,17 +1861,17 @@ export var JzljService = {
1379
1861
  }, {
1380
1862
  refreshDeps: [carId, startDate, endDate]
1381
1863
  }),
1382
- alarmSummaryRes = _useRequest54.data;
1864
+ alarmSummaryRes = _useRequest76.data;
1383
1865
  return {
1384
1866
  alarmSummaryData: (alarmSummaryRes === null || alarmSummaryRes === void 0 ? void 0 : alarmSummaryRes.data) || {}
1385
1867
  };
1386
1868
  },
1387
1869
  // 报警趋势-折线图
1388
- useAlarmTrend: function useAlarmTrend(_ref34) {
1389
- var id = _ref34.id,
1390
- startDate = _ref34.startDate,
1391
- endDate = _ref34.endDate;
1392
- var _useRequest55 = useRequest(function () {
1870
+ useAlarmTrend: function useAlarmTrend(_ref38) {
1871
+ var id = _ref38.id,
1872
+ startDate = _ref38.startDate,
1873
+ endDate = _ref38.endDate;
1874
+ var _useRequest77 = useRequest(function () {
1393
1875
  return http.get("/cloud/jzlj/web/api/gis/real/time/carOrderAlarmAnalyse", {
1394
1876
  body: {
1395
1877
  id: id,
@@ -1400,7 +1882,7 @@ export var JzljService = {
1400
1882
  }, {
1401
1883
  refreshDeps: [id, startDate, endDate]
1402
1884
  }),
1403
- alarmTrendRes = _useRequest55.data;
1885
+ alarmTrendRes = _useRequest77.data;
1404
1886
  return {
1405
1887
  alarmTrendData: (alarmTrendRes === null || alarmTrendRes === void 0 ? void 0 : alarmTrendRes.data) || []
1406
1888
  };
@@ -1409,14 +1891,14 @@ export var JzljService = {
1409
1891
  useUnit: function useUnit() {
1410
1892
  var _data$data3, _unitStr;
1411
1893
  var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
1412
- var _useRequest56 = useRequest(function () {
1894
+ var _useRequest78 = useRequest(function () {
1413
1895
  return http.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
1414
1896
  body: {}
1415
1897
  });
1416
1898
  }, {
1417
1899
  refreshDeps: [groupCode]
1418
1900
  }),
1419
- data = _useRequest56.data;
1901
+ data = _useRequest78.data;
1420
1902
  var obj = {};
1421
1903
  var originalData = data === null || data === void 0 || (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : _data$data3[groupCode];
1422
1904
  for (var group in originalData) {
@@ -1437,7 +1919,7 @@ export var JzljService = {
1437
1919
  },
1438
1920
  // 处置证字段配置
1439
1921
  useCzzFields: function useCzzFields() {
1440
- var _useRequest57 = useRequest(function () {
1922
+ var _useRequest79 = useRequest(function () {
1441
1923
  return http.get("/cloud/jzlj/web/field/config/list", {
1442
1924
  body: {
1443
1925
  ledgerType: 'CZHZBA'
@@ -1446,7 +1928,7 @@ export var JzljService = {
1446
1928
  }, {
1447
1929
  refreshDeps: []
1448
1930
  }),
1449
- res = _useRequest57.data;
1931
+ res = _useRequest79.data;
1450
1932
  var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
1451
1933
  var visibleList = dataList.filter(function (item) {
1452
1934
  var _item$functionKeys;
@@ -1458,7 +1940,7 @@ export var JzljService = {
1458
1940
  },
1459
1941
  // 联单字段配置
1460
1942
  useLdFields: function useLdFields() {
1461
- var _useRequest58 = useRequest(function () {
1943
+ var _useRequest80 = useRequest(function () {
1462
1944
  return http.get("/cloud/jzlj/web/field/config/list", {
1463
1945
  body: {
1464
1946
  ledgerType: 'CLYSLD'
@@ -1467,7 +1949,7 @@ export var JzljService = {
1467
1949
  }, {
1468
1950
  refreshDeps: []
1469
1951
  }),
1470
- res = _useRequest58.data;
1952
+ res = _useRequest80.data;
1471
1953
  var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
1472
1954
  var visibleList = dataList.filter(function (item) {
1473
1955
  var _item$functionKeys2;
@@ -1483,14 +1965,14 @@ export var JzljService = {
1483
1965
  export var useUnit = function useUnit() {
1484
1966
  var _data$data4, _unitStr2;
1485
1967
  var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
1486
- var _useRequest59 = useRequest(function () {
1968
+ var _useRequest81 = useRequest(function () {
1487
1969
  return request.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
1488
1970
  data: {}
1489
1971
  });
1490
1972
  }, {
1491
1973
  refreshDeps: [groupCode]
1492
1974
  }),
1493
- data = _useRequest59.data;
1975
+ data = _useRequest81.data;
1494
1976
  var obj = {};
1495
1977
  var originalData = data === null || data === void 0 || (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : _data$data4[groupCode];
1496
1978
  for (var group in originalData) {