@vtx/modals2 2.15.68 → 2.15.69
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.
- package/lib/typings.d.ts +18 -18
- package/lib/vm-alarm-info/Components/AlarmRecord.js +1 -2
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +1 -2
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +8 -9
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +1 -2
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +1 -2
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/index.js +1 -2
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +1 -2
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +1 -2
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +26 -27
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +1 -2
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +1 -2
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +1 -2
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-base-list/index.js +1 -2
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-card/style/index.less +25 -25
- package/lib/vm-charts/Line.js +1 -2
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Pie.js +1 -2
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +23 -24
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-filter/index.js +1 -2
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/index.less +293 -293
- package/lib/vm-map/index.js +1 -2
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +35 -36
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-round-content/index.js +1 -2
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-select-device/index.js +1 -2
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.less +182 -182
- package/lib/vm-table/index.js +1 -2
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/index.less +315 -315
- package/lib/vtx-area-modal/api.js +22 -22
- package/lib/vtx-area-modal/api.js.map +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -2
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -2
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js.map +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-area-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-base-info/index.js +1 -2
- package/lib/vtx-base-info/index.js.map +1 -1
- package/lib/vtx-base-modal/index.js +10 -11
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/api.js +84 -93
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +1 -2
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +2 -3
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +1 -2
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -2
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +1 -2
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/ZyfxCC.js +1 -2
- package/lib/vtx-car-modal/components/QdBaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/QdBaseInfo/index.js +1 -2
- package/lib/vtx-car-modal/components/QdBaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +1 -2
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -2
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +1 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Zylc.js +1 -2
- package/lib/vtx-car-modal/components/WorkInfo/Zylc.js.map +1 -1
- package/lib/vtx-car-modal/index.js +1 -2
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/api.js +54 -63
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +1 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +1 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +91 -91
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +56 -56
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +1 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +1 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +1 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js +1 -2
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/QdBaseInfo/index.less +10 -10
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -3
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -2
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -2
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/index.js +1 -2
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/api.js +48 -66
- package/lib/vtx-cc-unit-modal/api.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/QdBase/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/index.less +20 -20
- package/lib/vtx-cc-unit-modal/components/QdCollection/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/QdCollection/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdDetailInfo/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/QdDetailInfo/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdFactory/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/QdFactory/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/index.js +1 -2
- package/lib/vtx-cc-unit-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/api.js +16 -16
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +1 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -2
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -2
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js +1 -2
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/api.js +12 -12
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/index.js +1 -2
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/api.js +80 -98
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js +1 -2
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.less +45 -45
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js +1 -2
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +1 -2
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +46 -46
- package/lib/vtx-device-modal/index.js +1 -2
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/index.less +1 -1
- package/lib/vtx-df-modal/api.js +10 -10
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -2
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -2
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -2
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -2
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -2
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +1 -2
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -2
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +1 -2
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/index.js +1 -2
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/api.js +16 -22
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +1 -2
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +120 -126
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +4 -5
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +1 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +1 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -2
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +1 -2
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -2
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -2
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-pump-modal/api.js +14 -17
- package/lib/vtx-pump-modal/api.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +1 -2
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +1 -2
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js +1 -2
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +1 -2
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +1 -2
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js +1 -2
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js +1 -2
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.js +1 -2
- package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +1 -2
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +1 -2
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.js +1 -2
- package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sjfx/index.js +1 -2
- package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sxyx/index.js +1 -2
- package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
- package/lib/vtx-pump-modal/index.js +1 -2
- package/lib/vtx-pump-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +31 -40
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -2
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -2
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -2
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -2
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -2
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -2
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.less +22 -22
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js +1 -2
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/List.js +1 -2
- package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdBasic/Info.js +1 -2
- package/lib/vtx-restaurant-modal/components/QdBasic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdBasic/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/QdBasic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/ContactDetail.js +1 -2
- package/lib/vtx-restaurant-modal/components/QdContract/ContactDetail.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/index.js +8 -11
- package/lib/vtx-restaurant-modal/components/QdContract/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdContract/index.less +9 -9
- package/lib/vtx-restaurant-modal/components/QdDetailInfo/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/QdDetailInfo/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/QdSign/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/QdSign/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +1 -2
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/api.js +2 -2
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +1 -2
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -2
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/index.js +1 -2
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/api.js +26 -26
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -2
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +1 -2
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.css +2 -2
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +2 -2
- package/lib/vtx-staff-modal/components/StaticInfo/index.js +1 -2
- package/lib/vtx-staff-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +118 -124
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +4 -5
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +1 -2
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +1 -2
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +1 -2
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +1 -2
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +1 -2
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +1 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +1 -2
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +1 -2
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +1 -2
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +1 -2
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/api.js +14 -14
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +1 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +1 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Detail/index.js +1 -2
- package/lib/vtx-wr-modal/components/Detail/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +1 -2
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +1 -2
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Score/index.js +1 -2
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js +1 -2
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/package.json +1 -2
package/lib/vtx-car-modal/api.js
CHANGED
|
@@ -8,14 +8,14 @@ var _tslib = require("tslib");
|
|
|
8
8
|
var _utils = require("@vtx/utils");
|
|
9
9
|
var _ahooks = require("ahooks");
|
|
10
10
|
var _lodash = require("lodash");
|
|
11
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
11
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
13
12
|
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."); }
|
|
14
13
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
14
|
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
16
15
|
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
17
16
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
18
|
-
function
|
|
17
|
+
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
18
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { if (r) i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n;else { var o = function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); }; o("next", 0), o("throw", 1), o("return", 2); } }, _regeneratorDefine2(e, r, n, t); }
|
|
19
19
|
var prefix = process.env.PREFIX || '';
|
|
20
20
|
var ConfigService = exports.ConfigService = {
|
|
21
21
|
useConfig: function useConfig(hasJXH) {
|
|
@@ -155,23 +155,20 @@ var BaseService = exports.BaseService = {
|
|
|
155
155
|
},
|
|
156
156
|
useCCCarInfo: function useCCCarInfo(carId) {
|
|
157
157
|
var _useRequest7 = (0, _ahooks.useRequest)(function () {
|
|
158
|
-
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/
|
|
158
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regenerator().m(function _callee() {
|
|
159
159
|
var res;
|
|
160
|
-
return
|
|
161
|
-
while (1) switch (_context.
|
|
160
|
+
return _regenerator().w(function (_context) {
|
|
161
|
+
while (1) switch (_context.n) {
|
|
162
162
|
case 0:
|
|
163
|
-
_context.
|
|
163
|
+
_context.n = 1;
|
|
164
164
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/carDeviceInfo/get"), {
|
|
165
165
|
data: {
|
|
166
166
|
id: carId
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
case
|
|
170
|
-
res = _context.
|
|
171
|
-
return _context.
|
|
172
|
-
case 4:
|
|
173
|
-
case "end":
|
|
174
|
-
return _context.stop();
|
|
169
|
+
case 1:
|
|
170
|
+
res = _context.v;
|
|
171
|
+
return _context.a(2, (res === null || res === void 0 ? void 0 : res.data) || {});
|
|
175
172
|
}
|
|
176
173
|
}, _callee);
|
|
177
174
|
}));
|
|
@@ -211,10 +208,10 @@ var BaseService = exports.BaseService = {
|
|
|
211
208
|
},
|
|
212
209
|
useFieldConfig: function useFieldConfig() {
|
|
213
210
|
var _a;
|
|
214
|
-
var
|
|
211
|
+
var _useRequest0 = (0, _ahooks.useRequest)(function () {
|
|
215
212
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/car/dataConfig/list"));
|
|
216
213
|
}),
|
|
217
|
-
data =
|
|
214
|
+
data = _useRequest0.data;
|
|
218
215
|
return {
|
|
219
216
|
showFields: ((_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.filter(function (ele) {
|
|
220
217
|
return ele.isVisible;
|
|
@@ -223,7 +220,7 @@ var BaseService = exports.BaseService = {
|
|
|
223
220
|
},
|
|
224
221
|
useDailySummaryJxh: function useDailySummaryJxh(carId, date, service, hasJXH) {
|
|
225
222
|
// 左侧今日排版、今日作业
|
|
226
|
-
var
|
|
223
|
+
var _useRequest1 = (0, _ahooks.useRequest)(function () {
|
|
227
224
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/kanbanWorkInfoAndShiftStatistics"), {
|
|
228
225
|
data: {
|
|
229
226
|
carId: carId,
|
|
@@ -234,14 +231,14 @@ var BaseService = exports.BaseService = {
|
|
|
234
231
|
ready: !!carId && hasJXH,
|
|
235
232
|
refreshDeps: [carId, date, hasJXH]
|
|
236
233
|
}),
|
|
237
|
-
dailySummaryJxh =
|
|
234
|
+
dailySummaryJxh = _useRequest1.data;
|
|
238
235
|
return {
|
|
239
236
|
dailySummaryJxh: (dailySummaryJxh === null || dailySummaryJxh === void 0 ? void 0 : dailySummaryJxh.data) || {}
|
|
240
237
|
};
|
|
241
238
|
},
|
|
242
239
|
useDailyCarRun: function useDailyCarRun(id, beginTime, endTime) {
|
|
243
240
|
//今日运行
|
|
244
|
-
var
|
|
241
|
+
var _useRequest10 = (0, _ahooks.useRequest)(function () {
|
|
245
242
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/report/dailyCarRun/list"), {
|
|
246
243
|
data: {
|
|
247
244
|
carIds: id,
|
|
@@ -252,14 +249,14 @@ var BaseService = exports.BaseService = {
|
|
|
252
249
|
}, {
|
|
253
250
|
refreshDeps: [id, beginTime, endTime]
|
|
254
251
|
}),
|
|
255
|
-
dailyCarRunRes =
|
|
252
|
+
dailyCarRunRes = _useRequest10.data;
|
|
256
253
|
return {
|
|
257
254
|
dailyCarRunRes: (dailyCarRunRes === null || dailyCarRunRes === void 0 ? void 0 : dailyCarRunRes.data) || []
|
|
258
255
|
};
|
|
259
256
|
},
|
|
260
257
|
useTodayRun: function useTodayRun(carId, beginTime, endTime, source) {
|
|
261
258
|
//今日运行
|
|
262
|
-
var
|
|
259
|
+
var _useRequest11 = (0, _ahooks.useRequest)(function () {
|
|
263
260
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/car/detail/alarmSumWithDetail"), {
|
|
264
261
|
data: {
|
|
265
262
|
carId: carId,
|
|
@@ -271,14 +268,14 @@ var BaseService = exports.BaseService = {
|
|
|
271
268
|
ready: source === 'GPS',
|
|
272
269
|
refreshDeps: [carId, beginTime, endTime, source]
|
|
273
270
|
}),
|
|
274
|
-
todayRunRes =
|
|
271
|
+
todayRunRes = _useRequest11.data;
|
|
275
272
|
return {
|
|
276
273
|
todayRunRes: (todayRunRes === null || todayRunRes === void 0 ? void 0 : todayRunRes.data) || {}
|
|
277
274
|
};
|
|
278
275
|
},
|
|
279
276
|
useTodayWorkJxh: function useTodayWorkJxh(carId, date, service) {
|
|
280
277
|
//今日作业-机械化
|
|
281
|
-
var
|
|
278
|
+
var _useRequest12 = (0, _ahooks.useRequest)(function () {
|
|
282
279
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/getRoadWorkInfoByCarId"), {
|
|
283
280
|
data: {
|
|
284
281
|
carId: carId,
|
|
@@ -288,14 +285,14 @@ var BaseService = exports.BaseService = {
|
|
|
288
285
|
}, {
|
|
289
286
|
refreshDeps: [carId, date]
|
|
290
287
|
}),
|
|
291
|
-
todayRunJxhRes =
|
|
288
|
+
todayRunJxhRes = _useRequest12.data;
|
|
292
289
|
return {
|
|
293
290
|
todayRunJxhRes: (todayRunJxhRes === null || todayRunJxhRes === void 0 ? void 0 : todayRunJxhRes.data) || []
|
|
294
291
|
};
|
|
295
292
|
},
|
|
296
293
|
useTodayWorkLjsy: function useTodayWorkLjsy(carId, dateValue) {
|
|
297
294
|
//今日作业-垃圾收运
|
|
298
|
-
var
|
|
295
|
+
var _useRequest13 = (0, _ahooks.useRequest)(function () {
|
|
299
296
|
return _utils.request.get('/cloud/ljsy-reborn/api/kanban/getWorkInfoByCarIdWithDetail', {
|
|
300
297
|
data: {
|
|
301
298
|
carId: carId,
|
|
@@ -305,7 +302,7 @@ var BaseService = exports.BaseService = {
|
|
|
305
302
|
}, {
|
|
306
303
|
refreshDeps: [carId, dateValue]
|
|
307
304
|
}),
|
|
308
|
-
todayRunLjsyRes =
|
|
305
|
+
todayRunLjsyRes = _useRequest13.data;
|
|
309
306
|
return {
|
|
310
307
|
todayRunLjsyRes: (todayRunLjsyRes === null || todayRunLjsyRes === void 0 ? void 0 : todayRunLjsyRes.data) || []
|
|
311
308
|
};
|
|
@@ -314,7 +311,7 @@ var BaseService = exports.BaseService = {
|
|
|
314
311
|
var searchDay = _ref.searchDay,
|
|
315
312
|
carId = _ref.carId,
|
|
316
313
|
garbageType = _ref.garbageType;
|
|
317
|
-
var
|
|
314
|
+
var _useRequest14 = (0, _ahooks.useRequest)(function () {
|
|
318
315
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/gisOnePage/getCarCollectDay"), {
|
|
319
316
|
data: {
|
|
320
317
|
carId: carId,
|
|
@@ -325,13 +322,13 @@ var BaseService = exports.BaseService = {
|
|
|
325
322
|
}, {
|
|
326
323
|
refreshDeps: [carId, searchDay]
|
|
327
324
|
}),
|
|
328
|
-
|
|
329
|
-
data =
|
|
325
|
+
_useRequest14$data = _useRequest14.data,
|
|
326
|
+
data = _useRequest14$data === void 0 ? {} : _useRequest14$data;
|
|
330
327
|
return (data === null || data === void 0 ? void 0 : data.data) || {};
|
|
331
328
|
},
|
|
332
329
|
useTodayWorkCC: function useTodayWorkCC(carId, queryStartTime, queryEndTime, garbageType) {
|
|
333
330
|
//今日作业-餐厨
|
|
334
|
-
var
|
|
331
|
+
var _useRequest15 = (0, _ahooks.useRequest)(function () {
|
|
335
332
|
return garbageType === 'fqyz' ? _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/oilWeight/list"), {
|
|
336
333
|
data: {
|
|
337
334
|
carId: carId,
|
|
@@ -348,14 +345,14 @@ var BaseService = exports.BaseService = {
|
|
|
348
345
|
}, {
|
|
349
346
|
refreshDeps: [carId, queryStartTime, queryEndTime]
|
|
350
347
|
}),
|
|
351
|
-
todayRunCCRes =
|
|
348
|
+
todayRunCCRes = _useRequest15.data;
|
|
352
349
|
return {
|
|
353
350
|
todayRunCCRes: (todayRunCCRes === null || todayRunCCRes === void 0 ? void 0 : todayRunCCRes.data) || []
|
|
354
351
|
};
|
|
355
352
|
},
|
|
356
353
|
useWorkSummaryJxh: function useWorkSummaryJxh(carId, startDate, endDate, service) {
|
|
357
354
|
//机械化作业统计
|
|
358
|
-
var
|
|
355
|
+
var _useRequest16 = (0, _ahooks.useRequest)(function () {
|
|
359
356
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/workInfoStatisticsByCarId"), {
|
|
360
357
|
data: {
|
|
361
358
|
carId: carId,
|
|
@@ -367,14 +364,14 @@ var BaseService = exports.BaseService = {
|
|
|
367
364
|
}, {
|
|
368
365
|
refreshDeps: [carId, startDate, endDate]
|
|
369
366
|
}),
|
|
370
|
-
workSummaryJxhRes =
|
|
367
|
+
workSummaryJxhRes = _useRequest16.data;
|
|
371
368
|
return {
|
|
372
369
|
workSummaryJxhRes: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.data) || {}
|
|
373
370
|
};
|
|
374
371
|
},
|
|
375
372
|
useWorkAnaJxh: function useWorkAnaJxh(carId, startDate, endDate, service) {
|
|
376
373
|
//机械化作业分析
|
|
377
|
-
var
|
|
374
|
+
var _useRequest17 = (0, _ahooks.useRequest)(function () {
|
|
378
375
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/workInfoAnalysisByCarId"), {
|
|
379
376
|
data: {
|
|
380
377
|
carId: carId,
|
|
@@ -385,14 +382,14 @@ var BaseService = exports.BaseService = {
|
|
|
385
382
|
}, {
|
|
386
383
|
refreshDeps: [carId, startDate, endDate]
|
|
387
384
|
}),
|
|
388
|
-
workAnaJxhRes =
|
|
385
|
+
workAnaJxhRes = _useRequest17.data;
|
|
389
386
|
return {
|
|
390
387
|
workAnaJxhRes: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.data) || []
|
|
391
388
|
};
|
|
392
389
|
},
|
|
393
390
|
useWorkAnaLjsy: function useWorkAnaLjsy(carId, startDate, endDate, isReleate) {
|
|
394
391
|
//垃圾收运-作业分析
|
|
395
|
-
var
|
|
392
|
+
var _useRequest18 = (0, _ahooks.useRequest)(function () {
|
|
396
393
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoAnalysisByCarId"), {
|
|
397
394
|
data: {
|
|
398
395
|
carId: carId,
|
|
@@ -404,14 +401,14 @@ var BaseService = exports.BaseService = {
|
|
|
404
401
|
ready: isReleate,
|
|
405
402
|
refreshDeps: [carId, startDate, endDate]
|
|
406
403
|
}),
|
|
407
|
-
workAnaLjsyRes =
|
|
404
|
+
workAnaLjsyRes = _useRequest18.data;
|
|
408
405
|
return {
|
|
409
406
|
workAnaLjsyRes: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.data) || {}
|
|
410
407
|
};
|
|
411
408
|
},
|
|
412
409
|
useWorkAnaCC: function useWorkAnaCC(carId, startDate, endDate, isReleate) {
|
|
413
410
|
//垃圾收运-作业分析
|
|
414
|
-
var
|
|
411
|
+
var _useRequest19 = (0, _ahooks.useRequest)(function () {
|
|
415
412
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/gisOnePage/carCollectSummaryLine"), {
|
|
416
413
|
data: {
|
|
417
414
|
carId: carId,
|
|
@@ -423,7 +420,7 @@ var BaseService = exports.BaseService = {
|
|
|
423
420
|
ready: isReleate,
|
|
424
421
|
refreshDeps: [carId, startDate, endDate]
|
|
425
422
|
}),
|
|
426
|
-
workAnaLjsyRes =
|
|
423
|
+
workAnaLjsyRes = _useRequest19.data;
|
|
427
424
|
return {
|
|
428
425
|
workAnaLjsyRes: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.data) || {}
|
|
429
426
|
};
|
|
@@ -431,7 +428,7 @@ var BaseService = exports.BaseService = {
|
|
|
431
428
|
};
|
|
432
429
|
var AlarmService = exports.AlarmService = {
|
|
433
430
|
useAlarmType: function useAlarmType(carIds, startTime, endTime, source) {
|
|
434
|
-
var
|
|
431
|
+
var _useRequest20 = (0, _ahooks.useRequest)(function () {
|
|
435
432
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/alarm/record/statisticsPage"), {
|
|
436
433
|
data: {
|
|
437
434
|
carIds: carIds,
|
|
@@ -443,7 +440,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
443
440
|
ready: source === 'GPS',
|
|
444
441
|
refreshDeps: [carIds, startTime, endTime, source]
|
|
445
442
|
}),
|
|
446
|
-
alarmTypesRes =
|
|
443
|
+
alarmTypesRes = _useRequest20.data;
|
|
447
444
|
return {
|
|
448
445
|
alarmTypes: (alarmTypesRes === null || alarmTypesRes === void 0 ? void 0 : alarmTypesRes.data) || {
|
|
449
446
|
totalCount: 0,
|
|
@@ -452,7 +449,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
452
449
|
};
|
|
453
450
|
},
|
|
454
451
|
useAlarmTypeWork: function useAlarmTypeWork(carIds, startTime, endTime, source) {
|
|
455
|
-
var
|
|
452
|
+
var _useRequest21 = (0, _ahooks.useRequest)(function () {
|
|
456
453
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/task/alarm/alarmSum"), {
|
|
457
454
|
data: {
|
|
458
455
|
carIds: carIds,
|
|
@@ -464,7 +461,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
464
461
|
ready: source === 'WORK',
|
|
465
462
|
refreshDeps: [carIds, startTime, endTime, source]
|
|
466
463
|
}),
|
|
467
|
-
data =
|
|
464
|
+
data = _useRequest21.data;
|
|
468
465
|
return {
|
|
469
466
|
alarmTypesWork: (data === null || data === void 0 ? void 0 : data.data) || {
|
|
470
467
|
total: 0,
|
|
@@ -474,7 +471,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
474
471
|
};
|
|
475
472
|
},
|
|
476
473
|
useAlarmList: function useAlarmList(carCode, alarmStrategyName, startTime, endTime, page) {
|
|
477
|
-
var
|
|
474
|
+
var _useRequest22 = (0, _ahooks.useRequest)(function () {
|
|
478
475
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/alarm/record/pageList"), {
|
|
479
476
|
data: {
|
|
480
477
|
carCode: carCode,
|
|
@@ -489,13 +486,13 @@ var AlarmService = exports.AlarmService = {
|
|
|
489
486
|
ready: !!carCode,
|
|
490
487
|
refreshDeps: [carCode, alarmStrategyName, startTime, endTime, page]
|
|
491
488
|
}),
|
|
492
|
-
recordRes =
|
|
489
|
+
recordRes = _useRequest22.data;
|
|
493
490
|
return {
|
|
494
491
|
alarmRecord: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {}
|
|
495
492
|
};
|
|
496
493
|
},
|
|
497
494
|
useAlarmListWork: function useAlarmListWork(carIds, alarmTypeCode, startDate, endDate, page) {
|
|
498
|
-
var
|
|
495
|
+
var _useRequest23 = (0, _ahooks.useRequest)(function () {
|
|
499
496
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/task/alarm/alarmPage"), {
|
|
500
497
|
data: {
|
|
501
498
|
carIds: carIds,
|
|
@@ -510,7 +507,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
510
507
|
}, {
|
|
511
508
|
refreshDeps: [carIds, alarmTypeCode, startDate, endDate, page]
|
|
512
509
|
}),
|
|
513
|
-
recordRes =
|
|
510
|
+
recordRes = _useRequest23.data;
|
|
514
511
|
return {
|
|
515
512
|
alarmRecordWork: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {}
|
|
516
513
|
};
|
|
@@ -518,7 +515,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
518
515
|
useAlarmTodayRun: function useAlarmTodayRun(carId, beginTime, endTime, source) {
|
|
519
516
|
var _a;
|
|
520
517
|
//今日运行
|
|
521
|
-
var
|
|
518
|
+
var _useRequest24 = (0, _ahooks.useRequest)(function () {
|
|
522
519
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/task/alarm/alarmSumByTypeAndDay"), {
|
|
523
520
|
data: {
|
|
524
521
|
carId: carId,
|
|
@@ -530,7 +527,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
530
527
|
ready: source === 'WORK',
|
|
531
528
|
refreshDeps: [carId, beginTime, endTime, source]
|
|
532
529
|
}),
|
|
533
|
-
data =
|
|
530
|
+
data = _useRequest24.data;
|
|
534
531
|
var pieData = [];
|
|
535
532
|
var lineData = {
|
|
536
533
|
legends: [],
|
|
@@ -568,19 +565,19 @@ var AlarmService = exports.AlarmService = {
|
|
|
568
565
|
var WorkServicve = exports.WorkServicve = {
|
|
569
566
|
useWorkTypeJxh: function useWorkTypeJxh(service) {
|
|
570
567
|
//机械化作业类型
|
|
571
|
-
var
|
|
568
|
+
var _useRequest25 = (0, _ahooks.useRequest)(function () {
|
|
572
569
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/v101/common/listWorkType"), {
|
|
573
570
|
data: {}
|
|
574
571
|
});
|
|
575
572
|
}),
|
|
576
|
-
workTypeRes =
|
|
573
|
+
workTypeRes = _useRequest25.data;
|
|
577
574
|
return {
|
|
578
575
|
workTypeRes: (workTypeRes === null || workTypeRes === void 0 ? void 0 : workTypeRes.data) || []
|
|
579
576
|
};
|
|
580
577
|
},
|
|
581
578
|
useRecordJxh: function useRecordJxh(carId, workTypeCodes, startDate, endDate, pageNo, order, service) {
|
|
582
579
|
//机械化
|
|
583
|
-
var
|
|
580
|
+
var _useRequest26 = (0, _ahooks.useRequest)(function () {
|
|
584
581
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/v1.5/noshift/page"), {
|
|
585
582
|
data: {
|
|
586
583
|
carId: carId,
|
|
@@ -598,14 +595,14 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
598
595
|
}, {
|
|
599
596
|
refreshDeps: [carId, workTypeCodes, startDate, endDate, pageNo, order]
|
|
600
597
|
}),
|
|
601
|
-
recordJxhRes =
|
|
598
|
+
recordJxhRes = _useRequest26.data;
|
|
602
599
|
return {
|
|
603
600
|
recordJxhRes: (recordJxhRes === null || recordJxhRes === void 0 ? void 0 : recordJxhRes.data) || []
|
|
604
601
|
};
|
|
605
602
|
},
|
|
606
603
|
useWorkSummaryLjsy: function useWorkSummaryLjsy(carId, startDate, endDate) {
|
|
607
604
|
//垃圾收运头部统计
|
|
608
|
-
var
|
|
605
|
+
var _useRequest27 = (0, _ahooks.useRequest)(function () {
|
|
609
606
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoSummaryByCarId"), {
|
|
610
607
|
data: {
|
|
611
608
|
carId: carId,
|
|
@@ -616,14 +613,14 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
616
613
|
}, {
|
|
617
614
|
refreshDeps: [carId, startDate, endDate]
|
|
618
615
|
}),
|
|
619
|
-
summaryLjsy =
|
|
616
|
+
summaryLjsy = _useRequest27.data;
|
|
620
617
|
return {
|
|
621
618
|
summaryLjsy: (summaryLjsy === null || summaryLjsy === void 0 ? void 0 : summaryLjsy.data) || []
|
|
622
619
|
};
|
|
623
620
|
},
|
|
624
621
|
useRecordLjsy: function useRecordLjsy(carIds, startTime, endTime, page, sort) {
|
|
625
622
|
//机械化
|
|
626
|
-
var
|
|
623
|
+
var _useRequest28 = (0, _ahooks.useRequest)(function () {
|
|
627
624
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/collect/record/detail/page"), {
|
|
628
625
|
data: {
|
|
629
626
|
carIds: carIds,
|
|
@@ -637,7 +634,7 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
637
634
|
}, {
|
|
638
635
|
refreshDeps: [carIds, startTime, endTime, page, sort]
|
|
639
636
|
}),
|
|
640
|
-
recordLjsyRes =
|
|
637
|
+
recordLjsyRes = _useRequest28.data;
|
|
641
638
|
return {
|
|
642
639
|
recordLjsyRes: (recordLjsyRes === null || recordLjsyRes === void 0 ? void 0 : recordLjsyRes.data) || []
|
|
643
640
|
};
|
|
@@ -647,7 +644,7 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
647
644
|
var OilService = exports.OilService = {
|
|
648
645
|
useHasOil: function useHasOil(carId) {
|
|
649
646
|
var _a;
|
|
650
|
-
var
|
|
647
|
+
var _useRequest29 = (0, _ahooks.useRequest)(function () {
|
|
651
648
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/car/config/getById"), {
|
|
652
649
|
data: {
|
|
653
650
|
id: carId
|
|
@@ -656,13 +653,13 @@ var OilService = exports.OilService = {
|
|
|
656
653
|
}, {
|
|
657
654
|
refreshDeps: [carId]
|
|
658
655
|
}),
|
|
659
|
-
data =
|
|
656
|
+
data = _useRequest29.data;
|
|
660
657
|
return {
|
|
661
658
|
beenOilStatus: (_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.beenOilStatus
|
|
662
659
|
};
|
|
663
660
|
},
|
|
664
661
|
useOilLine: function useOilLine(carId, startTime, endTime) {
|
|
665
|
-
var
|
|
662
|
+
var _useRequest30 = (0, _ahooks.useRequest)(function () {
|
|
666
663
|
return _utils.request.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/oilLine.smvc"), {
|
|
667
664
|
data: {
|
|
668
665
|
carId: carId,
|
|
@@ -673,13 +670,13 @@ var OilService = exports.OilService = {
|
|
|
673
670
|
}, {
|
|
674
671
|
refreshDeps: [carId, startTime, endTime]
|
|
675
672
|
}),
|
|
676
|
-
oilLineRes =
|
|
673
|
+
oilLineRes = _useRequest30.data;
|
|
677
674
|
return {
|
|
678
675
|
oilLineRes: (oilLineRes === null || oilLineRes === void 0 ? void 0 : oilLineRes.data) || []
|
|
679
676
|
};
|
|
680
677
|
},
|
|
681
678
|
useSummary: function useSummary(carId, startTime, endTime) {
|
|
682
|
-
var
|
|
679
|
+
var _useRequest31 = (0, _ahooks.useRequest)(function () {
|
|
683
680
|
return _utils.request.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/summary.smvc"), {
|
|
684
681
|
data: {
|
|
685
682
|
carId: carId,
|
|
@@ -690,13 +687,13 @@ var OilService = exports.OilService = {
|
|
|
690
687
|
}, {
|
|
691
688
|
refreshDeps: [carId, startTime, endTime]
|
|
692
689
|
}),
|
|
693
|
-
summaryRes =
|
|
690
|
+
summaryRes = _useRequest31.data;
|
|
694
691
|
return {
|
|
695
692
|
summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
|
|
696
693
|
};
|
|
697
694
|
},
|
|
698
695
|
useRecord: function useRecord(carId, startTime, endTime, page, sort) {
|
|
699
|
-
var
|
|
696
|
+
var _useRequest32 = (0, _ahooks.useRequest)(function () {
|
|
700
697
|
return _utils.request.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/simplePage.smvc"), {
|
|
701
698
|
data: {
|
|
702
699
|
carId: carId,
|
|
@@ -711,7 +708,7 @@ var OilService = exports.OilService = {
|
|
|
711
708
|
}, {
|
|
712
709
|
refreshDeps: [carId, startTime, endTime, page, sort]
|
|
713
710
|
}),
|
|
714
|
-
recordRes =
|
|
711
|
+
recordRes = _useRequest32.data;
|
|
715
712
|
return {
|
|
716
713
|
recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
|
|
717
714
|
};
|
|
@@ -720,7 +717,7 @@ var OilService = exports.OilService = {
|
|
|
720
717
|
//水耗
|
|
721
718
|
var WaterService = exports.WaterService = {
|
|
722
719
|
useSummary: function useSummary(carId, startTime, endTime) {
|
|
723
|
-
var
|
|
720
|
+
var _useRequest33 = (0, _ahooks.useRequest)(function () {
|
|
724
721
|
return _utils.request.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/summary"), {
|
|
725
722
|
data: {
|
|
726
723
|
hasWaterStatus: true,
|
|
@@ -732,13 +729,13 @@ var WaterService = exports.WaterService = {
|
|
|
732
729
|
}, {
|
|
733
730
|
refreshDeps: [carId, startTime, endTime]
|
|
734
731
|
}),
|
|
735
|
-
summaryRes =
|
|
732
|
+
summaryRes = _useRequest33.data;
|
|
736
733
|
return {
|
|
737
734
|
summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
|
|
738
735
|
};
|
|
739
736
|
},
|
|
740
737
|
useRecord: function useRecord(carId, startDate, endDate, order) {
|
|
741
|
-
var
|
|
738
|
+
var _useRequest34 = (0, _ahooks.useRequest)(function () {
|
|
742
739
|
return _utils.request.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/queryList"), {
|
|
743
740
|
data: {
|
|
744
741
|
hasWaterStatus: true,
|
|
@@ -752,7 +749,7 @@ var WaterService = exports.WaterService = {
|
|
|
752
749
|
}, {
|
|
753
750
|
refreshDeps: [carId, startDate, endDate, order]
|
|
754
751
|
}),
|
|
755
|
-
recordRes =
|
|
752
|
+
recordRes = _useRequest34.data;
|
|
756
753
|
return {
|
|
757
754
|
recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
|
|
758
755
|
};
|
|
@@ -761,7 +758,7 @@ var WaterService = exports.WaterService = {
|
|
|
761
758
|
// 维保
|
|
762
759
|
var MaintenanceService = exports.MaintenanceService = {
|
|
763
760
|
useMaintenance: function useMaintenance(carId) {
|
|
764
|
-
var
|
|
761
|
+
var _useRequest35 = (0, _ahooks.useRequest)(function () {
|
|
765
762
|
return _utils.request.get("".concat(prefix, "/cloud/clwb/api/v101/carComprehensiveBoard/carWbAnalyse"), {
|
|
766
763
|
data: {
|
|
767
764
|
carId: carId
|
|
@@ -770,7 +767,7 @@ var MaintenanceService = exports.MaintenanceService = {
|
|
|
770
767
|
}, {
|
|
771
768
|
refreshDeps: [carId]
|
|
772
769
|
}),
|
|
773
|
-
maintenanceRes =
|
|
770
|
+
maintenanceRes = _useRequest35.data;
|
|
774
771
|
return {
|
|
775
772
|
maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
|
|
776
773
|
};
|
|
@@ -782,13 +779,13 @@ var CollectionService = exports.CollectionService = {
|
|
|
782
779
|
var carId = _ref2.carId,
|
|
783
780
|
startDay = _ref2.startDay,
|
|
784
781
|
endDay = _ref2.endDay;
|
|
785
|
-
var
|
|
786
|
-
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/
|
|
782
|
+
var _useRequest36 = (0, _ahooks.useRequest)(function () {
|
|
783
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regenerator().m(function _callee2() {
|
|
787
784
|
var res;
|
|
788
|
-
return
|
|
789
|
-
while (1) switch (_context2.
|
|
785
|
+
return _regenerator().w(function (_context2) {
|
|
786
|
+
while (1) switch (_context2.n) {
|
|
790
787
|
case 0:
|
|
791
|
-
_context2.
|
|
788
|
+
_context2.n = 1;
|
|
792
789
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/collectPeriod/getPeriodListByCarId"), {
|
|
793
790
|
data: {
|
|
794
791
|
carId: carId,
|
|
@@ -796,12 +793,9 @@ var CollectionService = exports.CollectionService = {
|
|
|
796
793
|
endDay: endDay
|
|
797
794
|
}
|
|
798
795
|
});
|
|
799
|
-
case
|
|
800
|
-
res = _context2.
|
|
801
|
-
return _context2.
|
|
802
|
-
case 4:
|
|
803
|
-
case "end":
|
|
804
|
-
return _context2.stop();
|
|
796
|
+
case 1:
|
|
797
|
+
res = _context2.v;
|
|
798
|
+
return _context2.a(2, (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
805
799
|
}
|
|
806
800
|
}, _callee2);
|
|
807
801
|
}));
|
|
@@ -809,7 +803,7 @@ var CollectionService = exports.CollectionService = {
|
|
|
809
803
|
refreshDeps: [carId, startDay, endDay],
|
|
810
804
|
ready: !!carId
|
|
811
805
|
}),
|
|
812
|
-
data =
|
|
806
|
+
data = _useRequest36.data;
|
|
813
807
|
return data || [];
|
|
814
808
|
},
|
|
815
809
|
// 收运记录
|
|
@@ -817,13 +811,13 @@ var CollectionService = exports.CollectionService = {
|
|
|
817
811
|
var id = _ref3.id,
|
|
818
812
|
startTime = _ref3.startTime,
|
|
819
813
|
endTime = _ref3.endTime;
|
|
820
|
-
var
|
|
821
|
-
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/
|
|
814
|
+
var _useRequest37 = (0, _ahooks.useRequest)(function () {
|
|
815
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regenerator().m(function _callee3() {
|
|
822
816
|
var res;
|
|
823
|
-
return
|
|
824
|
-
while (1) switch (_context3.
|
|
817
|
+
return _regenerator().w(function (_context3) {
|
|
818
|
+
while (1) switch (_context3.n) {
|
|
825
819
|
case 0:
|
|
826
|
-
_context3.
|
|
820
|
+
_context3.n = 1;
|
|
827
821
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/rtCarDataDetail/list"), {
|
|
828
822
|
data: {
|
|
829
823
|
carId: id,
|
|
@@ -831,12 +825,9 @@ var CollectionService = exports.CollectionService = {
|
|
|
831
825
|
queryEndTime: endTime
|
|
832
826
|
}
|
|
833
827
|
});
|
|
834
|
-
case
|
|
835
|
-
res = _context3.
|
|
836
|
-
return _context3.
|
|
837
|
-
case 4:
|
|
838
|
-
case "end":
|
|
839
|
-
return _context3.stop();
|
|
828
|
+
case 1:
|
|
829
|
+
res = _context3.v;
|
|
830
|
+
return _context3.a(2, (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
840
831
|
}
|
|
841
832
|
}, _callee3);
|
|
842
833
|
}));
|
|
@@ -844,7 +835,7 @@ var CollectionService = exports.CollectionService = {
|
|
|
844
835
|
refreshDeps: [id, startTime, endTime],
|
|
845
836
|
ready: !!id
|
|
846
837
|
}),
|
|
847
|
-
data =
|
|
838
|
+
data = _useRequest37.data;
|
|
848
839
|
return data;
|
|
849
840
|
}
|
|
850
841
|
};
|