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