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