@vtx/modals2 5.0.57 → 5.0.59

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 (77) hide show
  1. package/lib/_components/vm-calendar/index.js +14 -4
  2. package/lib/_components/vm-calendar/style/index.less +4 -1
  3. package/lib/_components/vm-card-statistics/index.less +27 -27
  4. package/lib/_components/vm-custom/index.js +1 -1
  5. package/lib/_components/vm-factor-list/index.less +11 -11
  6. package/lib/_components/vm-filter/index.js +25 -0
  7. package/lib/_components/vm-pie-charts/index.js +14 -4
  8. package/lib/_components/vm-popover/index.less +7 -7
  9. package/lib/_components/vm-progress/index.js +6 -0
  10. package/lib/_components/vm-table/index.js +3 -3
  11. package/lib/_components/vm-table/style/index.less +12 -7
  12. package/lib/_components/vm-video/index.js +6 -1
  13. package/lib/style/index.less +5 -0
  14. package/lib/vtx-area-modal/api.js +2 -0
  15. package/lib/vtx-base-modal/Header/index.less +98 -98
  16. package/lib/vtx-base-modal/index.js +5 -0
  17. package/lib/vtx-car-modal/api.js +179 -74
  18. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  19. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  20. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  21. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +133 -0
  22. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +84 -0
  23. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +71 -0
  24. package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +223 -0
  25. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +549 -0
  26. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.less +6 -0
  27. package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +291 -0
  28. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
  29. package/lib/vtx-car-modal/content/JXH/index.js +9 -1
  30. package/lib/vtx-car-modal/imgs/calendar/auto.png +0 -0
  31. package/lib/vtx-car-modal/imgs/calendar/dark_auto.png +0 -0
  32. package/lib/vtx-car-modal/imgs/calendar/dark_electricity.png +0 -0
  33. package/lib/vtx-car-modal/imgs/calendar/dark_oil.png +0 -0
  34. package/lib/vtx-car-modal/imgs/calendar/dark_transition.png +0 -0
  35. package/lib/vtx-car-modal/imgs/calendar/dark_water.png +0 -0
  36. package/lib/vtx-car-modal/imgs/calendar/dark_yy_mileage.png +0 -0
  37. package/lib/vtx-car-modal/imgs/calendar/electricity.png +0 -0
  38. package/lib/vtx-car-modal/imgs/calendar/oil.png +0 -0
  39. package/lib/vtx-car-modal/imgs/calendar/transition.png +0 -0
  40. package/lib/vtx-car-modal/imgs/calendar/water.png +0 -0
  41. package/lib/vtx-car-modal/imgs/calendar/yy_mileage.png +0 -0
  42. package/lib/vtx-car-modal/index.js +9 -1
  43. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  44. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -0
  45. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  46. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +2 -0
  47. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +2 -0
  48. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -0
  49. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  50. package/lib/vtx-restaurant-modal/config.js +52 -52
  51. package/lib/vtx-road-modal/api.js +348 -11
  52. package/lib/vtx-road-modal/components/BaseInfo/Work.js +11 -5
  53. package/lib/vtx-road-modal/components/BaseInfo/index.js +6 -5
  54. package/lib/vtx-road-modal/components/LaneBaseInfo/Rules.js +63 -0
  55. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +434 -0
  56. package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +80 -0
  57. package/lib/vtx-road-modal/components/LaneBaseInfo/index.less +127 -0
  58. package/lib/vtx-road-modal/components/LaneCalendar/index.js +194 -0
  59. package/lib/vtx-road-modal/components/LaneStatistical/index.js +312 -0
  60. package/lib/vtx-road-modal/components/LaneStatistical/index.less +32 -0
  61. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  62. package/lib/vtx-road-modal/components/index.js +4 -1
  63. package/lib/vtx-road-modal/imgs/car.png +0 -0
  64. package/lib/vtx-road-modal/imgs/dark_car.png +0 -0
  65. package/lib/vtx-road-modal/imgs/dark_person.png +0 -0
  66. package/lib/vtx-road-modal/imgs/person.png +0 -0
  67. package/lib/vtx-road-modal/imgs/schedule.png +0 -0
  68. package/lib/vtx-road-modal/imgs/work.png +0 -0
  69. package/lib/vtx-road-modal/imgs//344/274/230.png +0 -0
  70. package/lib/vtx-road-modal/imgs//345/267/256.png +0 -0
  71. package/lib/vtx-road-modal/imgs//350/211/257.png +0 -0
  72. package/lib/vtx-road-modal/index.js +18 -13
  73. package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +2 -0
  74. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +2 -0
  75. package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +2 -0
  76. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +2 -2
  77. package/package.json +81 -81
@@ -618,12 +618,117 @@ export var JxhService = {
618
618
  };
619
619
  }
620
620
  };
621
+ export var Hw2Service = {
622
+ useWorkCalendar: function useWorkCalendar(carId, startDate, endDate) {
623
+ //作业情况
624
+ var _useRequest26 = useRequest(function () {
625
+ return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/hwv2/popup/car/work/calendar"), {
626
+ body: {
627
+ id: carId,
628
+ startDate: startDate,
629
+ endDate: endDate
630
+ }
631
+ });
632
+ }, {
633
+ refreshDeps: [carId, startDate, endDate]
634
+ }),
635
+ workCalendarRes = _useRequest26.data,
636
+ loading = _useRequest26.loading;
637
+ return {
638
+ workCalendar: (workCalendarRes === null || workCalendarRes === void 0 ? void 0 : workCalendarRes.data) || [],
639
+ loading: loading
640
+ };
641
+ },
642
+ useWorkInfo: function useWorkInfo(carId, date) {
643
+ //作业情况
644
+ var _useRequest27 = useRequest(function () {
645
+ return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/hwv2/popup/car/work/info"), {
646
+ body: {
647
+ id: carId,
648
+ date: date
649
+ }
650
+ });
651
+ }, {
652
+ refreshDeps: [carId, date]
653
+ }),
654
+ workInfoRes = _useRequest27.data,
655
+ loading = _useRequest27.loading;
656
+ return {
657
+ workInfo: (workInfoRes === null || workInfoRes === void 0 ? void 0 : workInfoRes.data) || {},
658
+ loading: loading
659
+ };
660
+ },
661
+ useJXHAlarmList: function useJXHAlarmList(carIds, startDate, endDate, page, sort) {
662
+ var _useRequest28 = useRequest(function () {
663
+ return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/hwv2/alarm/page"), {
664
+ body: {
665
+ carIds: carIds,
666
+ startDate: startDate,
667
+ endDate: endDate,
668
+ categoryCode: 'Alarm',
669
+ coordType: 'bd09',
670
+ pageNo: page,
671
+ pageSize: 10,
672
+ sort: sort
673
+ }
674
+ });
675
+ }, {
676
+ refreshDeps: [carIds, startDate, endDate, sort, page]
677
+ }),
678
+ alarmRecordRes = _useRequest28.data,
679
+ loading = _useRequest28.loading;
680
+ return {
681
+ alarmRecord: (alarmRecordRes === null || alarmRecordRes === void 0 ? void 0 : alarmRecordRes.data) || {},
682
+ loading: loading
683
+ };
684
+ },
685
+ useAlarmSummary: function useAlarmSummary(carId, startDate, endDate) {
686
+ //报警情况
687
+ var _useRequest29 = useRequest(function () {
688
+ return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/hwv2/popup/car/alarm/summary"), {
689
+ body: {
690
+ id: carId,
691
+ startDate: startDate,
692
+ endDate: endDate
693
+ }
694
+ });
695
+ }, {
696
+ refreshDeps: [carId, startDate, endDate]
697
+ }),
698
+ alarmSummaryRes = _useRequest29.data,
699
+ loading = _useRequest29.loading;
700
+ return {
701
+ alarmSummary: (alarmSummaryRes === null || alarmSummaryRes === void 0 ? void 0 : alarmSummaryRes.data) || {},
702
+ loading: loading
703
+ };
704
+ },
705
+ useWorkRecord: function useWorkRecord(carId, startDate, endDate) {
706
+ //作业情况
707
+ var _useRequest30 = useRequest(function () {
708
+ return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/hwv2/popup/car/work/record"), {
709
+ body: {
710
+ id: carId,
711
+ startDate: startDate,
712
+ endDate: endDate
713
+ }
714
+ });
715
+ }, {
716
+ refreshDeps: [carId, startDate, endDate]
717
+ }),
718
+ workRecordRes = _useRequest30.data,
719
+ loading = _useRequest30.loading;
720
+ return {
721
+ workRecord: (workRecordRes === null || workRecordRes === void 0 ? void 0 : workRecordRes.data) || {},
722
+ loading: loading
723
+ };
724
+ }
725
+ };
621
726
  export var LjsyService = {
622
727
  useConfig: function useConfig() {
623
- var _useRequest26 = useRequest(function () {
728
+ var _useRequest31 = useRequest(function () {
624
729
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/param/config/webList"));
625
730
  }),
626
- config = _useRequest26.data;
731
+ config = _useRequest31.data;
627
732
  var paramConfigsList = {};
628
733
  if (config !== null && config !== void 0 && config.data) {
629
734
  var _config$data;
@@ -634,7 +739,7 @@ export var LjsyService = {
634
739
  return paramConfigsList;
635
740
  },
636
741
  useSYCarInfo: function useSYCarInfo(id, date) {
637
- var _useRequest27 = useRequest(function () {
742
+ var _useRequest32 = useRequest(function () {
638
743
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/gis/map/car/info"), {
639
744
  body: {
640
745
  carId: id,
@@ -644,8 +749,8 @@ export var LjsyService = {
644
749
  }, {
645
750
  refreshDeps: [id, date]
646
751
  }),
647
- syInfoRes = _useRequest27.data,
648
- loading = _useRequest27.loading;
752
+ syInfoRes = _useRequest32.data,
753
+ loading = _useRequest32.loading;
649
754
  return {
650
755
  syInfo: syInfoRes === null || syInfoRes === void 0 ? void 0 : syInfoRes.data,
651
756
  loading: loading
@@ -655,7 +760,7 @@ export var LjsyService = {
655
760
  var carId = _ref12.carId,
656
761
  startDate = _ref12.startDate,
657
762
  endDate = _ref12.endDate;
658
- var _useRequest28 = useRequest(function () {
763
+ var _useRequest33 = useRequest(function () {
659
764
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoByCarIdDate"), {
660
765
  body: {
661
766
  carId: carId,
@@ -666,8 +771,8 @@ export var LjsyService = {
666
771
  }, {
667
772
  refreshDeps: [carId, startDate, endDate]
668
773
  }),
669
- data = _useRequest28.data,
670
- loading = _useRequest28.loading;
774
+ data = _useRequest33.data,
775
+ loading = _useRequest33.loading;
671
776
  return {
672
777
  taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
673
778
  loading: loading
@@ -679,7 +784,7 @@ export var LjsyService = {
679
784
  endDate = _ref13.endDate,
680
785
  page = _ref13.page,
681
786
  sort = _ref13.sort;
682
- var _useRequest29 = useRequest(function () {
787
+ var _useRequest34 = useRequest(function () {
683
788
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmDetailByCarId"), {
684
789
  body: {
685
790
  carId: carId,
@@ -694,8 +799,8 @@ export var LjsyService = {
694
799
  ready: !!carId,
695
800
  refreshDeps: [carId, startDate, endDate, page, sort]
696
801
  }),
697
- recordRes = _useRequest29.data,
698
- loading = _useRequest29.loading;
802
+ recordRes = _useRequest34.data,
803
+ loading = _useRequest34.loading;
699
804
  return {
700
805
  alarmRecord: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {},
701
806
  loading: loading
@@ -705,7 +810,7 @@ export var LjsyService = {
705
810
  var carId = _ref14.carId,
706
811
  startDate = _ref14.startDate,
707
812
  endDate = _ref14.endDate;
708
- var _useRequest30 = useRequest(function () {
813
+ var _useRequest35 = useRequest(function () {
709
814
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoAnalysisByCarId"), {
710
815
  body: {
711
816
  carId: carId,
@@ -716,8 +821,8 @@ export var LjsyService = {
716
821
  }, {
717
822
  refreshDeps: [carId, startDate, endDate]
718
823
  }),
719
- data = _useRequest30.data,
720
- loading = _useRequest30.loading;
824
+ data = _useRequest35.data,
825
+ loading = _useRequest35.loading;
721
826
  return {
722
827
  workInfoAnalysis: (data === null || data === void 0 ? void 0 : data.data) || {},
723
828
  loading: loading
@@ -727,7 +832,7 @@ export var LjsyService = {
727
832
  var carId = _ref15.carId,
728
833
  startDate = _ref15.startDate,
729
834
  endDate = _ref15.endDate;
730
- var _useRequest31 = useRequest(function () {
835
+ var _useRequest36 = useRequest(function () {
731
836
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmInfoByCarId"), {
732
837
  body: {
733
838
  carId: carId,
@@ -738,8 +843,8 @@ export var LjsyService = {
738
843
  }, {
739
844
  refreshDeps: [carId, startDate, endDate]
740
845
  }),
741
- data = _useRequest31.data,
742
- loading = _useRequest31.loading;
846
+ data = _useRequest36.data,
847
+ loading = _useRequest36.loading;
743
848
  return {
744
849
  alarmInfo: (data === null || data === void 0 ? void 0 : data.data) || [],
745
850
  loading: loading
@@ -749,7 +854,7 @@ export var LjsyService = {
749
854
  var carId = _ref16.carId,
750
855
  startDate = _ref16.startDate,
751
856
  endDate = _ref16.endDate;
752
- var _useRequest32 = useRequest(function () {
857
+ var _useRequest37 = useRequest(function () {
753
858
  return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmInfoAnalysisByCarId"), {
754
859
  body: {
755
860
  carId: carId,
@@ -760,8 +865,8 @@ export var LjsyService = {
760
865
  }, {
761
866
  refreshDeps: [carId, startDate, endDate]
762
867
  }),
763
- data = _useRequest32.data,
764
- loading = _useRequest32.loading;
868
+ data = _useRequest37.data,
869
+ loading = _useRequest37.loading;
765
870
  return {
766
871
  alarmInfoAnalysis: (data === null || data === void 0 ? void 0 : data.data) || {},
767
872
  loading: loading
@@ -773,7 +878,7 @@ export var LjsyService = {
773
878
  endDate = _ref17.endDate,
774
879
  page = _ref17.page,
775
880
  sort = _ref17.sort;
776
- var _useRequest33 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
881
+ var _useRequest38 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
777
882
  var res;
778
883
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
779
884
  while (1) switch (_context8.prev = _context8.next) {
@@ -801,8 +906,8 @@ export var LjsyService = {
801
906
  refreshDeps: [carId, startDate, endDate, page, sort],
802
907
  ready: !!carId
803
908
  }),
804
- _useRequest33$data = _useRequest33.data,
805
- data = _useRequest33$data === void 0 ? {} : _useRequest33$data;
909
+ _useRequest38$data = _useRequest38.data,
910
+ data = _useRequest38$data === void 0 ? {} : _useRequest38$data;
806
911
  return {
807
912
  workDetailData: data
808
913
  };
@@ -813,7 +918,7 @@ export var LjzyService = {
813
918
  var carCode = _ref19.carCode,
814
919
  startDate = _ref19.startDate,
815
920
  endDate = _ref19.endDate;
816
- var _useRequest34 = useRequest(function () {
921
+ var _useRequest39 = useRequest(function () {
817
922
  return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDate.smvc"), {
818
923
  body: {
819
924
  carCode: carCode,
@@ -825,8 +930,8 @@ export var LjzyService = {
825
930
  refreshDeps: [carCode, startDate, endDate],
826
931
  ready: !!carCode
827
932
  }),
828
- data = _useRequest34.data,
829
- loading = _useRequest34.loading;
933
+ data = _useRequest39.data,
934
+ loading = _useRequest39.loading;
830
935
  return {
831
936
  taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
832
937
  loading: loading
@@ -836,7 +941,7 @@ export var LjzyService = {
836
941
  var carCode = _ref20.carCode,
837
942
  startDate = _ref20.startDate,
838
943
  endDate = _ref20.endDate;
839
- var _useRequest35 = useRequest(function () {
944
+ var _useRequest40 = useRequest(function () {
840
945
  return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDateAndDisposeUnit.smvc"), {
841
946
  body: {
842
947
  carCode: carCode,
@@ -848,8 +953,8 @@ export var LjzyService = {
848
953
  refreshDeps: [carCode, startDate, endDate],
849
954
  ready: !!carCode
850
955
  }),
851
- data = _useRequest35.data,
852
- loading = _useRequest35.loading;
956
+ data = _useRequest40.data,
957
+ loading = _useRequest40.loading;
853
958
  return {
854
959
  taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
855
960
  loading: loading
@@ -862,7 +967,7 @@ export var LjzyService = {
862
967
  page = _ref21.page,
863
968
  sort = _ref21.sort,
864
969
  order = _ref21.order;
865
- var _useRequest36 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
970
+ var _useRequest41 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
866
971
  var res;
867
972
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
868
973
  while (1) switch (_context9.prev = _context9.next) {
@@ -891,9 +996,9 @@ export var LjzyService = {
891
996
  refreshDeps: [carNo, startTime, endTime, page, sort, order],
892
997
  ready: !!carNo
893
998
  }),
894
- _useRequest36$data = _useRequest36.data,
895
- data = _useRequest36$data === void 0 ? {} : _useRequest36$data,
896
- loading = _useRequest36.loading;
999
+ _useRequest41$data = _useRequest41.data,
1000
+ data = _useRequest41$data === void 0 ? {} : _useRequest41$data,
1001
+ loading = _useRequest41.loading;
897
1002
  return {
898
1003
  workDetailData: data,
899
1004
  loading: loading
@@ -905,7 +1010,7 @@ export var LjzyService = {
905
1010
  export var OilService = {
906
1011
  useHasOil: function useHasOil(carId) {
907
1012
  var _data$data2;
908
- var _useRequest37 = useRequest(function () {
1013
+ var _useRequest42 = useRequest(function () {
909
1014
  return http.get("".concat(prefix, "/cloud/gps-reborn/car/config/getById"), {
910
1015
  body: {
911
1016
  id: carId
@@ -914,13 +1019,13 @@ export var OilService = {
914
1019
  }, {
915
1020
  refreshDeps: [carId]
916
1021
  }),
917
- data = _useRequest37.data;
1022
+ data = _useRequest42.data;
918
1023
  return {
919
1024
  beenOilStatus: data === null || data === void 0 || (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : _data$data2.beenOilStatus
920
1025
  };
921
1026
  },
922
1027
  useOilLine: function useOilLine(carId, startTime, endTime) {
923
- var _useRequest38 = useRequest(function () {
1028
+ var _useRequest43 = useRequest(function () {
924
1029
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/oilLine.smvc"), {
925
1030
  body: {
926
1031
  carId: carId,
@@ -932,15 +1037,15 @@ export var OilService = {
932
1037
  }, {
933
1038
  refreshDeps: [carId, startTime, endTime]
934
1039
  }),
935
- oilLineRes = _useRequest38.data,
936
- loading = _useRequest38.loading;
1040
+ oilLineRes = _useRequest43.data,
1041
+ loading = _useRequest43.loading;
937
1042
  return {
938
1043
  oilLineRes: (oilLineRes === null || oilLineRes === void 0 ? void 0 : oilLineRes.data) || [],
939
1044
  loading: loading
940
1045
  };
941
1046
  },
942
1047
  useSummary: function useSummary(carId, startTime, endTime) {
943
- var _useRequest39 = useRequest(function () {
1048
+ var _useRequest44 = useRequest(function () {
944
1049
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/summary.smvc"), {
945
1050
  body: {
946
1051
  carId: carId,
@@ -952,13 +1057,13 @@ export var OilService = {
952
1057
  }, {
953
1058
  refreshDeps: [carId, startTime, endTime]
954
1059
  }),
955
- summaryRes = _useRequest39.data;
1060
+ summaryRes = _useRequest44.data;
956
1061
  return {
957
1062
  summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
958
1063
  };
959
1064
  },
960
1065
  useRecord: function useRecord(carId, startTime, endTime, page, sort) {
961
- var _useRequest40 = useRequest(function () {
1066
+ var _useRequest45 = useRequest(function () {
962
1067
  return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/simplePage.smvc"), {
963
1068
  body: {
964
1069
  carId: carId,
@@ -974,7 +1079,7 @@ export var OilService = {
974
1079
  }, {
975
1080
  refreshDeps: [carId, startTime, endTime, page, sort]
976
1081
  }),
977
- recordRes = _useRequest40.data;
1082
+ recordRes = _useRequest45.data;
978
1083
  return {
979
1084
  recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
980
1085
  };
@@ -984,7 +1089,7 @@ export var OilService = {
984
1089
  //水耗
985
1090
  export var WaterService = {
986
1091
  useSummary: function useSummary(carId, startTime, endTime) {
987
- var _useRequest41 = useRequest(function () {
1092
+ var _useRequest46 = useRequest(function () {
988
1093
  return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/summary"), {
989
1094
  body: {
990
1095
  hasWaterStatus: true,
@@ -996,13 +1101,13 @@ export var WaterService = {
996
1101
  }, {
997
1102
  refreshDeps: [carId, startTime, endTime]
998
1103
  }),
999
- summaryRes = _useRequest41.data;
1104
+ summaryRes = _useRequest46.data;
1000
1105
  return {
1001
1106
  summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
1002
1107
  };
1003
1108
  },
1004
1109
  useRecord: function useRecord(carId, startDate, endDate) {
1005
- var _useRequest42 = useRequest(function () {
1110
+ var _useRequest47 = useRequest(function () {
1006
1111
  return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/queryList"), {
1007
1112
  body: {
1008
1113
  hasWaterStatus: true,
@@ -1014,8 +1119,8 @@ export var WaterService = {
1014
1119
  }, {
1015
1120
  refreshDeps: [carId, startDate, endDate]
1016
1121
  }),
1017
- recordRes = _useRequest42.data,
1018
- loading = _useRequest42.loading;
1122
+ recordRes = _useRequest47.data,
1123
+ loading = _useRequest47.loading;
1019
1124
  return {
1020
1125
  recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || [],
1021
1126
  loading: loading
@@ -1026,7 +1131,7 @@ export var WaterService = {
1026
1131
  // 维保
1027
1132
  export var MaintenanceService = {
1028
1133
  useMaintenance: function useMaintenance(carId) {
1029
- var _useRequest43 = useRequest(function () {
1134
+ var _useRequest48 = useRequest(function () {
1030
1135
  return http.get("".concat(prefix, "/cloud/clwb/api/v101/carComprehensiveBoard/carWbAnalyse"), {
1031
1136
  body: {
1032
1137
  carId: carId
@@ -1035,7 +1140,7 @@ export var MaintenanceService = {
1035
1140
  }, {
1036
1141
  refreshDeps: [carId]
1037
1142
  }),
1038
- maintenanceRes = _useRequest43.data;
1143
+ maintenanceRes = _useRequest48.data;
1039
1144
  return {
1040
1145
  maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
1041
1146
  };
@@ -1063,7 +1168,7 @@ export var JzljService = {
1063
1168
  startDate = _ref23.startDate,
1064
1169
  endDate = _ref23.endDate,
1065
1170
  url = _ref23.url;
1066
- var _useRequest44 = useRequest(function () {
1171
+ var _useRequest49 = useRequest(function () {
1067
1172
  return http.get("".concat(prefix, "/cloud/jzlj/web/api/gis/real/time/carBaseInfo"), {
1068
1173
  body: {
1069
1174
  id: id,
@@ -1075,7 +1180,7 @@ export var JzljService = {
1075
1180
  }, {
1076
1181
  refreshDeps: [id, startDate, endDate, url]
1077
1182
  }),
1078
- zlOtherInfoRes = _useRequest44.data;
1183
+ zlOtherInfoRes = _useRequest49.data;
1079
1184
  return {
1080
1185
  zlOtherInfoData: (zlOtherInfoRes === null || zlOtherInfoRes === void 0 ? void 0 : zlOtherInfoRes.data) || {}
1081
1186
  };
@@ -1086,7 +1191,7 @@ export var JzljService = {
1086
1191
  var id = _ref24.id,
1087
1192
  startDate = _ref24.startDate,
1088
1193
  endDate = _ref24.endDate;
1089
- var _useRequest45 = useRequest(function () {
1194
+ var _useRequest50 = useRequest(function () {
1090
1195
  return http.get("".concat(prefix, "/cloud/gps-reborn/report/dailyCarRun/list"), {
1091
1196
  body: {
1092
1197
  carIds: id,
@@ -1097,7 +1202,7 @@ export var JzljService = {
1097
1202
  }, {
1098
1203
  refreshDeps: [id, startDate, endDate]
1099
1204
  }),
1100
- dailyCarRunRes = _useRequest45.data;
1205
+ dailyCarRunRes = _useRequest50.data;
1101
1206
  return {
1102
1207
  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]) || {} : {}
1103
1208
  };
@@ -1107,7 +1212,7 @@ export var JzljService = {
1107
1212
  var id = _ref25.id,
1108
1213
  startDate = _ref25.startDate,
1109
1214
  endDate = _ref25.endDate;
1110
- var _useRequest46 = useRequest(function () {
1215
+ var _useRequest51 = useRequest(function () {
1111
1216
  return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
1112
1217
  body: {
1113
1218
  id: id,
@@ -1118,8 +1223,8 @@ export var JzljService = {
1118
1223
  }, {
1119
1224
  refreshDeps: [id, startDate, endDate]
1120
1225
  }),
1121
- yxfxRes = _useRequest46.data,
1122
- loading = _useRequest46.loading;
1226
+ yxfxRes = _useRequest51.data,
1227
+ loading = _useRequest51.loading;
1123
1228
  return {
1124
1229
  yxfxData: (yxfxRes === null || yxfxRes === void 0 ? void 0 : yxfxRes.data) || [],
1125
1230
  loading: loading
@@ -1155,7 +1260,7 @@ export var JzljService = {
1155
1260
  },
1156
1261
  // 建筑垃圾枚举
1157
1262
  fetchJzljEnum: function fetchJzljEnum(enumName) {
1158
- var _useRequest47 = useRequest(function () {
1263
+ var _useRequest52 = useRequest(function () {
1159
1264
  return http.get("/cloud/jzlj/common/loadEnumValue", {
1160
1265
  body: {
1161
1266
  enumName: enumName
@@ -1164,21 +1269,21 @@ export var JzljService = {
1164
1269
  }, {
1165
1270
  refreshDeps: [enumName]
1166
1271
  }),
1167
- _useRequest47$data = _useRequest47.data,
1168
- data = _useRequest47$data === void 0 ? {} : _useRequest47$data;
1272
+ _useRequest52$data = _useRequest52.data,
1273
+ data = _useRequest52$data === void 0 ? {} : _useRequest52$data;
1169
1274
  return (data === null || data === void 0 ? void 0 : data.data) || [];
1170
1275
  },
1171
1276
  // 字段配置
1172
1277
  fieldConfig: function fieldConfig() {
1173
- var _useRequest48 = useRequest(function () {
1278
+ var _useRequest53 = useRequest(function () {
1174
1279
  return http.get("/cloud/jzlj/web/field/config/list?ledgerType=CZHZBA", {
1175
1280
  body: {}
1176
1281
  });
1177
1282
  }, {
1178
1283
  refreshDeps: []
1179
1284
  }),
1180
- _useRequest48$data = _useRequest48.data,
1181
- data = _useRequest48$data === void 0 ? {} : _useRequest48$data;
1285
+ _useRequest53$data = _useRequest53.data,
1286
+ data = _useRequest53$data === void 0 ? {} : _useRequest53$data;
1182
1287
  return (data === null || data === void 0 ? void 0 : data.data) || [];
1183
1288
  },
1184
1289
  // 联单-分页
@@ -1262,7 +1367,7 @@ export var JzljService = {
1262
1367
  var carId = _ref33.carId,
1263
1368
  startDate = _ref33.startDate,
1264
1369
  endDate = _ref33.endDate;
1265
- var _useRequest49 = useRequest(function () {
1370
+ var _useRequest54 = useRequest(function () {
1266
1371
  return http.get("/cloud/jzlj/web/dz/kanban/carAlarmTypeCountSummaryInfo", {
1267
1372
  body: {
1268
1373
  carId: carId,
@@ -1274,7 +1379,7 @@ export var JzljService = {
1274
1379
  }, {
1275
1380
  refreshDeps: [carId, startDate, endDate]
1276
1381
  }),
1277
- alarmSummaryRes = _useRequest49.data;
1382
+ alarmSummaryRes = _useRequest54.data;
1278
1383
  return {
1279
1384
  alarmSummaryData: (alarmSummaryRes === null || alarmSummaryRes === void 0 ? void 0 : alarmSummaryRes.data) || {}
1280
1385
  };
@@ -1284,7 +1389,7 @@ export var JzljService = {
1284
1389
  var id = _ref34.id,
1285
1390
  startDate = _ref34.startDate,
1286
1391
  endDate = _ref34.endDate;
1287
- var _useRequest50 = useRequest(function () {
1392
+ var _useRequest55 = useRequest(function () {
1288
1393
  return http.get("/cloud/jzlj/web/api/gis/real/time/carOrderAlarmAnalyse", {
1289
1394
  body: {
1290
1395
  id: id,
@@ -1295,7 +1400,7 @@ export var JzljService = {
1295
1400
  }, {
1296
1401
  refreshDeps: [id, startDate, endDate]
1297
1402
  }),
1298
- alarmTrendRes = _useRequest50.data;
1403
+ alarmTrendRes = _useRequest55.data;
1299
1404
  return {
1300
1405
  alarmTrendData: (alarmTrendRes === null || alarmTrendRes === void 0 ? void 0 : alarmTrendRes.data) || []
1301
1406
  };
@@ -1304,14 +1409,14 @@ export var JzljService = {
1304
1409
  useUnit: function useUnit() {
1305
1410
  var _data$data3, _unitStr;
1306
1411
  var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
1307
- var _useRequest51 = useRequest(function () {
1412
+ var _useRequest56 = useRequest(function () {
1308
1413
  return http.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
1309
1414
  body: {}
1310
1415
  });
1311
1416
  }, {
1312
1417
  refreshDeps: [groupCode]
1313
1418
  }),
1314
- data = _useRequest51.data;
1419
+ data = _useRequest56.data;
1315
1420
  var obj = {};
1316
1421
  var originalData = data === null || data === void 0 || (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : _data$data3[groupCode];
1317
1422
  for (var group in originalData) {
@@ -1332,7 +1437,7 @@ export var JzljService = {
1332
1437
  },
1333
1438
  // 处置证字段配置
1334
1439
  useCzzFields: function useCzzFields() {
1335
- var _useRequest52 = useRequest(function () {
1440
+ var _useRequest57 = useRequest(function () {
1336
1441
  return http.get("/cloud/jzlj/web/field/config/list", {
1337
1442
  body: {
1338
1443
  ledgerType: 'CZHZBA'
@@ -1341,7 +1446,7 @@ export var JzljService = {
1341
1446
  }, {
1342
1447
  refreshDeps: []
1343
1448
  }),
1344
- res = _useRequest52.data;
1449
+ res = _useRequest57.data;
1345
1450
  var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
1346
1451
  var visibleList = dataList.filter(function (item) {
1347
1452
  var _item$functionKeys;
@@ -1353,7 +1458,7 @@ export var JzljService = {
1353
1458
  },
1354
1459
  // 联单字段配置
1355
1460
  useLdFields: function useLdFields() {
1356
- var _useRequest53 = useRequest(function () {
1461
+ var _useRequest58 = useRequest(function () {
1357
1462
  return http.get("/cloud/jzlj/web/field/config/list", {
1358
1463
  body: {
1359
1464
  ledgerType: 'CLYSLD'
@@ -1362,7 +1467,7 @@ export var JzljService = {
1362
1467
  }, {
1363
1468
  refreshDeps: []
1364
1469
  }),
1365
- res = _useRequest53.data;
1470
+ res = _useRequest58.data;
1366
1471
  var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
1367
1472
  var visibleList = dataList.filter(function (item) {
1368
1473
  var _item$functionKeys2;
@@ -1378,14 +1483,14 @@ export var JzljService = {
1378
1483
  export var useUnit = function useUnit() {
1379
1484
  var _data$data4, _unitStr2;
1380
1485
  var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
1381
- var _useRequest54 = useRequest(function () {
1486
+ var _useRequest59 = useRequest(function () {
1382
1487
  return request.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
1383
1488
  data: {}
1384
1489
  });
1385
1490
  }, {
1386
1491
  refreshDeps: [groupCode]
1387
1492
  }),
1388
- data = _useRequest54.data;
1493
+ data = _useRequest59.data;
1389
1494
  var obj = {};
1390
1495
  var originalData = data === null || data === void 0 || (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : _data$data4[groupCode];
1391
1496
  for (var group in originalData) {
@@ -1,6 +1,6 @@
1
- .vm-car-map-wrap {
2
- flex: 1;
3
- min-height: 0;
4
- width: 100%;
5
- margin-top: 10px;
6
- }
1
+ .vm-car-map-wrap {
2
+ flex: 1;
3
+ min-height: 0;
4
+ width: 100%;
5
+ margin-top: 10px;
6
+ }
@@ -1,6 +1,6 @@
1
- .vtx-car-oil-wrap {
2
- height: 100%;
3
- display: flex;
4
- gap: 16px;
5
- flex-direction: column;
6
- }
1
+ .vtx-car-oil-wrap {
2
+ height: 100%;
3
+ display: flex;
4
+ gap: 16px;
5
+ flex-direction: column;
6
+ }
@@ -1,6 +1,6 @@
1
- .vtx-car-water-wrap {
2
- height: 100%;
3
- display: flex;
4
- gap: 16px;
5
- flex-direction: column;
6
- }
1
+ .vtx-car-water-wrap {
2
+ height: 100%;
3
+ display: flex;
4
+ gap: 16px;
5
+ flex-direction: column;
6
+ }