@vtx/modals2 2.15.90 → 2.15.91
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-map-/345/272/237/345/274/203/index.js +4 -5
- package/lib/vm-map-/345/272/237/345/274/203/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-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 +86 -95
- package/lib/vtx-car-modal/api.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 +1 -2
- 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/BaseInfoLJSY/WorkDetail.js +1 -2
- package/lib/vtx-car-modal/components/BaseInfoLJSY/WorkDetail.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfoLJSY/index.js +1 -2
- package/lib/vtx-car-modal/components/BaseInfoLJSY/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 +59 -68
- 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/Calendar/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js.map +1 -1
- 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/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 +53 -71
- package/lib/vtx-cc-unit-modal/api.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -2
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -2
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/FactoryCharts.js +1 -2
- package/lib/vtx-cc-unit-modal/components/BaseInfo/FactoryCharts.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/CarList/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/Factory/index.js.map +1 -1
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectRecord.js +1 -2
- package/lib/vtx-cc-unit-modal/components/QdBase/CollectRecord.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/RestaurantList/index.js +1 -2
- package/lib/vtx-cc-unit-modal/components/RestaurantList/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.css +2 -2
- 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/BaseInfo/index.less +2 -2
- 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 +24 -27
- 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/SBXLFXV2.js +1 -2
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFXV2.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/SBYXQKV2.js +1 -2
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQKV2.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 +37 -46
- 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/CollectRule.js +1 -2
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.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/PointMap.js +1 -2
- package/lib/vtx-restaurant-modal/components/Basic/PointMap.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/SummaryStatistics.js +1 -2
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.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/Calendar/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/Calendar/index.js.map +1 -1
- 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/DetailInfo/index.js +1 -2
- package/lib/vtx-restaurant-modal/components/DetailInfo/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/components/SignAndContract/ContactDetail.js +1 -2
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +8 -11
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +8 -9
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/api.js +4 -4
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +1 -2
- package/lib/vtx-road-modal/components/BaseInfo/Work.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Calendar/index.js +1 -2
- package/lib/vtx-road-modal/components/Calendar/index.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.js +1 -2
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- 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 -1
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) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (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) {
|
|
@@ -171,23 +171,20 @@ var BaseService = exports.BaseService = {
|
|
|
171
171
|
},
|
|
172
172
|
useCCCarInfo: function useCCCarInfo(carId) {
|
|
173
173
|
var _useRequest8 = (0, _ahooks.useRequest)(function () {
|
|
174
|
-
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/
|
|
174
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regenerator().m(function _callee() {
|
|
175
175
|
var res;
|
|
176
|
-
return
|
|
177
|
-
while (1) switch (_context.
|
|
176
|
+
return _regenerator().w(function (_context) {
|
|
177
|
+
while (1) switch (_context.n) {
|
|
178
178
|
case 0:
|
|
179
|
-
_context.
|
|
179
|
+
_context.n = 1;
|
|
180
180
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/carDeviceInfo/get"), {
|
|
181
181
|
data: {
|
|
182
182
|
id: carId
|
|
183
183
|
}
|
|
184
184
|
});
|
|
185
|
-
case
|
|
186
|
-
res = _context.
|
|
187
|
-
return _context.
|
|
188
|
-
case 4:
|
|
189
|
-
case "end":
|
|
190
|
-
return _context.stop();
|
|
185
|
+
case 1:
|
|
186
|
+
res = _context.v;
|
|
187
|
+
return _context.a(2, (res === null || res === void 0 ? void 0 : res.data) || {});
|
|
191
188
|
}
|
|
192
189
|
}, _callee);
|
|
193
190
|
}));
|
|
@@ -213,24 +210,24 @@ var BaseService = exports.BaseService = {
|
|
|
213
210
|
};
|
|
214
211
|
},
|
|
215
212
|
useServiceInfo: function useServiceInfo(carId) {
|
|
216
|
-
var
|
|
213
|
+
var _useRequest0 = (0, _ahooks.useRequest)(function () {
|
|
217
214
|
return _utils.request.get("".concat(prefix, "/cloud/jcss-reborn/contract/carHistoryContract"), {
|
|
218
215
|
data: {
|
|
219
216
|
id: carId
|
|
220
217
|
}
|
|
221
218
|
});
|
|
222
219
|
}),
|
|
223
|
-
data =
|
|
220
|
+
data = _useRequest0.data;
|
|
224
221
|
return {
|
|
225
222
|
serviceInfo: data === null || data === void 0 ? void 0 : data.data
|
|
226
223
|
};
|
|
227
224
|
},
|
|
228
225
|
useFieldConfig: function useFieldConfig() {
|
|
229
226
|
var _a;
|
|
230
|
-
var
|
|
227
|
+
var _useRequest1 = (0, _ahooks.useRequest)(function () {
|
|
231
228
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/car/dataConfig/list"));
|
|
232
229
|
}),
|
|
233
|
-
data =
|
|
230
|
+
data = _useRequest1.data;
|
|
234
231
|
return {
|
|
235
232
|
showFields: ((_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.filter(function (ele) {
|
|
236
233
|
return ele.isVisible;
|
|
@@ -239,7 +236,7 @@ var BaseService = exports.BaseService = {
|
|
|
239
236
|
},
|
|
240
237
|
useDailySummaryJxh: function useDailySummaryJxh(carId, date, service, hasJXH) {
|
|
241
238
|
// 左侧今日排版、今日作业
|
|
242
|
-
var
|
|
239
|
+
var _useRequest10 = (0, _ahooks.useRequest)(function () {
|
|
243
240
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/kanbanWorkInfoAndShiftStatistics"), {
|
|
244
241
|
data: {
|
|
245
242
|
carId: carId,
|
|
@@ -250,14 +247,14 @@ var BaseService = exports.BaseService = {
|
|
|
250
247
|
ready: !!carId && hasJXH,
|
|
251
248
|
refreshDeps: [carId, date, hasJXH]
|
|
252
249
|
}),
|
|
253
|
-
dailySummaryJxh =
|
|
250
|
+
dailySummaryJxh = _useRequest10.data;
|
|
254
251
|
return {
|
|
255
252
|
dailySummaryJxh: (dailySummaryJxh === null || dailySummaryJxh === void 0 ? void 0 : dailySummaryJxh.data) || {}
|
|
256
253
|
};
|
|
257
254
|
},
|
|
258
255
|
useDailyCarRun: function useDailyCarRun(id, beginTime, endTime) {
|
|
259
256
|
//今日运行
|
|
260
|
-
var
|
|
257
|
+
var _useRequest11 = (0, _ahooks.useRequest)(function () {
|
|
261
258
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/report/dailyCarRun/list"), {
|
|
262
259
|
data: {
|
|
263
260
|
carIds: id,
|
|
@@ -268,14 +265,14 @@ var BaseService = exports.BaseService = {
|
|
|
268
265
|
}, {
|
|
269
266
|
refreshDeps: [id, beginTime, endTime]
|
|
270
267
|
}),
|
|
271
|
-
dailyCarRunRes =
|
|
268
|
+
dailyCarRunRes = _useRequest11.data;
|
|
272
269
|
return {
|
|
273
270
|
dailyCarRunRes: (dailyCarRunRes === null || dailyCarRunRes === void 0 ? void 0 : dailyCarRunRes.data) || []
|
|
274
271
|
};
|
|
275
272
|
},
|
|
276
273
|
useTodayRun: function useTodayRun(carId, beginTime, endTime, source) {
|
|
277
274
|
//今日运行
|
|
278
|
-
var
|
|
275
|
+
var _useRequest12 = (0, _ahooks.useRequest)(function () {
|
|
279
276
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/car/detail/alarmSumWithDetail"), {
|
|
280
277
|
data: {
|
|
281
278
|
carId: carId,
|
|
@@ -287,14 +284,14 @@ var BaseService = exports.BaseService = {
|
|
|
287
284
|
ready: source === 'GPS',
|
|
288
285
|
refreshDeps: [carId, beginTime, endTime, source]
|
|
289
286
|
}),
|
|
290
|
-
todayRunRes =
|
|
287
|
+
todayRunRes = _useRequest12.data;
|
|
291
288
|
return {
|
|
292
289
|
todayRunRes: (todayRunRes === null || todayRunRes === void 0 ? void 0 : todayRunRes.data) || {}
|
|
293
290
|
};
|
|
294
291
|
},
|
|
295
292
|
useTodayWorkJxh: function useTodayWorkJxh(carId, date, service) {
|
|
296
293
|
//今日作业-机械化
|
|
297
|
-
var
|
|
294
|
+
var _useRequest13 = (0, _ahooks.useRequest)(function () {
|
|
298
295
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/getRoadWorkInfoByCarId"), {
|
|
299
296
|
data: {
|
|
300
297
|
carId: carId,
|
|
@@ -304,14 +301,14 @@ var BaseService = exports.BaseService = {
|
|
|
304
301
|
}, {
|
|
305
302
|
refreshDeps: [carId, date]
|
|
306
303
|
}),
|
|
307
|
-
todayRunJxhRes =
|
|
304
|
+
todayRunJxhRes = _useRequest13.data;
|
|
308
305
|
return {
|
|
309
306
|
todayRunJxhRes: (todayRunJxhRes === null || todayRunJxhRes === void 0 ? void 0 : todayRunJxhRes.data) || []
|
|
310
307
|
};
|
|
311
308
|
},
|
|
312
309
|
useTodayWorkLjsy: function useTodayWorkLjsy(carId, dateValue) {
|
|
313
310
|
//今日作业-垃圾收运
|
|
314
|
-
var
|
|
311
|
+
var _useRequest14 = (0, _ahooks.useRequest)(function () {
|
|
315
312
|
return _utils.request.get('/cloud/ljsy-reborn/api/kanban/getWorkInfoByCarIdWithDetail', {
|
|
316
313
|
data: {
|
|
317
314
|
carId: carId,
|
|
@@ -321,7 +318,7 @@ var BaseService = exports.BaseService = {
|
|
|
321
318
|
}, {
|
|
322
319
|
refreshDeps: [carId, dateValue]
|
|
323
320
|
}),
|
|
324
|
-
todayRunLjsyRes =
|
|
321
|
+
todayRunLjsyRes = _useRequest14.data;
|
|
325
322
|
return {
|
|
326
323
|
todayRunLjsyRes: (todayRunLjsyRes === null || todayRunLjsyRes === void 0 ? void 0 : todayRunLjsyRes.data) || []
|
|
327
324
|
};
|
|
@@ -330,7 +327,7 @@ var BaseService = exports.BaseService = {
|
|
|
330
327
|
var searchDay = _ref.searchDay,
|
|
331
328
|
carId = _ref.carId,
|
|
332
329
|
garbageType = _ref.garbageType;
|
|
333
|
-
var
|
|
330
|
+
var _useRequest15 = (0, _ahooks.useRequest)(function () {
|
|
334
331
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/gisOnePage/getCarCollectDay"), {
|
|
335
332
|
data: {
|
|
336
333
|
carId: carId,
|
|
@@ -341,13 +338,13 @@ var BaseService = exports.BaseService = {
|
|
|
341
338
|
}, {
|
|
342
339
|
refreshDeps: [carId, searchDay]
|
|
343
340
|
}),
|
|
344
|
-
|
|
345
|
-
data =
|
|
341
|
+
_useRequest15$data = _useRequest15.data,
|
|
342
|
+
data = _useRequest15$data === void 0 ? {} : _useRequest15$data;
|
|
346
343
|
return (data === null || data === void 0 ? void 0 : data.data) || {};
|
|
347
344
|
},
|
|
348
345
|
useTodayWorkCC: function useTodayWorkCC(carId, queryStartTime, queryEndTime, garbageType) {
|
|
349
346
|
//今日作业-餐厨
|
|
350
|
-
var
|
|
347
|
+
var _useRequest16 = (0, _ahooks.useRequest)(function () {
|
|
351
348
|
return garbageType === 'fqyz' ? _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/oilWeight/list"), {
|
|
352
349
|
data: {
|
|
353
350
|
carId: carId,
|
|
@@ -364,14 +361,14 @@ var BaseService = exports.BaseService = {
|
|
|
364
361
|
}, {
|
|
365
362
|
refreshDeps: [carId, queryStartTime, queryEndTime]
|
|
366
363
|
}),
|
|
367
|
-
todayRunCCRes =
|
|
364
|
+
todayRunCCRes = _useRequest16.data;
|
|
368
365
|
return {
|
|
369
366
|
todayRunCCRes: (todayRunCCRes === null || todayRunCCRes === void 0 ? void 0 : todayRunCCRes.data) || []
|
|
370
367
|
};
|
|
371
368
|
},
|
|
372
369
|
useWorkSummaryJxh: function useWorkSummaryJxh(carId, startDate, endDate, service) {
|
|
373
370
|
//机械化作业统计
|
|
374
|
-
var
|
|
371
|
+
var _useRequest17 = (0, _ahooks.useRequest)(function () {
|
|
375
372
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/workInfoStatisticsByCarId"), {
|
|
376
373
|
data: {
|
|
377
374
|
carId: carId,
|
|
@@ -383,14 +380,14 @@ var BaseService = exports.BaseService = {
|
|
|
383
380
|
}, {
|
|
384
381
|
refreshDeps: [carId, startDate, endDate]
|
|
385
382
|
}),
|
|
386
|
-
workSummaryJxhRes =
|
|
383
|
+
workSummaryJxhRes = _useRequest17.data;
|
|
387
384
|
return {
|
|
388
385
|
workSummaryJxhRes: (workSummaryJxhRes === null || workSummaryJxhRes === void 0 ? void 0 : workSummaryJxhRes.data) || {}
|
|
389
386
|
};
|
|
390
387
|
},
|
|
391
388
|
useWorkAnaJxh: function useWorkAnaJxh(carId, startDate, endDate, service) {
|
|
392
389
|
//机械化作业分析
|
|
393
|
-
var
|
|
390
|
+
var _useRequest18 = (0, _ahooks.useRequest)(function () {
|
|
394
391
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/kanban/workInfoAnalysisByCarId"), {
|
|
395
392
|
data: {
|
|
396
393
|
carId: carId,
|
|
@@ -401,14 +398,14 @@ var BaseService = exports.BaseService = {
|
|
|
401
398
|
}, {
|
|
402
399
|
refreshDeps: [carId, startDate, endDate]
|
|
403
400
|
}),
|
|
404
|
-
workAnaJxhRes =
|
|
401
|
+
workAnaJxhRes = _useRequest18.data;
|
|
405
402
|
return {
|
|
406
403
|
workAnaJxhRes: (workAnaJxhRes === null || workAnaJxhRes === void 0 ? void 0 : workAnaJxhRes.data) || []
|
|
407
404
|
};
|
|
408
405
|
},
|
|
409
406
|
useWorkAnaLjsy: function useWorkAnaLjsy(carId, startDate, endDate, isReleate) {
|
|
410
407
|
//垃圾收运-作业分析
|
|
411
|
-
var
|
|
408
|
+
var _useRequest19 = (0, _ahooks.useRequest)(function () {
|
|
412
409
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoAnalysisByCarId"), {
|
|
413
410
|
data: {
|
|
414
411
|
carId: carId,
|
|
@@ -420,14 +417,14 @@ var BaseService = exports.BaseService = {
|
|
|
420
417
|
ready: isReleate,
|
|
421
418
|
refreshDeps: [carId, startDate, endDate]
|
|
422
419
|
}),
|
|
423
|
-
workAnaLjsyRes =
|
|
420
|
+
workAnaLjsyRes = _useRequest19.data;
|
|
424
421
|
return {
|
|
425
422
|
workAnaLjsyRes: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.data) || {}
|
|
426
423
|
};
|
|
427
424
|
},
|
|
428
425
|
useWorkAnaCC: function useWorkAnaCC(carId, startDate, endDate, isReleate) {
|
|
429
426
|
//垃圾收运-作业分析
|
|
430
|
-
var
|
|
427
|
+
var _useRequest20 = (0, _ahooks.useRequest)(function () {
|
|
431
428
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/gisOnePage/carCollectSummaryLine"), {
|
|
432
429
|
data: {
|
|
433
430
|
carId: carId,
|
|
@@ -439,7 +436,7 @@ var BaseService = exports.BaseService = {
|
|
|
439
436
|
ready: isReleate,
|
|
440
437
|
refreshDeps: [carId, startDate, endDate]
|
|
441
438
|
}),
|
|
442
|
-
workAnaLjsyRes =
|
|
439
|
+
workAnaLjsyRes = _useRequest20.data;
|
|
443
440
|
return {
|
|
444
441
|
workAnaLjsyRes: (workAnaLjsyRes === null || workAnaLjsyRes === void 0 ? void 0 : workAnaLjsyRes.data) || {}
|
|
445
442
|
};
|
|
@@ -447,7 +444,7 @@ var BaseService = exports.BaseService = {
|
|
|
447
444
|
};
|
|
448
445
|
var AlarmService = exports.AlarmService = {
|
|
449
446
|
useAlarmType: function useAlarmType(carIds, startTime, endTime, source) {
|
|
450
|
-
var
|
|
447
|
+
var _useRequest21 = (0, _ahooks.useRequest)(function () {
|
|
451
448
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/alarm/record/statisticsPage"), {
|
|
452
449
|
data: {
|
|
453
450
|
carIds: carIds,
|
|
@@ -459,7 +456,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
459
456
|
ready: source === 'GPS',
|
|
460
457
|
refreshDeps: [carIds, startTime, endTime, source]
|
|
461
458
|
}),
|
|
462
|
-
alarmTypesRes =
|
|
459
|
+
alarmTypesRes = _useRequest21.data;
|
|
463
460
|
return {
|
|
464
461
|
alarmTypes: (alarmTypesRes === null || alarmTypesRes === void 0 ? void 0 : alarmTypesRes.data) || {
|
|
465
462
|
totalCount: 0,
|
|
@@ -468,7 +465,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
468
465
|
};
|
|
469
466
|
},
|
|
470
467
|
useAlarmTypeWork: function useAlarmTypeWork(carIds, startTime, endTime, source) {
|
|
471
|
-
var
|
|
468
|
+
var _useRequest22 = (0, _ahooks.useRequest)(function () {
|
|
472
469
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/task/alarm/alarmSum"), {
|
|
473
470
|
data: {
|
|
474
471
|
carIds: carIds,
|
|
@@ -480,7 +477,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
480
477
|
ready: source === 'WORK',
|
|
481
478
|
refreshDeps: [carIds, startTime, endTime, source]
|
|
482
479
|
}),
|
|
483
|
-
data =
|
|
480
|
+
data = _useRequest22.data;
|
|
484
481
|
return {
|
|
485
482
|
alarmTypesWork: (data === null || data === void 0 ? void 0 : data.data) || {
|
|
486
483
|
total: 0,
|
|
@@ -490,7 +487,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
490
487
|
};
|
|
491
488
|
},
|
|
492
489
|
useAlarmList: function useAlarmList(carCode, alarmStrategyName, startTime, endTime, page) {
|
|
493
|
-
var
|
|
490
|
+
var _useRequest23 = (0, _ahooks.useRequest)(function () {
|
|
494
491
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/alarm/record/pageList"), {
|
|
495
492
|
data: {
|
|
496
493
|
carCode: carCode,
|
|
@@ -505,13 +502,13 @@ var AlarmService = exports.AlarmService = {
|
|
|
505
502
|
ready: !!carCode,
|
|
506
503
|
refreshDeps: [carCode, alarmStrategyName, startTime, endTime, page]
|
|
507
504
|
}),
|
|
508
|
-
recordRes =
|
|
505
|
+
recordRes = _useRequest23.data;
|
|
509
506
|
return {
|
|
510
507
|
alarmRecord: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {}
|
|
511
508
|
};
|
|
512
509
|
},
|
|
513
510
|
useAlarmListWork: function useAlarmListWork(carIds, alarmTypeCode, startDate, endDate, page) {
|
|
514
|
-
var
|
|
511
|
+
var _useRequest24 = (0, _ahooks.useRequest)(function () {
|
|
515
512
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/task/alarm/alarmPage"), {
|
|
516
513
|
data: {
|
|
517
514
|
carIds: carIds,
|
|
@@ -526,7 +523,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
526
523
|
}, {
|
|
527
524
|
refreshDeps: [carIds, alarmTypeCode, startDate, endDate, page]
|
|
528
525
|
}),
|
|
529
|
-
recordRes =
|
|
526
|
+
recordRes = _useRequest24.data;
|
|
530
527
|
return {
|
|
531
528
|
alarmRecordWork: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {}
|
|
532
529
|
};
|
|
@@ -534,7 +531,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
534
531
|
useAlarmTodayRun: function useAlarmTodayRun(carId, beginTime, endTime, source) {
|
|
535
532
|
var _a;
|
|
536
533
|
//今日运行
|
|
537
|
-
var
|
|
534
|
+
var _useRequest25 = (0, _ahooks.useRequest)(function () {
|
|
538
535
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/task/alarm/alarmSumByTypeAndDay"), {
|
|
539
536
|
data: {
|
|
540
537
|
carId: carId,
|
|
@@ -546,7 +543,7 @@ var AlarmService = exports.AlarmService = {
|
|
|
546
543
|
ready: source === 'WORK',
|
|
547
544
|
refreshDeps: [carId, beginTime, endTime, source]
|
|
548
545
|
}),
|
|
549
|
-
data =
|
|
546
|
+
data = _useRequest25.data;
|
|
550
547
|
var pieData = [];
|
|
551
548
|
var lineData = {
|
|
552
549
|
legends: [],
|
|
@@ -584,19 +581,19 @@ var AlarmService = exports.AlarmService = {
|
|
|
584
581
|
var WorkServicve = exports.WorkServicve = {
|
|
585
582
|
useWorkTypeJxh: function useWorkTypeJxh(service) {
|
|
586
583
|
//机械化作业类型
|
|
587
|
-
var
|
|
584
|
+
var _useRequest26 = (0, _ahooks.useRequest)(function () {
|
|
588
585
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/v101/common/listWorkType"), {
|
|
589
586
|
data: {}
|
|
590
587
|
});
|
|
591
588
|
}),
|
|
592
|
-
workTypeRes =
|
|
589
|
+
workTypeRes = _useRequest26.data;
|
|
593
590
|
return {
|
|
594
591
|
workTypeRes: (workTypeRes === null || workTypeRes === void 0 ? void 0 : workTypeRes.data) || []
|
|
595
592
|
};
|
|
596
593
|
},
|
|
597
594
|
useRecordJxh: function useRecordJxh(carId, workTypeCodes, startDate, endDate, pageNo, order, service) {
|
|
598
595
|
//机械化
|
|
599
|
-
var
|
|
596
|
+
var _useRequest27 = (0, _ahooks.useRequest)(function () {
|
|
600
597
|
return _utils.request.get("".concat(prefix, "/cloud/").concat(service ? service : 'zyqs-reborn', "/api/v1.5/noshift/page"), {
|
|
601
598
|
data: {
|
|
602
599
|
carId: carId,
|
|
@@ -614,14 +611,14 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
614
611
|
}, {
|
|
615
612
|
refreshDeps: [carId, workTypeCodes, startDate, endDate, pageNo, order]
|
|
616
613
|
}),
|
|
617
|
-
recordJxhRes =
|
|
614
|
+
recordJxhRes = _useRequest27.data;
|
|
618
615
|
return {
|
|
619
616
|
recordJxhRes: (recordJxhRes === null || recordJxhRes === void 0 ? void 0 : recordJxhRes.data) || []
|
|
620
617
|
};
|
|
621
618
|
},
|
|
622
619
|
useWorkSummaryLjsy: function useWorkSummaryLjsy(carId, startDate, endDate) {
|
|
623
620
|
//垃圾收运头部统计
|
|
624
|
-
var
|
|
621
|
+
var _useRequest28 = (0, _ahooks.useRequest)(function () {
|
|
625
622
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoSummaryByCarId"), {
|
|
626
623
|
data: {
|
|
627
624
|
carId: carId,
|
|
@@ -632,14 +629,14 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
632
629
|
}, {
|
|
633
630
|
refreshDeps: [carId, startDate, endDate]
|
|
634
631
|
}),
|
|
635
|
-
summaryLjsy =
|
|
632
|
+
summaryLjsy = _useRequest28.data;
|
|
636
633
|
return {
|
|
637
634
|
summaryLjsy: (summaryLjsy === null || summaryLjsy === void 0 ? void 0 : summaryLjsy.data) || []
|
|
638
635
|
};
|
|
639
636
|
},
|
|
640
637
|
useRecordLjsy: function useRecordLjsy(carIds, startTime, endTime, page, sort) {
|
|
641
638
|
//机械化
|
|
642
|
-
var
|
|
639
|
+
var _useRequest29 = (0, _ahooks.useRequest)(function () {
|
|
643
640
|
return _utils.request.get("".concat(prefix, "/cloud/ljsy-reborn/api/collect/record/detail/page"), {
|
|
644
641
|
data: {
|
|
645
642
|
carIds: carIds,
|
|
@@ -653,7 +650,7 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
653
650
|
}, {
|
|
654
651
|
refreshDeps: [carIds, startTime, endTime, page, sort]
|
|
655
652
|
}),
|
|
656
|
-
recordLjsyRes =
|
|
653
|
+
recordLjsyRes = _useRequest29.data;
|
|
657
654
|
return {
|
|
658
655
|
recordLjsyRes: (recordLjsyRes === null || recordLjsyRes === void 0 ? void 0 : recordLjsyRes.data) || []
|
|
659
656
|
};
|
|
@@ -663,7 +660,7 @@ var WorkServicve = exports.WorkServicve = {
|
|
|
663
660
|
var OilService = exports.OilService = {
|
|
664
661
|
useHasOil: function useHasOil(carId) {
|
|
665
662
|
var _a;
|
|
666
|
-
var
|
|
663
|
+
var _useRequest30 = (0, _ahooks.useRequest)(function () {
|
|
667
664
|
return _utils.request.get("".concat(prefix, "/cloud/gps-reborn/car/config/getById"), {
|
|
668
665
|
data: {
|
|
669
666
|
id: carId
|
|
@@ -672,13 +669,13 @@ var OilService = exports.OilService = {
|
|
|
672
669
|
}, {
|
|
673
670
|
refreshDeps: [carId]
|
|
674
671
|
}),
|
|
675
|
-
data =
|
|
672
|
+
data = _useRequest30.data;
|
|
676
673
|
return {
|
|
677
674
|
beenOilStatus: (_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.beenOilStatus
|
|
678
675
|
};
|
|
679
676
|
},
|
|
680
677
|
useOilLine: function useOilLine(carId, startTime, endTime) {
|
|
681
|
-
var
|
|
678
|
+
var _useRequest31 = (0, _ahooks.useRequest)(function () {
|
|
682
679
|
return _utils.request.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/oilLine.smvc"), {
|
|
683
680
|
data: {
|
|
684
681
|
carId: carId,
|
|
@@ -689,13 +686,13 @@ var OilService = exports.OilService = {
|
|
|
689
686
|
}, {
|
|
690
687
|
refreshDeps: [carId, startTime, endTime]
|
|
691
688
|
}),
|
|
692
|
-
oilLineRes =
|
|
689
|
+
oilLineRes = _useRequest31.data;
|
|
693
690
|
return {
|
|
694
691
|
oilLineRes: (oilLineRes === null || oilLineRes === void 0 ? void 0 : oilLineRes.data) || []
|
|
695
692
|
};
|
|
696
693
|
},
|
|
697
694
|
useSummary: function useSummary(carId, startTime, endTime) {
|
|
698
|
-
var
|
|
695
|
+
var _useRequest32 = (0, _ahooks.useRequest)(function () {
|
|
699
696
|
return _utils.request.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/summary.smvc"), {
|
|
700
697
|
data: {
|
|
701
698
|
carId: carId,
|
|
@@ -706,13 +703,13 @@ var OilService = exports.OilService = {
|
|
|
706
703
|
}, {
|
|
707
704
|
refreshDeps: [carId, startTime, endTime]
|
|
708
705
|
}),
|
|
709
|
-
summaryRes =
|
|
706
|
+
summaryRes = _useRequest32.data;
|
|
710
707
|
return {
|
|
711
708
|
summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
|
|
712
709
|
};
|
|
713
710
|
},
|
|
714
711
|
useRecord: function useRecord(carId, startTime, endTime, page, sort) {
|
|
715
|
-
var
|
|
712
|
+
var _useRequest33 = (0, _ahooks.useRequest)(function () {
|
|
716
713
|
return _utils.request.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/simplePage.smvc"), {
|
|
717
714
|
data: {
|
|
718
715
|
carId: carId,
|
|
@@ -727,7 +724,7 @@ var OilService = exports.OilService = {
|
|
|
727
724
|
}, {
|
|
728
725
|
refreshDeps: [carId, startTime, endTime, page, sort]
|
|
729
726
|
}),
|
|
730
|
-
recordRes =
|
|
727
|
+
recordRes = _useRequest33.data;
|
|
731
728
|
return {
|
|
732
729
|
recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
|
|
733
730
|
};
|
|
@@ -736,7 +733,7 @@ var OilService = exports.OilService = {
|
|
|
736
733
|
//水耗
|
|
737
734
|
var WaterService = exports.WaterService = {
|
|
738
735
|
useSummary: function useSummary(carId, startTime, endTime) {
|
|
739
|
-
var
|
|
736
|
+
var _useRequest34 = (0, _ahooks.useRequest)(function () {
|
|
740
737
|
return _utils.request.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/summary"), {
|
|
741
738
|
data: {
|
|
742
739
|
hasWaterStatus: true,
|
|
@@ -748,13 +745,13 @@ var WaterService = exports.WaterService = {
|
|
|
748
745
|
}, {
|
|
749
746
|
refreshDeps: [carId, startTime, endTime]
|
|
750
747
|
}),
|
|
751
|
-
summaryRes =
|
|
748
|
+
summaryRes = _useRequest34.data;
|
|
752
749
|
return {
|
|
753
750
|
summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
|
|
754
751
|
};
|
|
755
752
|
},
|
|
756
753
|
useRecord: function useRecord(carId, startDate, endDate, order) {
|
|
757
|
-
var
|
|
754
|
+
var _useRequest35 = (0, _ahooks.useRequest)(function () {
|
|
758
755
|
return _utils.request.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/queryList"), {
|
|
759
756
|
data: {
|
|
760
757
|
hasWaterStatus: true,
|
|
@@ -768,7 +765,7 @@ var WaterService = exports.WaterService = {
|
|
|
768
765
|
}, {
|
|
769
766
|
refreshDeps: [carId, startDate, endDate, order]
|
|
770
767
|
}),
|
|
771
|
-
recordRes =
|
|
768
|
+
recordRes = _useRequest35.data;
|
|
772
769
|
return {
|
|
773
770
|
recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
|
|
774
771
|
};
|
|
@@ -777,7 +774,7 @@ var WaterService = exports.WaterService = {
|
|
|
777
774
|
// 维保
|
|
778
775
|
var MaintenanceService = exports.MaintenanceService = {
|
|
779
776
|
useMaintenance: function useMaintenance(carId) {
|
|
780
|
-
var
|
|
777
|
+
var _useRequest36 = (0, _ahooks.useRequest)(function () {
|
|
781
778
|
return _utils.request.get("".concat(prefix, "/cloud/clwb/api/v101/carComprehensiveBoard/carWbAnalyse"), {
|
|
782
779
|
data: {
|
|
783
780
|
carId: carId
|
|
@@ -786,7 +783,7 @@ var MaintenanceService = exports.MaintenanceService = {
|
|
|
786
783
|
}, {
|
|
787
784
|
refreshDeps: [carId]
|
|
788
785
|
}),
|
|
789
|
-
maintenanceRes =
|
|
786
|
+
maintenanceRes = _useRequest36.data;
|
|
790
787
|
return {
|
|
791
788
|
maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
|
|
792
789
|
};
|
|
@@ -798,13 +795,13 @@ var CollectionService = exports.CollectionService = {
|
|
|
798
795
|
var carId = _ref2.carId,
|
|
799
796
|
startDay = _ref2.startDay,
|
|
800
797
|
endDay = _ref2.endDay;
|
|
801
|
-
var
|
|
802
|
-
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/
|
|
798
|
+
var _useRequest37 = (0, _ahooks.useRequest)(function () {
|
|
799
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regenerator().m(function _callee2() {
|
|
803
800
|
var res;
|
|
804
|
-
return
|
|
805
|
-
while (1) switch (_context2.
|
|
801
|
+
return _regenerator().w(function (_context2) {
|
|
802
|
+
while (1) switch (_context2.n) {
|
|
806
803
|
case 0:
|
|
807
|
-
_context2.
|
|
804
|
+
_context2.n = 1;
|
|
808
805
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/collectPeriod/getPeriodListByCarId"), {
|
|
809
806
|
data: {
|
|
810
807
|
carId: carId,
|
|
@@ -812,12 +809,9 @@ var CollectionService = exports.CollectionService = {
|
|
|
812
809
|
endDay: endDay
|
|
813
810
|
}
|
|
814
811
|
});
|
|
815
|
-
case
|
|
816
|
-
res = _context2.
|
|
817
|
-
return _context2.
|
|
818
|
-
case 4:
|
|
819
|
-
case "end":
|
|
820
|
-
return _context2.stop();
|
|
812
|
+
case 1:
|
|
813
|
+
res = _context2.v;
|
|
814
|
+
return _context2.a(2, (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
821
815
|
}
|
|
822
816
|
}, _callee2);
|
|
823
817
|
}));
|
|
@@ -825,7 +819,7 @@ var CollectionService = exports.CollectionService = {
|
|
|
825
819
|
refreshDeps: [carId, startDay, endDay],
|
|
826
820
|
ready: !!carId
|
|
827
821
|
}),
|
|
828
|
-
data =
|
|
822
|
+
data = _useRequest37.data;
|
|
829
823
|
return data || [];
|
|
830
824
|
},
|
|
831
825
|
// 收运记录
|
|
@@ -833,13 +827,13 @@ var CollectionService = exports.CollectionService = {
|
|
|
833
827
|
var id = _ref3.id,
|
|
834
828
|
startTime = _ref3.startTime,
|
|
835
829
|
endTime = _ref3.endTime;
|
|
836
|
-
var
|
|
837
|
-
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/
|
|
830
|
+
var _useRequest38 = (0, _ahooks.useRequest)(function () {
|
|
831
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regenerator().m(function _callee3() {
|
|
838
832
|
var res;
|
|
839
|
-
return
|
|
840
|
-
while (1) switch (_context3.
|
|
833
|
+
return _regenerator().w(function (_context3) {
|
|
834
|
+
while (1) switch (_context3.n) {
|
|
841
835
|
case 0:
|
|
842
|
-
_context3.
|
|
836
|
+
_context3.n = 1;
|
|
843
837
|
return _utils.request.get("".concat(prefix, "/cloud/cc-reborn/api/v101/rtCarDataDetail/list"), {
|
|
844
838
|
data: {
|
|
845
839
|
carId: id,
|
|
@@ -847,12 +841,9 @@ var CollectionService = exports.CollectionService = {
|
|
|
847
841
|
queryEndTime: endTime
|
|
848
842
|
}
|
|
849
843
|
});
|
|
850
|
-
case
|
|
851
|
-
res = _context3.
|
|
852
|
-
return _context3.
|
|
853
|
-
case 4:
|
|
854
|
-
case "end":
|
|
855
|
-
return _context3.stop();
|
|
844
|
+
case 1:
|
|
845
|
+
res = _context3.v;
|
|
846
|
+
return _context3.a(2, (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
856
847
|
}
|
|
857
848
|
}, _callee3);
|
|
858
849
|
}));
|
|
@@ -860,7 +851,7 @@ var CollectionService = exports.CollectionService = {
|
|
|
860
851
|
refreshDeps: [id, startTime, endTime],
|
|
861
852
|
ready: !!id
|
|
862
853
|
}),
|
|
863
|
-
data =
|
|
854
|
+
data = _useRequest38.data;
|
|
864
855
|
return data;
|
|
865
856
|
}
|
|
866
857
|
};
|