@vtx/modals2 6.0.0-beta.3 → 6.0.0-beta.30
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/_components/index.js +1 -0
- package/lib/_components/vm-appraisal-info/api.js +55 -0
- package/lib/_components/vm-appraisal-info/imgs/count.png +0 -0
- package/lib/_components/vm-appraisal-info/imgs/count_light.png +0 -0
- package/lib/_components/vm-appraisal-info/imgs/subtract.png +0 -0
- package/lib/_components/vm-appraisal-info/imgs/subtract_light.png +0 -0
- package/lib/_components/vm-appraisal-info/index.js +205 -0
- package/lib/_components/vm-appraisal-info/index.less +7 -0
- package/lib/_components/vm-bar-charts/index.js +4 -4
- package/lib/_components/vm-calendar/index.js +1 -1
- package/lib/_components/vm-empty/index.js +1 -1
- package/lib/_components/vm-factor/index.js +1 -1
- package/lib/_components/vm-filter/index.js +1 -1
- package/lib/_components/vm-filter/style/index.less +7 -11
- package/lib/_components/vm-info-collection/index.js +1 -1
- package/lib/_components/vm-line-charts/index.js +4 -1
- package/lib/_components/vm-map/index.js +1 -1
- package/lib/_components/vm-progress/index.js +1 -1
- package/lib/_components/vm-repair-maintain/RmInfoSummary.js +1 -1
- package/lib/_components/vm-repair-maintain/RmMonthTrend.js +1 -1
- package/lib/_components/vm-repair-maintain/RmRecord.js +1 -1
- package/lib/_components/vm-repair-maintain/RmType.js +1 -1
- package/lib/_components/vm-repair-maintain/index.js +35 -3
- package/lib/_components/vm-table/index.js +1 -1
- package/lib/_components/vm-tag/index.js +1 -1
- package/lib/_components/vm-title/index.js +1 -1
- package/lib/_components/vm-video/HistoryGrid.js +53 -3
- package/lib/_components/vm-video/RealtimeGrid.js +24 -3
- package/lib/_components/vm-video/index.js +100 -38
- package/lib/_components/vm-video/index.less +18 -14
- package/lib/_components/vm-wrapper/index.js +1 -1
- package/lib/_hooks/useGetChannels.js +20 -6
- package/lib/_hooks/useUmsService.js +36 -0
- package/lib/_service/index.js +7 -33
- package/lib/_util/http.js +31 -4
- package/lib/_util/iconSvgHtml.js +15 -5
- package/lib/_util/index.js +1 -1
- package/lib/locales/en.json +1517 -1516
- package/lib/locales/zh-CN.json +1517 -1516
- package/lib/vtx-area-modal/api.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-base-modal/Header/index.js +2 -77
- package/lib/vtx-base-modal/Header/index.less +1 -0
- package/lib/vtx-base-modal/Tabs/index.js +2 -1
- package/lib/vtx-base-modal/index.js +1 -1
- package/lib/vtx-base-modal/style/index.less +4 -1
- package/lib/vtx-car-modal/api.js +322 -208
- package/lib/vtx-car-modal/components/Info/index.js +2 -2
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/EleUse/index.js +20 -8
- package/lib/vtx-car-modal/content/Common/Maintenance/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilUse/index.js +18 -6
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -169
- package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/WaterUse/index.js +10 -5
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +2 -2
- package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +17 -17
- package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +3 -2
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +10 -9
- package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +12 -12
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +6 -5
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +9 -7
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +7 -4
- package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +2 -2
- package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +1 -1
- package/lib/vtx-car-modal/index.js +33 -22
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +1 -1
- package/lib/vtx-cc-unit-modal/index.js +1 -1
- package/lib/vtx-cp-modal/api.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +3 -6
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +8 -2
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +9 -5
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +3 -3
- package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cp-modal/index.js +13 -13
- package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-default-modal/index.js +8 -7
- package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +1 -1
- package/lib/vtx-device-modal/index.js +4 -4
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +3 -3
- package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +12 -6
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +3 -3
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
- package/lib/vtx-df-modal/components/Calendar/index.js +10 -3
- package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +10 -3
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Table.js +3 -3
- package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
- package/lib/vtx-df-modal/index.js +20 -25
- package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/index.js +1 -1
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-ysqy-modal/index.js +1 -1
- package/lib/vtx-kh-modal/api2.js +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-kh-modal/components/Record/index.js +1 -205
- package/lib/vtx-kh-modal/index.js +1 -1
- package/lib/vtx-qyry-modal/api.js +1 -1
- package/lib/vtx-qyry-modal/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +3 -0
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +1 -1
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +1 -1
- package/lib/vtx-restaurant-modal/config.js +11 -3
- package/lib/vtx-restaurant-modal/index.js +1 -1
- package/lib/vtx-road-modal/api.js +6 -2
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +11 -2
- package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-road-modal/components/Calendar/index.js +3 -3
- package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +9 -2
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +1 -1
- package/lib/vtx-road-modal/components/LaneCalendar/index.js +4 -1
- package/lib/vtx-road-modal/components/LaneStatistical/index.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
- package/lib/vtx-road-modal/index.js +21 -5
- package/lib/vtx-road-modal/utils/url.js +12 -0
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/index.js +1 -1
- package/lib/vtx-shxq-modal/api.js +6 -6
- package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +1 -1
- package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +3 -3
- package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +20 -7
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/index.js +21 -4
- package/lib/vtx-staff-modal/api.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +5 -2
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-staff-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-staff-modal/components/Calendar/index.less +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.js +1 -1
- package/lib/vtx-staff-modal/index.js +1 -1
- package/lib/vtx-tfd-modal/api.js +3 -3
- package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +3 -3
- package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +1 -1
- package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-wr-modal/components/Appraise/index.js +3 -3
- package/lib/vtx-wr-modal/components/Base/Jbxx.js +4 -47
- package/lib/vtx-wr-modal/components/Base/Ptss.js +42 -8
- package/lib/vtx-wr-modal/components/Base/Sjjg.js +1 -1
- package/lib/vtx-wr-modal/components/Base/index.js +45 -14
- package/lib/vtx-wr-modal/components/Base/index.less +87 -4
- package/lib/vtx-wr-modal/components/Build/index.js +1 -1
- package/lib/vtx-wr-modal/components/File/index.js +1 -1
- package/lib/vtx-wr-modal/components/Score/index.js +3 -3
- package/lib/vtx-wr-modal/index.js +34 -6
- package/lib/vtx-zf-modal/components/Base/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +1 -1
- package/lib/vtx-zf-modal/components/File/index.js +1 -1
- package/lib/vtx-zf-modal/components/Process/index.js +1 -1
- package/lib/vtx-zf-modal/components/Record/index.js +1 -1
- package/lib/vtx-zf-modal/components/Right/index.js +1 -1
- package/lib/vtx-zg-modal/api.js +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-zg-modal/index.js +1 -1
- package/lib/vtx-zzz-modal/index.js +29 -22
- package/package.json +6 -6
package/lib/vtx-car-modal/api.js
CHANGED
|
@@ -448,7 +448,7 @@ export var JxhService = {
|
|
|
448
448
|
useWorkSummaryJxh: function useWorkSummaryJxh(carId, startDate, endDate, matchHistory) {
|
|
449
449
|
//机械化作业统计
|
|
450
450
|
var _useRequest18 = useRequest(function () {
|
|
451
|
-
return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/kanban/workInfoStatisticsByCarId"), {
|
|
451
|
+
return http.get("".concat(prefix, "/cloud/zyqs-zqb/api/noshift/kanban/v2/workInfoStatisticsByCarId"), {
|
|
452
452
|
body: {
|
|
453
453
|
carId: carId,
|
|
454
454
|
startDate: startDate,
|
|
@@ -778,62 +778,62 @@ export var LjsyService = {
|
|
|
778
778
|
loading: loading
|
|
779
779
|
};
|
|
780
780
|
},
|
|
781
|
-
|
|
781
|
+
useGetWorkInfoNew: function useGetWorkInfoNew(_ref13) {
|
|
782
782
|
var carId = _ref13.carId,
|
|
783
783
|
startDate = _ref13.startDate,
|
|
784
|
-
endDate = _ref13.endDate
|
|
785
|
-
page = _ref13.page,
|
|
786
|
-
sort = _ref13.sort;
|
|
784
|
+
endDate = _ref13.endDate;
|
|
787
785
|
var _useRequest34 = useRequest(function () {
|
|
788
|
-
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/
|
|
786
|
+
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoTimesAnalysisByCarId"), {
|
|
789
787
|
body: {
|
|
790
788
|
carId: carId,
|
|
791
789
|
startDate: startDate,
|
|
792
|
-
endDate: endDate
|
|
793
|
-
page: page,
|
|
794
|
-
size: 10,
|
|
795
|
-
sort: sort
|
|
790
|
+
endDate: endDate
|
|
796
791
|
}
|
|
797
792
|
});
|
|
798
793
|
}, {
|
|
799
|
-
|
|
800
|
-
refreshDeps: [carId, startDate, endDate, page, sort]
|
|
794
|
+
refreshDeps: [carId, startDate, endDate]
|
|
801
795
|
}),
|
|
802
|
-
|
|
796
|
+
data = _useRequest34.data,
|
|
803
797
|
loading = _useRequest34.loading;
|
|
804
798
|
return {
|
|
805
|
-
|
|
799
|
+
taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
|
|
806
800
|
loading: loading
|
|
807
801
|
};
|
|
808
802
|
},
|
|
809
|
-
|
|
803
|
+
useAlarmList: function useAlarmList(_ref14) {
|
|
810
804
|
var carId = _ref14.carId,
|
|
811
805
|
startDate = _ref14.startDate,
|
|
812
|
-
endDate = _ref14.endDate
|
|
806
|
+
endDate = _ref14.endDate,
|
|
807
|
+
page = _ref14.page,
|
|
808
|
+
sort = _ref14.sort;
|
|
813
809
|
var _useRequest35 = useRequest(function () {
|
|
814
|
-
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/
|
|
810
|
+
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmDetailByCarId"), {
|
|
815
811
|
body: {
|
|
816
812
|
carId: carId,
|
|
817
813
|
startDate: startDate,
|
|
818
|
-
endDate: endDate
|
|
814
|
+
endDate: endDate,
|
|
815
|
+
page: page,
|
|
816
|
+
size: 10,
|
|
817
|
+
sort: sort
|
|
819
818
|
}
|
|
820
819
|
});
|
|
821
820
|
}, {
|
|
822
|
-
|
|
821
|
+
ready: !!carId,
|
|
822
|
+
refreshDeps: [carId, startDate, endDate, page, sort]
|
|
823
823
|
}),
|
|
824
|
-
|
|
824
|
+
recordRes = _useRequest35.data,
|
|
825
825
|
loading = _useRequest35.loading;
|
|
826
826
|
return {
|
|
827
|
-
|
|
827
|
+
alarmRecord: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || {},
|
|
828
828
|
loading: loading
|
|
829
829
|
};
|
|
830
830
|
},
|
|
831
|
-
|
|
831
|
+
useGetWorkInfoAnalysis: function useGetWorkInfoAnalysis(_ref15) {
|
|
832
832
|
var carId = _ref15.carId,
|
|
833
833
|
startDate = _ref15.startDate,
|
|
834
834
|
endDate = _ref15.endDate;
|
|
835
835
|
var _useRequest36 = useRequest(function () {
|
|
836
|
-
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/
|
|
836
|
+
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getWorkInfoAnalysisByCarId"), {
|
|
837
837
|
body: {
|
|
838
838
|
carId: carId,
|
|
839
839
|
startDate: startDate,
|
|
@@ -846,16 +846,16 @@ export var LjsyService = {
|
|
|
846
846
|
data = _useRequest36.data,
|
|
847
847
|
loading = _useRequest36.loading;
|
|
848
848
|
return {
|
|
849
|
-
|
|
849
|
+
workInfoAnalysis: (data === null || data === void 0 ? void 0 : data.data) || {},
|
|
850
850
|
loading: loading
|
|
851
851
|
};
|
|
852
852
|
},
|
|
853
|
-
|
|
853
|
+
useGetAlarmInfo: function useGetAlarmInfo(_ref16) {
|
|
854
854
|
var carId = _ref16.carId,
|
|
855
855
|
startDate = _ref16.startDate,
|
|
856
856
|
endDate = _ref16.endDate;
|
|
857
857
|
var _useRequest37 = useRequest(function () {
|
|
858
|
-
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/
|
|
858
|
+
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmInfoByCarId"), {
|
|
859
859
|
body: {
|
|
860
860
|
carId: carId,
|
|
861
861
|
startDate: startDate,
|
|
@@ -868,17 +868,39 @@ export var LjsyService = {
|
|
|
868
868
|
data = _useRequest37.data,
|
|
869
869
|
loading = _useRequest37.loading;
|
|
870
870
|
return {
|
|
871
|
-
|
|
871
|
+
alarmInfo: (data === null || data === void 0 ? void 0 : data.data) || [],
|
|
872
872
|
loading: loading
|
|
873
873
|
};
|
|
874
874
|
},
|
|
875
|
-
|
|
875
|
+
useGetAlarmInfoAnalysis: function useGetAlarmInfoAnalysis(_ref17) {
|
|
876
876
|
var carId = _ref17.carId,
|
|
877
877
|
startDate = _ref17.startDate,
|
|
878
|
-
endDate = _ref17.endDate
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
878
|
+
endDate = _ref17.endDate;
|
|
879
|
+
var _useRequest38 = useRequest(function () {
|
|
880
|
+
return http.get("".concat(prefix, "/cloud/ljsy-reborn/api/kanban/getAlarmInfoAnalysisByCarId"), {
|
|
881
|
+
body: {
|
|
882
|
+
carId: carId,
|
|
883
|
+
startDate: startDate,
|
|
884
|
+
endDate: endDate
|
|
885
|
+
}
|
|
886
|
+
});
|
|
887
|
+
}, {
|
|
888
|
+
refreshDeps: [carId, startDate, endDate]
|
|
889
|
+
}),
|
|
890
|
+
data = _useRequest38.data,
|
|
891
|
+
loading = _useRequest38.loading;
|
|
892
|
+
return {
|
|
893
|
+
alarmInfoAnalysis: (data === null || data === void 0 ? void 0 : data.data) || {},
|
|
894
|
+
loading: loading
|
|
895
|
+
};
|
|
896
|
+
},
|
|
897
|
+
useGetWorkDetail: function useGetWorkDetail(_ref18) {
|
|
898
|
+
var carId = _ref18.carId,
|
|
899
|
+
startDate = _ref18.startDate,
|
|
900
|
+
endDate = _ref18.endDate,
|
|
901
|
+
page = _ref18.page,
|
|
902
|
+
sort = _ref18.sort;
|
|
903
|
+
var _useRequest39 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
882
904
|
var res;
|
|
883
905
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
884
906
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -906,19 +928,19 @@ export var LjsyService = {
|
|
|
906
928
|
refreshDeps: [carId, startDate, endDate, page, sort],
|
|
907
929
|
ready: !!carId
|
|
908
930
|
}),
|
|
909
|
-
|
|
910
|
-
data =
|
|
931
|
+
_useRequest39$data = _useRequest39.data,
|
|
932
|
+
data = _useRequest39$data === void 0 ? {} : _useRequest39$data;
|
|
911
933
|
return {
|
|
912
934
|
workDetailData: data
|
|
913
935
|
};
|
|
914
936
|
}
|
|
915
937
|
};
|
|
916
938
|
export var LjzyService = {
|
|
917
|
-
useGetCarSumByDate: function useGetCarSumByDate(
|
|
918
|
-
var carCode =
|
|
919
|
-
startDate =
|
|
920
|
-
endDate =
|
|
921
|
-
var
|
|
939
|
+
useGetCarSumByDate: function useGetCarSumByDate(_ref20) {
|
|
940
|
+
var carCode = _ref20.carCode,
|
|
941
|
+
startDate = _ref20.startDate,
|
|
942
|
+
endDate = _ref20.endDate;
|
|
943
|
+
var _useRequest40 = useRequest(function () {
|
|
922
944
|
return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDate.smvc"), {
|
|
923
945
|
body: {
|
|
924
946
|
carCode: carCode,
|
|
@@ -930,18 +952,42 @@ export var LjzyService = {
|
|
|
930
952
|
refreshDeps: [carCode, startDate, endDate],
|
|
931
953
|
ready: !!carCode
|
|
932
954
|
}),
|
|
933
|
-
data =
|
|
934
|
-
loading =
|
|
955
|
+
data = _useRequest40.data,
|
|
956
|
+
loading = _useRequest40.loading;
|
|
935
957
|
return {
|
|
936
958
|
taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
|
|
937
959
|
loading: loading
|
|
938
960
|
};
|
|
939
961
|
},
|
|
940
|
-
|
|
941
|
-
var carCode =
|
|
942
|
-
startDate =
|
|
943
|
-
endDate =
|
|
944
|
-
var
|
|
962
|
+
useGetCarSumByDateZdReborn: function useGetCarSumByDateZdReborn(_ref21) {
|
|
963
|
+
var carCode = _ref21.carCode,
|
|
964
|
+
startDate = _ref21.startDate,
|
|
965
|
+
endDate = _ref21.endDate;
|
|
966
|
+
var _useRequest41 = useRequest(function () {
|
|
967
|
+
return http.get("".concat(prefix, "/cloud/zd-reborn/api/dataBoard/getWeightSummaryTrend"), {
|
|
968
|
+
body: {
|
|
969
|
+
carCode: carCode,
|
|
970
|
+
startDate: startDate,
|
|
971
|
+
endDate: endDate,
|
|
972
|
+
dateType: 'day'
|
|
973
|
+
}
|
|
974
|
+
});
|
|
975
|
+
}, {
|
|
976
|
+
refreshDeps: [carCode, startDate, endDate],
|
|
977
|
+
ready: !!carCode
|
|
978
|
+
}),
|
|
979
|
+
data = _useRequest41.data,
|
|
980
|
+
loading = _useRequest41.loading;
|
|
981
|
+
return {
|
|
982
|
+
taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
|
|
983
|
+
loading: loading
|
|
984
|
+
};
|
|
985
|
+
},
|
|
986
|
+
useGetCarSumByDateAndDisposeUnit: function useGetCarSumByDateAndDisposeUnit(_ref22) {
|
|
987
|
+
var carCode = _ref22.carCode,
|
|
988
|
+
startDate = _ref22.startDate,
|
|
989
|
+
endDate = _ref22.endDate;
|
|
990
|
+
var _useRequest42 = useRequest(function () {
|
|
945
991
|
return http.get("".concat(prefix, "/cloud/zd/lm/api/cp/dataBoard/getCarSumByDateAndDisposeUnit.smvc"), {
|
|
946
992
|
body: {
|
|
947
993
|
carCode: carCode,
|
|
@@ -953,21 +999,45 @@ export var LjzyService = {
|
|
|
953
999
|
refreshDeps: [carCode, startDate, endDate],
|
|
954
1000
|
ready: !!carCode
|
|
955
1001
|
}),
|
|
956
|
-
data =
|
|
957
|
-
loading =
|
|
1002
|
+
data = _useRequest42.data,
|
|
1003
|
+
loading = _useRequest42.loading;
|
|
958
1004
|
return {
|
|
959
1005
|
taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
|
|
960
1006
|
loading: loading
|
|
961
1007
|
};
|
|
962
1008
|
},
|
|
963
|
-
|
|
964
|
-
var
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1009
|
+
useGetCarSumByDateAndDisposeUnitZdReborn: function useGetCarSumByDateAndDisposeUnitZdReborn(_ref23) {
|
|
1010
|
+
var carCode = _ref23.carCode,
|
|
1011
|
+
startDate = _ref23.startDate,
|
|
1012
|
+
endDate = _ref23.endDate;
|
|
1013
|
+
var _useRequest43 = useRequest(function () {
|
|
1014
|
+
return http.get("".concat(prefix, "/cloud/zd-reborn/api/dataBoard/getWeightSummaryTrendByDisposeUnit"), {
|
|
1015
|
+
body: {
|
|
1016
|
+
carCode: carCode,
|
|
1017
|
+
startDate: startDate,
|
|
1018
|
+
endDate: endDate,
|
|
1019
|
+
dateType: 'day'
|
|
1020
|
+
}
|
|
1021
|
+
});
|
|
1022
|
+
}, {
|
|
1023
|
+
refreshDeps: [carCode, startDate, endDate],
|
|
1024
|
+
ready: !!carCode
|
|
1025
|
+
}),
|
|
1026
|
+
data = _useRequest43.data,
|
|
1027
|
+
loading = _useRequest43.loading;
|
|
1028
|
+
return {
|
|
1029
|
+
taskDaySummary: (data === null || data === void 0 ? void 0 : data.data) || [],
|
|
1030
|
+
loading: loading
|
|
1031
|
+
};
|
|
1032
|
+
},
|
|
1033
|
+
useGetWorkDetail: function useGetWorkDetail(_ref24) {
|
|
1034
|
+
var carNo = _ref24.carNo,
|
|
1035
|
+
startTime = _ref24.startTime,
|
|
1036
|
+
endTime = _ref24.endTime,
|
|
1037
|
+
page = _ref24.page,
|
|
1038
|
+
sort = _ref24.sort,
|
|
1039
|
+
order = _ref24.order;
|
|
1040
|
+
var _useRequest44 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
971
1041
|
var res;
|
|
972
1042
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
973
1043
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -996,9 +1066,53 @@ export var LjzyService = {
|
|
|
996
1066
|
refreshDeps: [carNo, startTime, endTime, page, sort, order],
|
|
997
1067
|
ready: !!carNo
|
|
998
1068
|
}),
|
|
999
|
-
|
|
1000
|
-
data =
|
|
1001
|
-
loading =
|
|
1069
|
+
_useRequest44$data = _useRequest44.data,
|
|
1070
|
+
data = _useRequest44$data === void 0 ? {} : _useRequest44$data,
|
|
1071
|
+
loading = _useRequest44.loading;
|
|
1072
|
+
return {
|
|
1073
|
+
workDetailData: data,
|
|
1074
|
+
loading: loading
|
|
1075
|
+
};
|
|
1076
|
+
},
|
|
1077
|
+
useGetWorkDetailZdReborn: function useGetWorkDetailZdReborn(_ref26) {
|
|
1078
|
+
var carNo = _ref26.carNo,
|
|
1079
|
+
startTime = _ref26.startTime,
|
|
1080
|
+
endTime = _ref26.endTime,
|
|
1081
|
+
page = _ref26.page,
|
|
1082
|
+
sort = _ref26.sort,
|
|
1083
|
+
order = _ref26.order;
|
|
1084
|
+
var _useRequest45 = useRequest( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
1085
|
+
var res;
|
|
1086
|
+
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
1087
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
1088
|
+
case 0:
|
|
1089
|
+
_context10.next = 2;
|
|
1090
|
+
return http.get("".concat(prefix, "/cloud/zd-reborn/api/weightData/pageList"), {
|
|
1091
|
+
body: {
|
|
1092
|
+
carNo: carNo,
|
|
1093
|
+
startTime: startTime,
|
|
1094
|
+
endTime: endTime,
|
|
1095
|
+
page: page - 1,
|
|
1096
|
+
size: 10,
|
|
1097
|
+
sort: sort,
|
|
1098
|
+
order: order
|
|
1099
|
+
}
|
|
1100
|
+
});
|
|
1101
|
+
case 2:
|
|
1102
|
+
res = _context10.sent;
|
|
1103
|
+
return _context10.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || {});
|
|
1104
|
+
case 4:
|
|
1105
|
+
case "end":
|
|
1106
|
+
return _context10.stop();
|
|
1107
|
+
}
|
|
1108
|
+
}, _callee10);
|
|
1109
|
+
})), {
|
|
1110
|
+
refreshDeps: [carNo, startTime, endTime, page, sort, order],
|
|
1111
|
+
ready: !!carNo
|
|
1112
|
+
}),
|
|
1113
|
+
_useRequest45$data = _useRequest45.data,
|
|
1114
|
+
data = _useRequest45$data === void 0 ? {} : _useRequest45$data,
|
|
1115
|
+
loading = _useRequest45.loading;
|
|
1002
1116
|
return {
|
|
1003
1117
|
workDetailData: data,
|
|
1004
1118
|
loading: loading
|
|
@@ -1010,7 +1124,7 @@ export var LjzyService = {
|
|
|
1010
1124
|
export var OilService = {
|
|
1011
1125
|
useHasOil: function useHasOil(carId) {
|
|
1012
1126
|
var _data$data2;
|
|
1013
|
-
var
|
|
1127
|
+
var _useRequest46 = useRequest(function () {
|
|
1014
1128
|
return http.get("".concat(prefix, "/cloud/gps-reborn/car/config/getById"), {
|
|
1015
1129
|
body: {
|
|
1016
1130
|
id: carId
|
|
@@ -1019,13 +1133,13 @@ export var OilService = {
|
|
|
1019
1133
|
}, {
|
|
1020
1134
|
refreshDeps: [carId]
|
|
1021
1135
|
}),
|
|
1022
|
-
data =
|
|
1136
|
+
data = _useRequest46.data;
|
|
1023
1137
|
return {
|
|
1024
1138
|
beenOilStatus: data === null || data === void 0 || (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : _data$data2.beenOilStatus
|
|
1025
1139
|
};
|
|
1026
1140
|
},
|
|
1027
1141
|
useOilLine: function useOilLine(carId, startTime, endTime) {
|
|
1028
|
-
var
|
|
1142
|
+
var _useRequest47 = useRequest(function () {
|
|
1029
1143
|
return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/oilLine.smvc"), {
|
|
1030
1144
|
body: {
|
|
1031
1145
|
carId: carId,
|
|
@@ -1037,15 +1151,15 @@ export var OilService = {
|
|
|
1037
1151
|
}, {
|
|
1038
1152
|
refreshDeps: [carId, startTime, endTime]
|
|
1039
1153
|
}),
|
|
1040
|
-
oilLineRes =
|
|
1041
|
-
loading =
|
|
1154
|
+
oilLineRes = _useRequest47.data,
|
|
1155
|
+
loading = _useRequest47.loading;
|
|
1042
1156
|
return {
|
|
1043
1157
|
oilLineRes: (oilLineRes === null || oilLineRes === void 0 ? void 0 : oilLineRes.data) || [],
|
|
1044
1158
|
loading: loading
|
|
1045
1159
|
};
|
|
1046
1160
|
},
|
|
1047
1161
|
useSummary: function useSummary(carId, startTime, endTime) {
|
|
1048
|
-
var
|
|
1162
|
+
var _useRequest48 = useRequest(function () {
|
|
1049
1163
|
return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/summary.smvc"), {
|
|
1050
1164
|
body: {
|
|
1051
1165
|
carId: carId,
|
|
@@ -1057,13 +1171,13 @@ export var OilService = {
|
|
|
1057
1171
|
}, {
|
|
1058
1172
|
refreshDeps: [carId, startTime, endTime]
|
|
1059
1173
|
}),
|
|
1060
|
-
summaryRes =
|
|
1174
|
+
summaryRes = _useRequest48.data;
|
|
1061
1175
|
return {
|
|
1062
1176
|
summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
|
|
1063
1177
|
};
|
|
1064
1178
|
},
|
|
1065
1179
|
useRecord: function useRecord(carId, startTime, endTime, page, sort) {
|
|
1066
|
-
var
|
|
1180
|
+
var _useRequest49 = useRequest(function () {
|
|
1067
1181
|
return http.get("".concat(prefix, "/cloud/oil-reborn/api/oilUse/simplePage.smvc"), {
|
|
1068
1182
|
body: {
|
|
1069
1183
|
carId: carId,
|
|
@@ -1079,7 +1193,7 @@ export var OilService = {
|
|
|
1079
1193
|
}, {
|
|
1080
1194
|
refreshDeps: [carId, startTime, endTime, page, sort]
|
|
1081
1195
|
}),
|
|
1082
|
-
recordRes =
|
|
1196
|
+
recordRes = _useRequest49.data;
|
|
1083
1197
|
return {
|
|
1084
1198
|
recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || []
|
|
1085
1199
|
};
|
|
@@ -1089,7 +1203,7 @@ export var OilService = {
|
|
|
1089
1203
|
//水耗
|
|
1090
1204
|
export var WaterService = {
|
|
1091
1205
|
useSummary: function useSummary(carId, startTime, endTime) {
|
|
1092
|
-
var
|
|
1206
|
+
var _useRequest50 = useRequest(function () {
|
|
1093
1207
|
return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/summary"), {
|
|
1094
1208
|
body: {
|
|
1095
1209
|
hasWaterStatus: true,
|
|
@@ -1101,13 +1215,13 @@ export var WaterService = {
|
|
|
1101
1215
|
}, {
|
|
1102
1216
|
refreshDeps: [carId, startTime, endTime]
|
|
1103
1217
|
}),
|
|
1104
|
-
summaryRes =
|
|
1218
|
+
summaryRes = _useRequest50.data;
|
|
1105
1219
|
return {
|
|
1106
1220
|
summaryRes: (summaryRes === null || summaryRes === void 0 ? void 0 : summaryRes.data) || []
|
|
1107
1221
|
};
|
|
1108
1222
|
},
|
|
1109
1223
|
useRecord: function useRecord(carId, startDate, endDate) {
|
|
1110
|
-
var
|
|
1224
|
+
var _useRequest51 = useRequest(function () {
|
|
1111
1225
|
return http.get("".concat(prefix, "/cloud/water-reborn/api/v101/water/waterMeasure/queryList"), {
|
|
1112
1226
|
body: {
|
|
1113
1227
|
hasWaterStatus: true,
|
|
@@ -1119,8 +1233,8 @@ export var WaterService = {
|
|
|
1119
1233
|
}, {
|
|
1120
1234
|
refreshDeps: [carId, startDate, endDate]
|
|
1121
1235
|
}),
|
|
1122
|
-
recordRes =
|
|
1123
|
-
loading =
|
|
1236
|
+
recordRes = _useRequest51.data,
|
|
1237
|
+
loading = _useRequest51.loading;
|
|
1124
1238
|
return {
|
|
1125
1239
|
recordRes: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.data) || [],
|
|
1126
1240
|
loading: loading
|
|
@@ -1131,7 +1245,7 @@ export var WaterService = {
|
|
|
1131
1245
|
// 维保
|
|
1132
1246
|
export var MaintenanceService = {
|
|
1133
1247
|
useMaintenance: function useMaintenance(carId) {
|
|
1134
|
-
var
|
|
1248
|
+
var _useRequest52 = useRequest(function () {
|
|
1135
1249
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carComprehensiveBoard/carWbAnalyse"), {
|
|
1136
1250
|
body: {
|
|
1137
1251
|
carId: carId
|
|
@@ -1140,13 +1254,13 @@ export var MaintenanceService = {
|
|
|
1140
1254
|
}, {
|
|
1141
1255
|
refreshDeps: [carId]
|
|
1142
1256
|
}),
|
|
1143
|
-
maintenanceRes =
|
|
1257
|
+
maintenanceRes = _useRequest52.data;
|
|
1144
1258
|
return {
|
|
1145
1259
|
maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
|
|
1146
1260
|
};
|
|
1147
1261
|
},
|
|
1148
1262
|
useWaterSummary: function useWaterSummary(carId, startDate, endDate) {
|
|
1149
|
-
var
|
|
1263
|
+
var _useRequest53 = useRequest(function () {
|
|
1150
1264
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/waterSummary"), {
|
|
1151
1265
|
body: {
|
|
1152
1266
|
carId: carId,
|
|
@@ -1157,15 +1271,15 @@ export var MaintenanceService = {
|
|
|
1157
1271
|
}, {
|
|
1158
1272
|
refreshDeps: [carId, startDate, endDate]
|
|
1159
1273
|
}),
|
|
1160
|
-
waterSummary =
|
|
1161
|
-
loading =
|
|
1274
|
+
waterSummary = _useRequest53.data,
|
|
1275
|
+
loading = _useRequest53.loading;
|
|
1162
1276
|
return {
|
|
1163
1277
|
loading: loading,
|
|
1164
1278
|
waterSummary: (waterSummary === null || waterSummary === void 0 ? void 0 : waterSummary.data) || []
|
|
1165
1279
|
};
|
|
1166
1280
|
},
|
|
1167
1281
|
useWaterRecord: function useWaterRecord(carId, startTime, endTime, sorter) {
|
|
1168
|
-
var
|
|
1282
|
+
var _useRequest54 = useRequest(function () {
|
|
1169
1283
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carWater/page"), {
|
|
1170
1284
|
body: {
|
|
1171
1285
|
carId: carId,
|
|
@@ -1177,8 +1291,8 @@ export var MaintenanceService = {
|
|
|
1177
1291
|
}, {
|
|
1178
1292
|
refreshDeps: [carId, startTime, endTime, sorter]
|
|
1179
1293
|
}),
|
|
1180
|
-
waterRecordSummary =
|
|
1181
|
-
loading =
|
|
1294
|
+
waterRecordSummary = _useRequest54.data,
|
|
1295
|
+
loading = _useRequest54.loading;
|
|
1182
1296
|
return {
|
|
1183
1297
|
loading: loading,
|
|
1184
1298
|
recordRes: (waterRecordSummary === null || waterRecordSummary === void 0 ? void 0 : waterRecordSummary.data) || {}
|
|
@@ -1186,7 +1300,7 @@ export var MaintenanceService = {
|
|
|
1186
1300
|
},
|
|
1187
1301
|
useWaterTypeSummary: function useWaterTypeSummary(carId, startDate, endDate) {
|
|
1188
1302
|
var _waterTypeSummary$dat;
|
|
1189
|
-
var
|
|
1303
|
+
var _useRequest55 = useRequest(function () {
|
|
1190
1304
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/waterTypeSummary"), {
|
|
1191
1305
|
body: {
|
|
1192
1306
|
carId: carId,
|
|
@@ -1197,8 +1311,8 @@ export var MaintenanceService = {
|
|
|
1197
1311
|
}, {
|
|
1198
1312
|
refreshDeps: [carId, startDate, endDate]
|
|
1199
1313
|
}),
|
|
1200
|
-
waterTypeSummary =
|
|
1201
|
-
loading =
|
|
1314
|
+
waterTypeSummary = _useRequest55.data,
|
|
1315
|
+
loading = _useRequest55.loading;
|
|
1202
1316
|
return {
|
|
1203
1317
|
loading: loading,
|
|
1204
1318
|
waterTypeSummary: (waterTypeSummary === null || waterTypeSummary === void 0 || (_waterTypeSummary$dat = waterTypeSummary.data) === null || _waterTypeSummary$dat === void 0 ? void 0 : _waterTypeSummary$dat.map(function (ele) {
|
|
@@ -1210,7 +1324,7 @@ export var MaintenanceService = {
|
|
|
1210
1324
|
};
|
|
1211
1325
|
},
|
|
1212
1326
|
useEleSummary: function useEleSummary(carId, startDate, endDate) {
|
|
1213
|
-
var
|
|
1327
|
+
var _useRequest56 = useRequest(function () {
|
|
1214
1328
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/chargeSummary"), {
|
|
1215
1329
|
body: {
|
|
1216
1330
|
carId: carId,
|
|
@@ -1221,15 +1335,15 @@ export var MaintenanceService = {
|
|
|
1221
1335
|
}, {
|
|
1222
1336
|
refreshDeps: [carId, startDate, endDate]
|
|
1223
1337
|
}),
|
|
1224
|
-
eleSummary =
|
|
1225
|
-
loading =
|
|
1338
|
+
eleSummary = _useRequest56.data,
|
|
1339
|
+
loading = _useRequest56.loading;
|
|
1226
1340
|
return {
|
|
1227
1341
|
loading: loading,
|
|
1228
1342
|
eleSummary: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.data) || []
|
|
1229
1343
|
};
|
|
1230
1344
|
},
|
|
1231
1345
|
useEleRecord: function useEleRecord(carId, startTime, endTime, sorter) {
|
|
1232
|
-
var
|
|
1346
|
+
var _useRequest57 = useRequest(function () {
|
|
1233
1347
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carCharge/page"), {
|
|
1234
1348
|
body: {
|
|
1235
1349
|
carId: carId,
|
|
@@ -1241,8 +1355,8 @@ export var MaintenanceService = {
|
|
|
1241
1355
|
}, {
|
|
1242
1356
|
refreshDeps: [carId, startTime, endTime, sorter]
|
|
1243
1357
|
}),
|
|
1244
|
-
eleRecordSummary =
|
|
1245
|
-
loading =
|
|
1358
|
+
eleRecordSummary = _useRequest57.data,
|
|
1359
|
+
loading = _useRequest57.loading;
|
|
1246
1360
|
return {
|
|
1247
1361
|
loading: loading,
|
|
1248
1362
|
recordRes: (eleRecordSummary === null || eleRecordSummary === void 0 ? void 0 : eleRecordSummary.data) || {}
|
|
@@ -1250,7 +1364,7 @@ export var MaintenanceService = {
|
|
|
1250
1364
|
},
|
|
1251
1365
|
useEleTypeSummary: function useEleTypeSummary(carId, startDate, endDate) {
|
|
1252
1366
|
var _eleTypeSummary$data;
|
|
1253
|
-
var
|
|
1367
|
+
var _useRequest58 = useRequest(function () {
|
|
1254
1368
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/chargePeriodSummary"), {
|
|
1255
1369
|
body: {
|
|
1256
1370
|
carId: carId,
|
|
@@ -1261,8 +1375,8 @@ export var MaintenanceService = {
|
|
|
1261
1375
|
}, {
|
|
1262
1376
|
refreshDeps: [carId, startDate, endDate]
|
|
1263
1377
|
}),
|
|
1264
|
-
eleTypeSummary =
|
|
1265
|
-
loading =
|
|
1378
|
+
eleTypeSummary = _useRequest58.data,
|
|
1379
|
+
loading = _useRequest58.loading;
|
|
1266
1380
|
return {
|
|
1267
1381
|
loading: loading,
|
|
1268
1382
|
eleTypeSummary: (eleTypeSummary === null || eleTypeSummary === void 0 || (_eleTypeSummary$data = eleTypeSummary.data) === null || _eleTypeSummary$data === void 0 ? void 0 : _eleTypeSummary$data.map(function (ele) {
|
|
@@ -1274,7 +1388,7 @@ export var MaintenanceService = {
|
|
|
1274
1388
|
};
|
|
1275
1389
|
},
|
|
1276
1390
|
useOilSummary: function useOilSummary(carId, startDate, endDate) {
|
|
1277
|
-
var
|
|
1391
|
+
var _useRequest59 = useRequest(function () {
|
|
1278
1392
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/oilSummary"), {
|
|
1279
1393
|
body: {
|
|
1280
1394
|
carId: carId,
|
|
@@ -1285,15 +1399,15 @@ export var MaintenanceService = {
|
|
|
1285
1399
|
}, {
|
|
1286
1400
|
refreshDeps: [carId, startDate, endDate]
|
|
1287
1401
|
}),
|
|
1288
|
-
oilSummary =
|
|
1289
|
-
loading =
|
|
1402
|
+
oilSummary = _useRequest59.data,
|
|
1403
|
+
loading = _useRequest59.loading;
|
|
1290
1404
|
return {
|
|
1291
1405
|
loading: loading,
|
|
1292
1406
|
oilSummary: (oilSummary === null || oilSummary === void 0 ? void 0 : oilSummary.data) || []
|
|
1293
1407
|
};
|
|
1294
1408
|
},
|
|
1295
1409
|
useOilRecord: function useOilRecord(carId, startTime, endTime, sorter) {
|
|
1296
|
-
var
|
|
1410
|
+
var _useRequest60 = useRequest(function () {
|
|
1297
1411
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carOil/page"), {
|
|
1298
1412
|
body: {
|
|
1299
1413
|
carId: carId,
|
|
@@ -1305,8 +1419,8 @@ export var MaintenanceService = {
|
|
|
1305
1419
|
}, {
|
|
1306
1420
|
refreshDeps: [carId, startTime, endTime, sorter]
|
|
1307
1421
|
}),
|
|
1308
|
-
oilRecordSummary =
|
|
1309
|
-
loading =
|
|
1422
|
+
oilRecordSummary = _useRequest60.data,
|
|
1423
|
+
loading = _useRequest60.loading;
|
|
1310
1424
|
return {
|
|
1311
1425
|
loading: loading,
|
|
1312
1426
|
recordRes: (oilRecordSummary === null || oilRecordSummary === void 0 ? void 0 : oilRecordSummary.data) || {}
|
|
@@ -1314,7 +1428,7 @@ export var MaintenanceService = {
|
|
|
1314
1428
|
},
|
|
1315
1429
|
useOilTypeSummary: function useOilTypeSummary(carId, startDate, endDate) {
|
|
1316
1430
|
var _oilTypeSummary$data;
|
|
1317
|
-
var
|
|
1431
|
+
var _useRequest61 = useRequest(function () {
|
|
1318
1432
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/oilPeriodSummary"), {
|
|
1319
1433
|
body: {
|
|
1320
1434
|
carId: carId,
|
|
@@ -1325,8 +1439,8 @@ export var MaintenanceService = {
|
|
|
1325
1439
|
}, {
|
|
1326
1440
|
refreshDeps: [carId, startDate, endDate]
|
|
1327
1441
|
}),
|
|
1328
|
-
oilTypeSummary =
|
|
1329
|
-
loading =
|
|
1442
|
+
oilTypeSummary = _useRequest61.data,
|
|
1443
|
+
loading = _useRequest61.loading;
|
|
1330
1444
|
return {
|
|
1331
1445
|
loading: loading,
|
|
1332
1446
|
oilUseTypeSummary: (oilTypeSummary === null || oilTypeSummary === void 0 || (_oilTypeSummary$data = oilTypeSummary.data) === null || _oilTypeSummary$data === void 0 ? void 0 : _oilTypeSummary$data.map(function (ele) {
|
|
@@ -1339,7 +1453,7 @@ export var MaintenanceService = {
|
|
|
1339
1453
|
},
|
|
1340
1454
|
// 保险
|
|
1341
1455
|
useInsuranceSummary: function useInsuranceSummary(carId, startDate, endDate) {
|
|
1342
|
-
var
|
|
1456
|
+
var _useRequest62 = useRequest(function () {
|
|
1343
1457
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/insuranceSummary"), {
|
|
1344
1458
|
body: {
|
|
1345
1459
|
carId: carId,
|
|
@@ -1350,15 +1464,15 @@ export var MaintenanceService = {
|
|
|
1350
1464
|
}, {
|
|
1351
1465
|
refreshDeps: [carId, startDate, endDate]
|
|
1352
1466
|
}),
|
|
1353
|
-
insuranceSummary =
|
|
1354
|
-
loading =
|
|
1467
|
+
insuranceSummary = _useRequest62.data,
|
|
1468
|
+
loading = _useRequest62.loading;
|
|
1355
1469
|
return {
|
|
1356
1470
|
loading: loading,
|
|
1357
1471
|
insuranceSummary: insuranceSummary === null || insuranceSummary === void 0 ? void 0 : insuranceSummary.data
|
|
1358
1472
|
};
|
|
1359
1473
|
},
|
|
1360
1474
|
useCurrentInsurance: function useCurrentInsurance(carId, startDate, endDate) {
|
|
1361
|
-
var
|
|
1475
|
+
var _useRequest63 = useRequest(function () {
|
|
1362
1476
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/currentInsurance"), {
|
|
1363
1477
|
body: {
|
|
1364
1478
|
carId: carId,
|
|
@@ -1369,8 +1483,8 @@ export var MaintenanceService = {
|
|
|
1369
1483
|
}, {
|
|
1370
1484
|
refreshDeps: [carId, startDate, endDate]
|
|
1371
1485
|
}),
|
|
1372
|
-
currentInsurance =
|
|
1373
|
-
loading =
|
|
1486
|
+
currentInsurance = _useRequest63.data,
|
|
1487
|
+
loading = _useRequest63.loading;
|
|
1374
1488
|
return {
|
|
1375
1489
|
loading: loading,
|
|
1376
1490
|
currentInsurance: currentInsurance === null || currentInsurance === void 0 ? void 0 : currentInsurance.data
|
|
@@ -1378,7 +1492,7 @@ export var MaintenanceService = {
|
|
|
1378
1492
|
},
|
|
1379
1493
|
// 年检
|
|
1380
1494
|
useInspectSummary: function useInspectSummary(carId, startDate, endDate) {
|
|
1381
|
-
var
|
|
1495
|
+
var _useRequest64 = useRequest(function () {
|
|
1382
1496
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/inspectSummary"), {
|
|
1383
1497
|
body: {
|
|
1384
1498
|
carId: carId,
|
|
@@ -1389,13 +1503,13 @@ export var MaintenanceService = {
|
|
|
1389
1503
|
}, {
|
|
1390
1504
|
refreshDeps: [carId, startDate, endDate]
|
|
1391
1505
|
}),
|
|
1392
|
-
inspectSummary =
|
|
1506
|
+
inspectSummary = _useRequest64.data;
|
|
1393
1507
|
return {
|
|
1394
1508
|
inspectSummary: inspectSummary === null || inspectSummary === void 0 ? void 0 : inspectSummary.data
|
|
1395
1509
|
};
|
|
1396
1510
|
},
|
|
1397
1511
|
useCurrentSummary: function useCurrentSummary(carId, startDate, endDate) {
|
|
1398
|
-
var
|
|
1512
|
+
var _useRequest65 = useRequest(function () {
|
|
1399
1513
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/currentInspect"), {
|
|
1400
1514
|
body: {
|
|
1401
1515
|
carId: carId,
|
|
@@ -1406,7 +1520,7 @@ export var MaintenanceService = {
|
|
|
1406
1520
|
}, {
|
|
1407
1521
|
refreshDeps: [carId, startDate, endDate]
|
|
1408
1522
|
}),
|
|
1409
|
-
currentInspect =
|
|
1523
|
+
currentInspect = _useRequest65.data;
|
|
1410
1524
|
return {
|
|
1411
1525
|
currentInspect: currentInspect === null || currentInspect === void 0 ? void 0 : currentInspect.data
|
|
1412
1526
|
};
|
|
@@ -1414,7 +1528,7 @@ export var MaintenanceService = {
|
|
|
1414
1528
|
// 维保类型
|
|
1415
1529
|
useMaintainTypeSummary: function useMaintainTypeSummary(carId, startDate, endDate) {
|
|
1416
1530
|
var _maintainTypeSummary$;
|
|
1417
|
-
var
|
|
1531
|
+
var _useRequest66 = useRequest(function () {
|
|
1418
1532
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/maintainTypeSummary"), {
|
|
1419
1533
|
body: {
|
|
1420
1534
|
carId: carId,
|
|
@@ -1425,7 +1539,7 @@ export var MaintenanceService = {
|
|
|
1425
1539
|
}, {
|
|
1426
1540
|
refreshDeps: [carId, startDate, endDate]
|
|
1427
1541
|
}),
|
|
1428
|
-
maintainTypeSummary =
|
|
1542
|
+
maintainTypeSummary = _useRequest66.data;
|
|
1429
1543
|
return {
|
|
1430
1544
|
maintainTypeSummary: maintainTypeSummary === null || maintainTypeSummary === void 0 || (_maintainTypeSummary$ = maintainTypeSummary.data) === null || _maintainTypeSummary$ === void 0 ? void 0 : _maintainTypeSummary$.map(function (ele) {
|
|
1431
1545
|
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
@@ -1437,7 +1551,7 @@ export var MaintenanceService = {
|
|
|
1437
1551
|
},
|
|
1438
1552
|
//折旧
|
|
1439
1553
|
useDepreciationSummary: function useDepreciationSummary(carId, startDate, endDate) {
|
|
1440
|
-
var
|
|
1554
|
+
var _useRequest67 = useRequest(function () {
|
|
1441
1555
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/depreciationInfo"), {
|
|
1442
1556
|
body: {
|
|
1443
1557
|
carId: carId,
|
|
@@ -1448,14 +1562,14 @@ export var MaintenanceService = {
|
|
|
1448
1562
|
}, {
|
|
1449
1563
|
refreshDeps: [carId, startDate, endDate]
|
|
1450
1564
|
}),
|
|
1451
|
-
depreciationSummary =
|
|
1565
|
+
depreciationSummary = _useRequest67.data;
|
|
1452
1566
|
return {
|
|
1453
1567
|
depreciationSummary: depreciationSummary === null || depreciationSummary === void 0 ? void 0 : depreciationSummary.data
|
|
1454
1568
|
};
|
|
1455
1569
|
},
|
|
1456
1570
|
// 事故
|
|
1457
1571
|
useAccidentSummary: function useAccidentSummary(carId, startDate, endDate) {
|
|
1458
|
-
var
|
|
1572
|
+
var _useRequest68 = useRequest(function () {
|
|
1459
1573
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/accidentSummary"), {
|
|
1460
1574
|
body: {
|
|
1461
1575
|
carId: carId,
|
|
@@ -1466,14 +1580,14 @@ export var MaintenanceService = {
|
|
|
1466
1580
|
}, {
|
|
1467
1581
|
refreshDeps: [carId, startDate, endDate]
|
|
1468
1582
|
}),
|
|
1469
|
-
accidentSummary =
|
|
1583
|
+
accidentSummary = _useRequest68.data;
|
|
1470
1584
|
return {
|
|
1471
1585
|
accidentSummary: accidentSummary === null || accidentSummary === void 0 ? void 0 : accidentSummary.data
|
|
1472
1586
|
};
|
|
1473
1587
|
},
|
|
1474
1588
|
useAccidentTypeSummary: function useAccidentTypeSummary(carId, startDate, endDate) {
|
|
1475
1589
|
var _accidentTypeSummary$;
|
|
1476
|
-
var
|
|
1590
|
+
var _useRequest69 = useRequest(function () {
|
|
1477
1591
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/accidentTypeSummary"), {
|
|
1478
1592
|
body: {
|
|
1479
1593
|
carId: carId,
|
|
@@ -1484,7 +1598,7 @@ export var MaintenanceService = {
|
|
|
1484
1598
|
}, {
|
|
1485
1599
|
refreshDeps: [carId, startDate, endDate]
|
|
1486
1600
|
}),
|
|
1487
|
-
accidentTypeSummary =
|
|
1601
|
+
accidentTypeSummary = _useRequest69.data;
|
|
1488
1602
|
return {
|
|
1489
1603
|
accidentTypeSummary: accidentTypeSummary === null || accidentTypeSummary === void 0 || (_accidentTypeSummary$ = accidentTypeSummary.data) === null || _accidentTypeSummary$ === void 0 ? void 0 : _accidentTypeSummary$.map(function (ele) {
|
|
1490
1604
|
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
@@ -1496,7 +1610,7 @@ export var MaintenanceService = {
|
|
|
1496
1610
|
},
|
|
1497
1611
|
// 违章
|
|
1498
1612
|
useViolationSummary: function useViolationSummary(carId, startDate, endDate) {
|
|
1499
|
-
var
|
|
1613
|
+
var _useRequest70 = useRequest(function () {
|
|
1500
1614
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/violationSummary"), {
|
|
1501
1615
|
body: {
|
|
1502
1616
|
carId: carId,
|
|
@@ -1507,14 +1621,14 @@ export var MaintenanceService = {
|
|
|
1507
1621
|
}, {
|
|
1508
1622
|
refreshDeps: [carId, startDate, endDate]
|
|
1509
1623
|
}),
|
|
1510
|
-
violationSummary =
|
|
1624
|
+
violationSummary = _useRequest70.data;
|
|
1511
1625
|
return {
|
|
1512
1626
|
violationSummary: violationSummary === null || violationSummary === void 0 ? void 0 : violationSummary.data
|
|
1513
1627
|
};
|
|
1514
1628
|
},
|
|
1515
1629
|
useViolationTypeSummary: function useViolationTypeSummary(carId, startDate, endDate) {
|
|
1516
1630
|
var _violationTypeSummary;
|
|
1517
|
-
var
|
|
1631
|
+
var _useRequest71 = useRequest(function () {
|
|
1518
1632
|
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/violationTypeSummary"), {
|
|
1519
1633
|
body: {
|
|
1520
1634
|
carId: carId,
|
|
@@ -1525,7 +1639,7 @@ export var MaintenanceService = {
|
|
|
1525
1639
|
}, {
|
|
1526
1640
|
refreshDeps: [carId, startDate, endDate]
|
|
1527
1641
|
}),
|
|
1528
|
-
violationTypeSummary =
|
|
1642
|
+
violationTypeSummary = _useRequest71.data;
|
|
1529
1643
|
return {
|
|
1530
1644
|
violationTypeSummary: violationTypeSummary === null || violationTypeSummary === void 0 || (_violationTypeSummary = violationTypeSummary.data) === null || _violationTypeSummary === void 0 ? void 0 : _violationTypeSummary.map(function (ele) {
|
|
1531
1645
|
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
@@ -1553,12 +1667,12 @@ export var carSYMap = new Map([['matchingMethodStr', '匹配方式'], ['productT
|
|
|
1553
1667
|
// 建筑垃圾车辆
|
|
1554
1668
|
export var JzljService = {
|
|
1555
1669
|
// 总览其他信息:二维码、生效中处置证、联单、报警
|
|
1556
|
-
useZlOtherInfo: function useZlOtherInfo(
|
|
1557
|
-
var id =
|
|
1558
|
-
startDate =
|
|
1559
|
-
endDate =
|
|
1560
|
-
url =
|
|
1561
|
-
var
|
|
1670
|
+
useZlOtherInfo: function useZlOtherInfo(_ref28) {
|
|
1671
|
+
var id = _ref28.id,
|
|
1672
|
+
startDate = _ref28.startDate,
|
|
1673
|
+
endDate = _ref28.endDate,
|
|
1674
|
+
url = _ref28.url;
|
|
1675
|
+
var _useRequest72 = useRequest(function () {
|
|
1562
1676
|
return http.get("".concat(prefix, "/cloud/jzlj/web/api/gis/real/time/carBaseInfo"), {
|
|
1563
1677
|
body: {
|
|
1564
1678
|
id: id,
|
|
@@ -1570,18 +1684,18 @@ export var JzljService = {
|
|
|
1570
1684
|
}, {
|
|
1571
1685
|
refreshDeps: [id, startDate, endDate, url]
|
|
1572
1686
|
}),
|
|
1573
|
-
zlOtherInfoRes =
|
|
1687
|
+
zlOtherInfoRes = _useRequest72.data;
|
|
1574
1688
|
return {
|
|
1575
1689
|
zlOtherInfoData: (zlOtherInfoRes === null || zlOtherInfoRes === void 0 ? void 0 : zlOtherInfoRes.data) || {}
|
|
1576
1690
|
};
|
|
1577
1691
|
},
|
|
1578
1692
|
// 运行信息
|
|
1579
|
-
useDailyCarRun: function useDailyCarRun(
|
|
1693
|
+
useDailyCarRun: function useDailyCarRun(_ref29) {
|
|
1580
1694
|
var _dailyCarRunRes$data, _dailyCarRunRes$data2;
|
|
1581
|
-
var id =
|
|
1582
|
-
startDate =
|
|
1583
|
-
endDate =
|
|
1584
|
-
var
|
|
1695
|
+
var id = _ref29.id,
|
|
1696
|
+
startDate = _ref29.startDate,
|
|
1697
|
+
endDate = _ref29.endDate;
|
|
1698
|
+
var _useRequest73 = useRequest(function () {
|
|
1585
1699
|
return http.get("".concat(prefix, "/cloud/gps-reborn/report/dailyCarRun/list"), {
|
|
1586
1700
|
body: {
|
|
1587
1701
|
carIds: id,
|
|
@@ -1592,17 +1706,17 @@ export var JzljService = {
|
|
|
1592
1706
|
}, {
|
|
1593
1707
|
refreshDeps: [id, startDate, endDate]
|
|
1594
1708
|
}),
|
|
1595
|
-
dailyCarRunRes =
|
|
1709
|
+
dailyCarRunRes = _useRequest73.data;
|
|
1596
1710
|
return {
|
|
1597
1711
|
dailyCarRunData: dailyCarRunRes !== null && dailyCarRunRes !== void 0 && (_dailyCarRunRes$data = dailyCarRunRes.data) !== null && _dailyCarRunRes$data !== void 0 && _dailyCarRunRes$data.length ? (dailyCarRunRes === null || dailyCarRunRes === void 0 || (_dailyCarRunRes$data2 = dailyCarRunRes.data) === null || _dailyCarRunRes$data2 === void 0 ? void 0 : _dailyCarRunRes$data2[0]) || {} : {}
|
|
1598
1712
|
};
|
|
1599
1713
|
},
|
|
1600
1714
|
// 近7天运行分析
|
|
1601
|
-
useYxfx: function useYxfx(
|
|
1602
|
-
var id =
|
|
1603
|
-
startDate =
|
|
1604
|
-
endDate =
|
|
1605
|
-
var
|
|
1715
|
+
useYxfx: function useYxfx(_ref30) {
|
|
1716
|
+
var id = _ref30.id,
|
|
1717
|
+
startDate = _ref30.startDate,
|
|
1718
|
+
endDate = _ref30.endDate;
|
|
1719
|
+
var _useRequest74 = useRequest(function () {
|
|
1606
1720
|
return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
|
|
1607
1721
|
body: {
|
|
1608
1722
|
id: id,
|
|
@@ -1613,19 +1727,19 @@ export var JzljService = {
|
|
|
1613
1727
|
}, {
|
|
1614
1728
|
refreshDeps: [id, startDate, endDate]
|
|
1615
1729
|
}),
|
|
1616
|
-
yxfxRes =
|
|
1617
|
-
loading =
|
|
1730
|
+
yxfxRes = _useRequest74.data,
|
|
1731
|
+
loading = _useRequest74.loading;
|
|
1618
1732
|
return {
|
|
1619
1733
|
yxfxData: (yxfxRes === null || yxfxRes === void 0 ? void 0 : yxfxRes.data) || [],
|
|
1620
1734
|
loading: loading
|
|
1621
1735
|
};
|
|
1622
1736
|
},
|
|
1623
1737
|
// 处置证信息-分页
|
|
1624
|
-
czzPage: function czzPage(
|
|
1625
|
-
var carCode =
|
|
1626
|
-
page =
|
|
1627
|
-
size =
|
|
1628
|
-
restParams = _objectWithoutProperties(
|
|
1738
|
+
czzPage: function czzPage(_ref31) {
|
|
1739
|
+
var carCode = _ref31.carCode,
|
|
1740
|
+
page = _ref31.page,
|
|
1741
|
+
size = _ref31.size,
|
|
1742
|
+
restParams = _objectWithoutProperties(_ref31, _excluded);
|
|
1629
1743
|
return http.get("/cloud/jzlj/web/api/disposal/certificate/info/page", {
|
|
1630
1744
|
body: _objectSpread({
|
|
1631
1745
|
page: page,
|
|
@@ -1635,11 +1749,11 @@ export var JzljService = {
|
|
|
1635
1749
|
});
|
|
1636
1750
|
},
|
|
1637
1751
|
// 处置证信息-饼图
|
|
1638
|
-
czzPie: function czzPie(
|
|
1639
|
-
var id =
|
|
1640
|
-
page =
|
|
1641
|
-
size =
|
|
1642
|
-
restParams = _objectWithoutProperties(
|
|
1752
|
+
czzPie: function czzPie(_ref32) {
|
|
1753
|
+
var id = _ref32.id,
|
|
1754
|
+
page = _ref32.page,
|
|
1755
|
+
size = _ref32.size,
|
|
1756
|
+
restParams = _objectWithoutProperties(_ref32, _excluded2);
|
|
1643
1757
|
return http.get("/cloud/jzlj//web/api/gis/real/time/carCzzPieChart", {
|
|
1644
1758
|
body: _objectSpread({
|
|
1645
1759
|
page: page,
|
|
@@ -1650,7 +1764,7 @@ export var JzljService = {
|
|
|
1650
1764
|
},
|
|
1651
1765
|
// 建筑垃圾枚举
|
|
1652
1766
|
fetchJzljEnum: function fetchJzljEnum(enumName) {
|
|
1653
|
-
var
|
|
1767
|
+
var _useRequest75 = useRequest(function () {
|
|
1654
1768
|
return http.get("/cloud/jzlj/common/loadEnumValue", {
|
|
1655
1769
|
body: {
|
|
1656
1770
|
enumName: enumName
|
|
@@ -1659,31 +1773,31 @@ export var JzljService = {
|
|
|
1659
1773
|
}, {
|
|
1660
1774
|
refreshDeps: [enumName]
|
|
1661
1775
|
}),
|
|
1662
|
-
|
|
1663
|
-
data =
|
|
1776
|
+
_useRequest75$data = _useRequest75.data,
|
|
1777
|
+
data = _useRequest75$data === void 0 ? {} : _useRequest75$data;
|
|
1664
1778
|
return (data === null || data === void 0 ? void 0 : data.data) || [];
|
|
1665
1779
|
},
|
|
1666
1780
|
// 字段配置
|
|
1667
1781
|
fieldConfig: function fieldConfig() {
|
|
1668
|
-
var
|
|
1782
|
+
var _useRequest76 = useRequest(function () {
|
|
1669
1783
|
return http.get("/cloud/jzlj/web/field/config/list?ledgerType=CZHZBA", {
|
|
1670
1784
|
body: {}
|
|
1671
1785
|
});
|
|
1672
1786
|
}, {
|
|
1673
1787
|
refreshDeps: []
|
|
1674
1788
|
}),
|
|
1675
|
-
|
|
1676
|
-
data =
|
|
1789
|
+
_useRequest76$data = _useRequest76.data,
|
|
1790
|
+
data = _useRequest76$data === void 0 ? {} : _useRequest76$data;
|
|
1677
1791
|
return (data === null || data === void 0 ? void 0 : data.data) || [];
|
|
1678
1792
|
},
|
|
1679
1793
|
// 联单-分页
|
|
1680
|
-
ldPage: function ldPage(
|
|
1681
|
-
var carId =
|
|
1682
|
-
stepThreeOperateTimeLeft =
|
|
1683
|
-
stepThreeOperateTimeRight =
|
|
1684
|
-
page =
|
|
1685
|
-
size =
|
|
1686
|
-
restParams = _objectWithoutProperties(
|
|
1794
|
+
ldPage: function ldPage(_ref33) {
|
|
1795
|
+
var carId = _ref33.carId,
|
|
1796
|
+
stepThreeOperateTimeLeft = _ref33.stepThreeOperateTimeLeft,
|
|
1797
|
+
stepThreeOperateTimeRight = _ref33.stepThreeOperateTimeRight,
|
|
1798
|
+
page = _ref33.page,
|
|
1799
|
+
size = _ref33.size,
|
|
1800
|
+
restParams = _objectWithoutProperties(_ref33, _excluded3);
|
|
1687
1801
|
return http.get("/cloud/jzlj/web/api/car/transport/joint/order/record/page", {
|
|
1688
1802
|
body: _objectSpread({
|
|
1689
1803
|
page: page,
|
|
@@ -1694,10 +1808,10 @@ export var JzljService = {
|
|
|
1694
1808
|
}, restParams)
|
|
1695
1809
|
});
|
|
1696
1810
|
},
|
|
1697
|
-
ldChart: function ldChart(
|
|
1698
|
-
var id =
|
|
1699
|
-
startDate =
|
|
1700
|
-
endDate =
|
|
1811
|
+
ldChart: function ldChart(_ref34) {
|
|
1812
|
+
var id = _ref34.id,
|
|
1813
|
+
startDate = _ref34.startDate,
|
|
1814
|
+
endDate = _ref34.endDate;
|
|
1701
1815
|
return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
|
|
1702
1816
|
body: {
|
|
1703
1817
|
id: id,
|
|
@@ -1707,11 +1821,11 @@ export var JzljService = {
|
|
|
1707
1821
|
});
|
|
1708
1822
|
},
|
|
1709
1823
|
// 联单-统计
|
|
1710
|
-
ldTotal: function ldTotal(
|
|
1711
|
-
var carId =
|
|
1712
|
-
startDate =
|
|
1713
|
-
endDate =
|
|
1714
|
-
restParams = _objectWithoutProperties(
|
|
1824
|
+
ldTotal: function ldTotal(_ref35) {
|
|
1825
|
+
var carId = _ref35.carId,
|
|
1826
|
+
startDate = _ref35.startDate,
|
|
1827
|
+
endDate = _ref35.endDate,
|
|
1828
|
+
restParams = _objectWithoutProperties(_ref35, _excluded4);
|
|
1715
1829
|
return http.get("/cloud/jzlj/web/api/gis/real/time/jcssJzJointOrderSummaryStatistics", {
|
|
1716
1830
|
body: _objectSpread({
|
|
1717
1831
|
carId: carId,
|
|
@@ -1720,12 +1834,12 @@ export var JzljService = {
|
|
|
1720
1834
|
}, restParams)
|
|
1721
1835
|
});
|
|
1722
1836
|
},
|
|
1723
|
-
page_tccs: function page_tccs(
|
|
1724
|
-
var id =
|
|
1725
|
-
startTime =
|
|
1726
|
-
endTime =
|
|
1727
|
-
page =
|
|
1728
|
-
size =
|
|
1837
|
+
page_tccs: function page_tccs(_ref36) {
|
|
1838
|
+
var id = _ref36.id,
|
|
1839
|
+
startTime = _ref36.startTime,
|
|
1840
|
+
endTime = _ref36.endTime,
|
|
1841
|
+
page = _ref36.page,
|
|
1842
|
+
size = _ref36.size;
|
|
1729
1843
|
return http.get("/cloud/jzlj/web/api/car/parking/timeout/alarm/job/page", {
|
|
1730
1844
|
body: {
|
|
1731
1845
|
page: page,
|
|
@@ -1736,12 +1850,12 @@ export var JzljService = {
|
|
|
1736
1850
|
}
|
|
1737
1851
|
});
|
|
1738
1852
|
},
|
|
1739
|
-
page_lxpl: function page_lxpl(
|
|
1740
|
-
var id =
|
|
1741
|
-
startTime =
|
|
1742
|
-
endTime =
|
|
1743
|
-
page =
|
|
1744
|
-
size =
|
|
1853
|
+
page_lxpl: function page_lxpl(_ref37) {
|
|
1854
|
+
var id = _ref37.id,
|
|
1855
|
+
startTime = _ref37.startTime,
|
|
1856
|
+
endTime = _ref37.endTime,
|
|
1857
|
+
page = _ref37.page,
|
|
1858
|
+
size = _ref37.size;
|
|
1745
1859
|
return http.get("/cloud/jzlj/web/api/car/route/deviation/alarm/job/page", {
|
|
1746
1860
|
body: {
|
|
1747
1861
|
page: page,
|
|
@@ -1753,11 +1867,11 @@ export var JzljService = {
|
|
|
1753
1867
|
});
|
|
1754
1868
|
},
|
|
1755
1869
|
// 报警汇总-饼图
|
|
1756
|
-
useAlarmSummary: function useAlarmSummary(
|
|
1757
|
-
var carId =
|
|
1758
|
-
startDate =
|
|
1759
|
-
endDate =
|
|
1760
|
-
var
|
|
1870
|
+
useAlarmSummary: function useAlarmSummary(_ref38) {
|
|
1871
|
+
var carId = _ref38.carId,
|
|
1872
|
+
startDate = _ref38.startDate,
|
|
1873
|
+
endDate = _ref38.endDate;
|
|
1874
|
+
var _useRequest77 = useRequest(function () {
|
|
1761
1875
|
return http.get("/cloud/jzlj/web/dz/kanban/carAlarmTypeCountSummaryInfo", {
|
|
1762
1876
|
body: {
|
|
1763
1877
|
carId: carId,
|
|
@@ -1769,17 +1883,17 @@ export var JzljService = {
|
|
|
1769
1883
|
}, {
|
|
1770
1884
|
refreshDeps: [carId, startDate, endDate]
|
|
1771
1885
|
}),
|
|
1772
|
-
alarmSummaryRes =
|
|
1886
|
+
alarmSummaryRes = _useRequest77.data;
|
|
1773
1887
|
return {
|
|
1774
1888
|
alarmSummaryData: (alarmSummaryRes === null || alarmSummaryRes === void 0 ? void 0 : alarmSummaryRes.data) || {}
|
|
1775
1889
|
};
|
|
1776
1890
|
},
|
|
1777
1891
|
// 报警趋势-折线图
|
|
1778
|
-
useAlarmTrend: function useAlarmTrend(
|
|
1779
|
-
var id =
|
|
1780
|
-
startDate =
|
|
1781
|
-
endDate =
|
|
1782
|
-
var
|
|
1892
|
+
useAlarmTrend: function useAlarmTrend(_ref39) {
|
|
1893
|
+
var id = _ref39.id,
|
|
1894
|
+
startDate = _ref39.startDate,
|
|
1895
|
+
endDate = _ref39.endDate;
|
|
1896
|
+
var _useRequest78 = useRequest(function () {
|
|
1783
1897
|
return http.get("/cloud/jzlj/web/api/gis/real/time/carOrderAlarmAnalyse", {
|
|
1784
1898
|
body: {
|
|
1785
1899
|
id: id,
|
|
@@ -1790,7 +1904,7 @@ export var JzljService = {
|
|
|
1790
1904
|
}, {
|
|
1791
1905
|
refreshDeps: [id, startDate, endDate]
|
|
1792
1906
|
}),
|
|
1793
|
-
alarmTrendRes =
|
|
1907
|
+
alarmTrendRes = _useRequest78.data;
|
|
1794
1908
|
return {
|
|
1795
1909
|
alarmTrendData: (alarmTrendRes === null || alarmTrendRes === void 0 ? void 0 : alarmTrendRes.data) || []
|
|
1796
1910
|
};
|
|
@@ -1799,14 +1913,14 @@ export var JzljService = {
|
|
|
1799
1913
|
useUnit: function useUnit() {
|
|
1800
1914
|
var _data$data3, _unitStr;
|
|
1801
1915
|
var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
|
|
1802
|
-
var
|
|
1916
|
+
var _useRequest79 = useRequest(function () {
|
|
1803
1917
|
return http.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
|
|
1804
1918
|
body: {}
|
|
1805
1919
|
});
|
|
1806
1920
|
}, {
|
|
1807
1921
|
refreshDeps: [groupCode]
|
|
1808
1922
|
}),
|
|
1809
|
-
data =
|
|
1923
|
+
data = _useRequest79.data;
|
|
1810
1924
|
var obj = {};
|
|
1811
1925
|
var originalData = data === null || data === void 0 || (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : _data$data3[groupCode];
|
|
1812
1926
|
for (var group in originalData) {
|
|
@@ -1827,7 +1941,7 @@ export var JzljService = {
|
|
|
1827
1941
|
},
|
|
1828
1942
|
// 处置证字段配置
|
|
1829
1943
|
useCzzFields: function useCzzFields() {
|
|
1830
|
-
var
|
|
1944
|
+
var _useRequest80 = useRequest(function () {
|
|
1831
1945
|
return http.get("/cloud/jzlj/web/field/config/list", {
|
|
1832
1946
|
body: {
|
|
1833
1947
|
ledgerType: 'CZHZBA'
|
|
@@ -1836,7 +1950,7 @@ export var JzljService = {
|
|
|
1836
1950
|
}, {
|
|
1837
1951
|
refreshDeps: []
|
|
1838
1952
|
}),
|
|
1839
|
-
res =
|
|
1953
|
+
res = _useRequest80.data;
|
|
1840
1954
|
var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
1841
1955
|
var visibleList = dataList.filter(function (item) {
|
|
1842
1956
|
var _item$functionKeys;
|
|
@@ -1848,7 +1962,7 @@ export var JzljService = {
|
|
|
1848
1962
|
},
|
|
1849
1963
|
// 联单字段配置
|
|
1850
1964
|
useLdFields: function useLdFields() {
|
|
1851
|
-
var
|
|
1965
|
+
var _useRequest81 = useRequest(function () {
|
|
1852
1966
|
return http.get("/cloud/jzlj/web/field/config/list", {
|
|
1853
1967
|
body: {
|
|
1854
1968
|
ledgerType: 'CLYSLD'
|
|
@@ -1857,7 +1971,7 @@ export var JzljService = {
|
|
|
1857
1971
|
}, {
|
|
1858
1972
|
refreshDeps: []
|
|
1859
1973
|
}),
|
|
1860
|
-
res =
|
|
1974
|
+
res = _useRequest81.data;
|
|
1861
1975
|
var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
1862
1976
|
var visibleList = dataList.filter(function (item) {
|
|
1863
1977
|
var _item$functionKeys2;
|
|
@@ -1873,14 +1987,14 @@ export var JzljService = {
|
|
|
1873
1987
|
export var useUnit = function useUnit() {
|
|
1874
1988
|
var _data$data4, _unitStr2;
|
|
1875
1989
|
var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
|
|
1876
|
-
var
|
|
1990
|
+
var _useRequest82 = useRequest(function () {
|
|
1877
1991
|
return request.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
|
|
1878
1992
|
data: {}
|
|
1879
1993
|
});
|
|
1880
1994
|
}, {
|
|
1881
1995
|
refreshDeps: [groupCode]
|
|
1882
1996
|
}),
|
|
1883
|
-
data =
|
|
1997
|
+
data = _useRequest82.data;
|
|
1884
1998
|
var obj = {};
|
|
1885
1999
|
var originalData = data === null || data === void 0 || (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : _data$data4[groupCode];
|
|
1886
2000
|
for (var group in originalData) {
|