@vtx/modals2 6.0.0-beta.3 → 6.0.0-beta.31
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-card-statistics/index.less +27 -27
- package/lib/_components/vm-empty/index.js +1 -1
- package/lib/_components/vm-factor/index.js +1 -1
- package/lib/_components/vm-factor-list/index.less +11 -11
- 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 +6 -2
- 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 +257 -165
- package/lib/vtx-car-modal/components/Info/index.js +2 -2
- package/lib/vtx-car-modal/components/Info/index.less +6 -6
- 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/OilConsumption/index.less +6 -6
- 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/WaterConsumption/index.less +6 -6
- 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 +2 -2
- package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +3 -3
- 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 +1 -1
- 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/BaseInfo/index.less +6 -6
- 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/components/DataAnalysis/index.less +66 -66
- 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/Basic/index.less +16 -16
- 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 +4 -4
- 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 +5 -2
- 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/Base/index.less +9 -0
- 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/Process/index.less +7 -0
- 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 +92 -92
|
@@ -4,7 +4,7 @@ import { useContext } from 'react';
|
|
|
4
4
|
import { VmLineCharts, VmPieCharts, VmWrapper } from "../../../../_components";
|
|
5
5
|
import { LjsyService } from "../../../api";
|
|
6
6
|
import { CarContext } from "../../../index";
|
|
7
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
9
|
var StaticInfo = function StaticInfo(_ref) {
|
|
10
10
|
var startDate = _ref.startDate,
|
|
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../../_components/vm-filter";
|
|
|
12
12
|
import useSettings from "../../../../_hooks/useSettings";
|
|
13
13
|
import List from "./List";
|
|
14
14
|
import StaticInfo from "./StaticInfo";
|
|
15
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
15
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
var AlarmInfo = function AlarmInfo() {
|
|
18
18
|
var _useSettings = useSettings(),
|
|
@@ -27,7 +27,7 @@ import weightIcon from "../../../imgs/factor/weight.png";
|
|
|
27
27
|
import pointIcon from "../../../imgs/factor/ys_point.png";
|
|
28
28
|
import { CarContext } from "../../../index";
|
|
29
29
|
import "./index.less";
|
|
30
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
30
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
31
31
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
32
32
|
var legendColorMap = {
|
|
33
33
|
计划收集点位: 'geekblue',
|
|
@@ -27,7 +27,7 @@ import lightTrashIcon from "../../../imgs/trash.png";
|
|
|
27
27
|
import lightUnplannedIcon from "../../../imgs/unplanned_point.png";
|
|
28
28
|
import lightWeightIcon from "../../../imgs/weight.png";
|
|
29
29
|
import { CarContext } from "../../../index";
|
|
30
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
30
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
31
31
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
32
32
|
var StaticInfo = function StaticInfo() {
|
|
33
33
|
var _useSettings = useSettings(),
|
|
@@ -15,7 +15,7 @@ import { useContext } from 'react';
|
|
|
15
15
|
import { VmTable, VmWrapper } from "../../../../_components";
|
|
16
16
|
import { LjsyService } from "../../../api";
|
|
17
17
|
import { CarContext } from "../../../index";
|
|
18
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
18
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
var Detail = function Detail(_ref) {
|
|
21
21
|
var startDate = _ref.startDate,
|
|
@@ -59,7 +59,8 @@ var Detail = function Detail(_ref) {
|
|
|
59
59
|
dataIndex: 'collectPointName',
|
|
60
60
|
key: 'collectPointName',
|
|
61
61
|
fixed: 'left',
|
|
62
|
-
width: 160
|
|
62
|
+
width: 160,
|
|
63
|
+
ellipsis: true
|
|
63
64
|
}, {
|
|
64
65
|
title: translateLocaleText("t('vtxcarmodal.hours10')"),
|
|
65
66
|
dataIndex: 'actualCollectTime',
|
|
@@ -14,7 +14,7 @@ import pointIcon from "../../../imgs/factor/point.png";
|
|
|
14
14
|
import trashBg from "../../../imgs/trash_bg.png";
|
|
15
15
|
import weightBg from "../../../imgs/weight_bg.png";
|
|
16
16
|
import { CarContext } from "../../../index";
|
|
17
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
17
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
19
|
var Summary = function Summary(_ref) {
|
|
20
20
|
var startDate = _ref.startDate,
|
|
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../../_components/vm-filter";
|
|
|
12
12
|
import useSettings from "../../../../_hooks/useSettings";
|
|
13
13
|
import Detail from "./Detail";
|
|
14
14
|
import Summary from "./Summary";
|
|
15
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
15
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
var WorkRecord = function WorkRecord() {
|
|
18
18
|
var _useSettings = useSettings(),
|
|
@@ -19,11 +19,11 @@ import darkJclIcon from "../../../imgs/factor/dark_jcl.png";
|
|
|
19
19
|
import jclIcon from "../../../imgs/factor/jcl.png";
|
|
20
20
|
import { CarContext } from "../../../index";
|
|
21
21
|
import "./index.less";
|
|
22
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
22
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
-
var BaseInfo = function BaseInfo() {
|
|
24
|
+
var BaseInfo = function BaseInfo(_ref) {
|
|
25
|
+
var zdReborn = _ref.zdReborn;
|
|
25
26
|
var _useContext = useContext(CarContext),
|
|
26
|
-
id = _useContext.id,
|
|
27
27
|
startDate = _useContext.startDate,
|
|
28
28
|
info = _useContext.info;
|
|
29
29
|
var _useSettings = useSettings(),
|
|
@@ -32,13 +32,14 @@ var BaseInfo = function BaseInfo() {
|
|
|
32
32
|
_useState2 = _slicedToArray(_useState, 2),
|
|
33
33
|
date = _useState2[0],
|
|
34
34
|
setDate = _useState2[1];
|
|
35
|
-
var _LjzyService
|
|
35
|
+
var _LjzyService = LjzyService[zdReborn ? 'useGetCarSumByDateZdReborn' : 'useGetCarSumByDate']({
|
|
36
36
|
carCode: info === null || info === void 0 ? void 0 : info.carCode,
|
|
37
37
|
startDate: dayjs(date).subtract(6, 'day').format('YYYY-MM-DD'),
|
|
38
38
|
endDate: dayjs(date).format('YYYY-MM-DD')
|
|
39
39
|
}),
|
|
40
|
-
taskDaySummary = _LjzyService
|
|
41
|
-
loading = _LjzyService
|
|
40
|
+
taskDaySummary = _LjzyService.taskDaySummary,
|
|
41
|
+
loading = _LjzyService.loading;
|
|
42
|
+
var fieldKey = zdReborn ? 'carNum' : 'carNums';
|
|
42
43
|
var xAxis = _.map(taskDaySummary, 'date');
|
|
43
44
|
var todayInfo = _.last(taskDaySummary) || {};
|
|
44
45
|
var blueColor = '#1677FF';
|
|
@@ -82,7 +83,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
82
83
|
name: translateLocaleText("t('vtxdfmodal.times')"),
|
|
83
84
|
unit: translateLocaleText("t('common.timesUnit')"),
|
|
84
85
|
img: isDark ? darkCarNumIcon : carNumIcon,
|
|
85
|
-
value: (todayInfo === null || todayInfo === void 0 ? void 0 : todayInfo
|
|
86
|
+
value: (todayInfo === null || todayInfo === void 0 ? void 0 : todayInfo[fieldKey]) || 0
|
|
86
87
|
}), /*#__PURE__*/_jsx("div", {
|
|
87
88
|
style: {
|
|
88
89
|
height: 45,
|
|
@@ -92,7 +93,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
92
93
|
showLegend: false,
|
|
93
94
|
dataList: [{
|
|
94
95
|
name: translateLocaleText("t('vtxdfmodal.times')"),
|
|
95
|
-
data: _.map(taskDaySummary,
|
|
96
|
+
data: _.map(taskDaySummary, fieldKey),
|
|
96
97
|
color: transformRgb(blueColor, colorOpacity),
|
|
97
98
|
smooth: true,
|
|
98
99
|
symbol: 'none',
|
|
@@ -203,7 +204,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
203
204
|
lineList: [{
|
|
204
205
|
name: translateLocaleText("t('vtxdfmodal.times')"),
|
|
205
206
|
data: _.map(taskDaySummary, function (item) {
|
|
206
|
-
return "\u2000".concat(item
|
|
207
|
+
return "\u2000".concat(item[fieldKey]);
|
|
207
208
|
}),
|
|
208
209
|
color: isDark ? '#13F97A' : '#0FB964',
|
|
209
210
|
yAxisIndex: 1
|
|
@@ -21,9 +21,10 @@ import darkCarNumIcon from "../../../imgs/calendar/dark_car_num.png";
|
|
|
21
21
|
import darkJclIcon from "../../../imgs/calendar/dark_jcl.png";
|
|
22
22
|
import lightJclIcon from "../../../imgs/calendar/jcl.png";
|
|
23
23
|
import { CarContext } from "../../../index";
|
|
24
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
24
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
25
25
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
|
-
var StaticInfo = function StaticInfo() {
|
|
26
|
+
var StaticInfo = function StaticInfo(_ref) {
|
|
27
|
+
var zdReborn = _ref.zdReborn;
|
|
27
28
|
var _useSettings = useSettings(),
|
|
28
29
|
isDark = _useSettings.isDark;
|
|
29
30
|
var _useState = useState('calendar'),
|
|
@@ -31,19 +32,18 @@ var StaticInfo = function StaticInfo() {
|
|
|
31
32
|
type = _useState2[0],
|
|
32
33
|
setType = _useState2[1];
|
|
33
34
|
var _useContext = useContext(CarContext),
|
|
34
|
-
id = _useContext.id,
|
|
35
35
|
info = _useContext.info;
|
|
36
36
|
var _useState3 = useState(dayjs()),
|
|
37
37
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
38
38
|
month = _useState4[0],
|
|
39
39
|
setMonth = _useState4[1];
|
|
40
|
-
var _LjzyService
|
|
40
|
+
var _LjzyService = LjzyService[zdReborn ? 'useGetCarSumByDateAndDisposeUnitZdReborn' : 'useGetCarSumByDateAndDisposeUnit']({
|
|
41
41
|
carCode: info === null || info === void 0 ? void 0 : info.carCode,
|
|
42
42
|
startDate: month.startOf('M').format('YYYY-MM-DD'),
|
|
43
43
|
endDate: dayjs().isSame(month, 'month') ? dayjs().format('YYYY-MM-DD') : month.endOf('M').format('YYYY-MM-DD')
|
|
44
44
|
}),
|
|
45
|
-
taskDaySummary = _LjzyService
|
|
46
|
-
loading = _LjzyService
|
|
45
|
+
taskDaySummary = _LjzyService.taskDaySummary,
|
|
46
|
+
loading = _LjzyService.loading;
|
|
47
47
|
var keyByDate = keyBy(taskDaySummary || [], 'date');
|
|
48
48
|
var carNumIcon = lightCarNumIcon;
|
|
49
49
|
var jclIcon = lightJclIcon;
|
|
@@ -51,6 +51,7 @@ var StaticInfo = function StaticInfo() {
|
|
|
51
51
|
carNumIcon = darkCarNumIcon;
|
|
52
52
|
jclIcon = darkJclIcon;
|
|
53
53
|
}
|
|
54
|
+
var fieldKey = zdReborn ? 'carNum' : 'carNums';
|
|
54
55
|
var columns = [{
|
|
55
56
|
title: translateLocaleText("t('vtxareamodal.date')"),
|
|
56
57
|
dataIndex: 'date',
|
|
@@ -69,8 +70,8 @@ var StaticInfo = function StaticInfo() {
|
|
|
69
70
|
}
|
|
70
71
|
}, {
|
|
71
72
|
title: translateLocaleText("t('vtxcarmodal.timesTimes')"),
|
|
72
|
-
dataIndex:
|
|
73
|
-
key:
|
|
73
|
+
dataIndex: fieldKey,
|
|
74
|
+
key: fieldKey,
|
|
74
75
|
align: 'right',
|
|
75
76
|
render: function render(text) {
|
|
76
77
|
return /*#__PURE__*/_jsx("span", {
|
|
@@ -98,13 +99,12 @@ var StaticInfo = function StaticInfo() {
|
|
|
98
99
|
if (!item) {
|
|
99
100
|
return null;
|
|
100
101
|
}
|
|
101
|
-
var netWeight = item.netWeight
|
|
102
|
-
carNums = item.carNums;
|
|
102
|
+
var netWeight = item.netWeight;
|
|
103
103
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
104
104
|
children: [/*#__PURE__*/_jsx(VmCalendarInner, {
|
|
105
105
|
type: "blue",
|
|
106
106
|
img: jclIcon,
|
|
107
|
-
value:
|
|
107
|
+
value: item === null || item === void 0 ? void 0 : item[fieldKey],
|
|
108
108
|
style: {
|
|
109
109
|
width: '139px',
|
|
110
110
|
justifyContent: 'space-between',
|
|
@@ -182,7 +182,7 @@ var StaticInfo = function StaticInfo() {
|
|
|
182
182
|
lineList: [{
|
|
183
183
|
name: translateLocaleText("t('vtxdfmodal.times')"),
|
|
184
184
|
data: _.map(taskDaySummary, function (item) {
|
|
185
|
-
return "\u2000".concat(item
|
|
185
|
+
return "\u2000".concat(item === null || item === void 0 ? void 0 : item[fieldKey]);
|
|
186
186
|
}),
|
|
187
187
|
color: isDark ? '#13F97A' : '#0FB964',
|
|
188
188
|
yAxisIndex: 1
|
|
@@ -15,11 +15,12 @@ import { useContext } from 'react';
|
|
|
15
15
|
import { VmTable, VmWrapper } from "../../../../_components";
|
|
16
16
|
import { LjzyService } from "../../../api";
|
|
17
17
|
import { CarContext } from "../../../index";
|
|
18
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
18
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
var Detail = function Detail(_ref) {
|
|
21
21
|
var startDate = _ref.startDate,
|
|
22
|
-
endDate = _ref.endDate
|
|
22
|
+
endDate = _ref.endDate,
|
|
23
|
+
zdReborn = _ref.zdReborn;
|
|
23
24
|
var _useContext = useContext(CarContext),
|
|
24
25
|
info = _useContext.info;
|
|
25
26
|
var _useSetState = useSetState({
|
|
@@ -37,7 +38,7 @@ var Detail = function Detail(_ref) {
|
|
|
37
38
|
var pagination = state.pagination,
|
|
38
39
|
sort = state.sort,
|
|
39
40
|
order = state.order;
|
|
40
|
-
var _LjzyService
|
|
41
|
+
var _LjzyService = LjzyService[zdReborn ? 'useGetWorkDetailZdReborn' : 'useGetWorkDetail']({
|
|
41
42
|
startTime: "".concat(startDate, " 00:00:00"),
|
|
42
43
|
endTime: "".concat(endDate, " 23:59:59"),
|
|
43
44
|
carNo: info === null || info === void 0 ? void 0 : info.carCode,
|
|
@@ -45,8 +46,8 @@ var Detail = function Detail(_ref) {
|
|
|
45
46
|
sort: sort,
|
|
46
47
|
order: order
|
|
47
48
|
}),
|
|
48
|
-
workDetailData = _LjzyService
|
|
49
|
-
loading = _LjzyService
|
|
49
|
+
workDetailData = _LjzyService.workDetailData,
|
|
50
|
+
loading = _LjzyService.loading;
|
|
50
51
|
var records = {
|
|
51
52
|
total: (workDetailData === null || workDetailData === void 0 ? void 0 : workDetailData.total) || 0,
|
|
52
53
|
rows: (workDetailData === null || workDetailData === void 0 ? void 0 : workDetailData.rows) || []
|
|
@@ -10,24 +10,26 @@ import darkCarNumIcon from "../../../imgs/factor/dark_car_num.png";
|
|
|
10
10
|
import darkJclIcon from "../../../imgs/factor/dark_jcl.png";
|
|
11
11
|
import jclIcon from "../../../imgs/factor/jcl.png";
|
|
12
12
|
import { CarContext } from "../../../index";
|
|
13
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
var Summary = function Summary(_ref) {
|
|
16
16
|
var startDate = _ref.startDate,
|
|
17
|
-
endDate = _ref.endDate
|
|
17
|
+
endDate = _ref.endDate,
|
|
18
|
+
zdReborn = _ref.zdReborn;
|
|
18
19
|
var _useSettings = useSettings(),
|
|
19
20
|
isDark = _useSettings.isDark;
|
|
20
21
|
var _useContext = useContext(CarContext),
|
|
21
22
|
id = _useContext.id,
|
|
22
23
|
info = _useContext.info;
|
|
23
|
-
var _LjzyService
|
|
24
|
+
var _LjzyService = LjzyService[zdReborn ? 'useGetCarSumByDateZdReborn' : 'useGetCarSumByDate']({
|
|
24
25
|
carCode: info === null || info === void 0 ? void 0 : info.carCode,
|
|
25
26
|
startDate: startDate,
|
|
26
27
|
endDate: endDate
|
|
27
28
|
}),
|
|
28
|
-
taskDaySummary = _LjzyService
|
|
29
|
-
loading = _LjzyService
|
|
30
|
-
var
|
|
29
|
+
taskDaySummary = _LjzyService.taskDaySummary,
|
|
30
|
+
loading = _LjzyService.loading;
|
|
31
|
+
var fieldKey = zdReborn ? 'carNum' : 'carNums';
|
|
32
|
+
var totalCarNums = _.sumBy(taskDaySummary, fieldKey);
|
|
31
33
|
var dailyCompletePercent = _.sumBy(taskDaySummary, 'netWeight').toFixed(2);
|
|
32
34
|
var xAxis = _.map(taskDaySummary, 'date');
|
|
33
35
|
return /*#__PURE__*/_jsx(VmWrapper, {
|
|
@@ -47,7 +49,7 @@ var Summary = function Summary(_ref) {
|
|
|
47
49
|
}), /*#__PURE__*/_jsx(VmBarCharts, {
|
|
48
50
|
dataList: [{
|
|
49
51
|
name: translateLocaleText("t('vtxdfmodal.times')"),
|
|
50
|
-
data: _.map(taskDaySummary,
|
|
52
|
+
data: _.map(taskDaySummary, fieldKey)
|
|
51
53
|
}],
|
|
52
54
|
unit: translateLocaleText("t('common.timesUnit')"),
|
|
53
55
|
xAxis: xAxis,
|
|
@@ -10,11 +10,12 @@ import dayjs from 'dayjs';
|
|
|
10
10
|
import { VmWrapper } from "../../../../_components";
|
|
11
11
|
import { VMRangePicker } from "../../../../_components/vm-filter";
|
|
12
12
|
import useSettings from "../../../../_hooks/useSettings";
|
|
13
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
13
14
|
import Detail from "./Detail";
|
|
14
15
|
import Summary from "./Summary";
|
|
15
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
-
var WorkRecord = function WorkRecord() {
|
|
17
|
+
var WorkRecord = function WorkRecord(_ref) {
|
|
18
|
+
var zdReborn = _ref.zdReborn;
|
|
18
19
|
var _useSettings = useSettings(),
|
|
19
20
|
sDate = _useSettings.startDate,
|
|
20
21
|
eDate = _useSettings.endDate;
|
|
@@ -56,13 +57,15 @@ var WorkRecord = function WorkRecord() {
|
|
|
56
57
|
span: 24,
|
|
57
58
|
children: /*#__PURE__*/_jsx(Summary, {
|
|
58
59
|
startDate: formatStartDate,
|
|
59
|
-
endDate: formatEndDate
|
|
60
|
+
endDate: formatEndDate,
|
|
61
|
+
zdReborn: zdReborn
|
|
60
62
|
})
|
|
61
63
|
}), /*#__PURE__*/_jsx(Col, {
|
|
62
64
|
span: 24,
|
|
63
65
|
children: /*#__PURE__*/_jsx(Detail, {
|
|
64
66
|
startDate: formatStartDate,
|
|
65
|
-
endDate: formatEndDate
|
|
67
|
+
endDate: formatEndDate,
|
|
68
|
+
zdReborn: zdReborn
|
|
66
69
|
})
|
|
67
70
|
})]
|
|
68
71
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VmBarCharts } from "../../../../_components";
|
|
2
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
2
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
export default function (props) {
|
|
5
5
|
return /*#__PURE__*/_jsx(VmBarCharts, {
|
|
@@ -17,7 +17,7 @@ import dayjs from 'dayjs';
|
|
|
17
17
|
import { keyBy } from 'lodash';
|
|
18
18
|
import { VmBarCharts, VmCalendar, VmCalendarInner, VmCalendarPercent, VmTable } from "../../../../_components";
|
|
19
19
|
import useSettings from "../../../../_hooks/useSettings";
|
|
20
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
20
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
21
21
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
22
|
var butter_dark = require("../../../imgs/butter_dark.png");
|
|
23
23
|
var butter = require("../../../imgs/butter.png");
|
|
@@ -57,7 +57,7 @@ export default function (_ref) {
|
|
|
57
57
|
}), /*#__PURE__*/_jsx(VmCalendarInner, {
|
|
58
58
|
type: "blue",
|
|
59
59
|
img: isDark ? track_dark : track,
|
|
60
|
-
value: "".concat((item === null || item === void 0 ? void 0 : item.workMileage) || 0, "/").concat((item === null || item === void 0 ? void 0 : item.driveMileage) || 0),
|
|
60
|
+
value: "".concat((((item === null || item === void 0 ? void 0 : item.workMileage) || 0) / 1000).toFixed(2), "/").concat((item === null || item === void 0 ? void 0 : item.driveMileage) || 0),
|
|
61
61
|
style: {
|
|
62
62
|
width: '139px',
|
|
63
63
|
justifyContent: 'space-between',
|
|
@@ -14,7 +14,7 @@ import butter_dark from "../../../imgs/butter_dark.png";
|
|
|
14
14
|
import water from "../../../imgs/water.png";
|
|
15
15
|
import water_dark from "../../../imgs/water_dark.png";
|
|
16
16
|
import "./index.less";
|
|
17
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
17
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
19
19
|
function Monitor(_ref) {
|
|
20
20
|
var carId = _ref.carId;
|
|
@@ -9,7 +9,7 @@ import { Col, Row } from 'antd';
|
|
|
9
9
|
import dayjs from 'dayjs';
|
|
10
10
|
import { VmFactor, VmProgress } from "../../../../_components";
|
|
11
11
|
import useSettings from "../../../../_hooks/useSettings";
|
|
12
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
12
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
export default function (props) {
|
|
15
15
|
var _useSettings = useSettings(),
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
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); }
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
9
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
7
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
11
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
9
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
13
|
import { useSetState } from 'ahooks';
|
|
14
14
|
import dayjs from 'dayjs';
|
|
15
15
|
import React, { useMemo } from 'react';
|
|
16
16
|
import { VmCustom, VmIframeModal, VmVideo } from "../_components";
|
|
17
17
|
import useGetChannels from "../_hooks/useGetChannels";
|
|
18
18
|
import useGetConfig from "../_hooks/useGetConfig";
|
|
19
|
+
import { useZdService } from "../_hooks/useUmsService";
|
|
19
20
|
import VtxBaseModal from "../vtx-base-modal";
|
|
20
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
21
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
21
22
|
import { BaseService, OilService } from "./api";
|
|
22
23
|
import { Cc, Common, JXH, Jzlj, Ljsy, Ljzy } from "./content";
|
|
23
24
|
import "./style";
|
|
@@ -132,11 +133,11 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
132
133
|
iframeUrl = _props$iframeUrl === void 0 ? '' : _props$iframeUrl,
|
|
133
134
|
_props$width = props.width,
|
|
134
135
|
width = _props$width === void 0 ? null : _props$width;
|
|
136
|
+
var serviceConfig = useZdService();
|
|
135
137
|
var _BaseService$useBaseI = BaseService.useBaseInfo(id),
|
|
136
138
|
detail = _BaseService$useBaseI.detail,
|
|
137
139
|
info = _BaseService$useBaseI.info;
|
|
138
|
-
var
|
|
139
|
-
channels = _useGetChannels.channels;
|
|
140
|
+
var zdReborn = (serviceConfig === null || serviceConfig === void 0 ? void 0 : serviceConfig.zdService) === 'reborn';
|
|
140
141
|
var _OilService$useHasOil = OilService.useHasOil(id),
|
|
141
142
|
beenOilStatus = _OilService$useHasOil.beenOilStatus;
|
|
142
143
|
var _BaseService$useField = BaseService.useFieldConfig(),
|
|
@@ -198,18 +199,6 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
198
199
|
}, {
|
|
199
200
|
key: TABS_JXH_ALARM,
|
|
200
201
|
title: translateLocaleText("t('vtxqyrymodal.alarmInformation')")
|
|
201
|
-
}, {
|
|
202
|
-
key: TABS_WATER_USE,
|
|
203
|
-
title: translateLocaleText("t('vtxcarmodal.waterUseInformation')")
|
|
204
|
-
}, {
|
|
205
|
-
key: TABS_ELE_USE,
|
|
206
|
-
title: translateLocaleText("t('vtxcarmodal.eleUseInformation')")
|
|
207
|
-
}, {
|
|
208
|
-
key: TABS_OIL_USE,
|
|
209
|
-
title: translateLocaleText("t('vtxcarmodal.oilUseInformation')")
|
|
210
|
-
}, {
|
|
211
|
-
key: TABS_OPERATION,
|
|
212
|
-
title: translateLocaleText("t('vtxcarmodal.operationInformation')")
|
|
213
202
|
}];
|
|
214
203
|
} else if (actionType.includes('ACTION_CC')) {
|
|
215
204
|
tabs = [{
|
|
@@ -263,6 +252,18 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
263
252
|
}, {
|
|
264
253
|
key: TABS_ALARM,
|
|
265
254
|
title: translateLocaleText("t('vtxqyrymodal.alarmInformation')")
|
|
255
|
+
}, {
|
|
256
|
+
key: TABS_WATER_USE,
|
|
257
|
+
title: translateLocaleText("t('vtxcarmodal.waterUseInformation')")
|
|
258
|
+
}, {
|
|
259
|
+
key: TABS_ELE_USE,
|
|
260
|
+
title: translateLocaleText("t('vtxcarmodal.eleUseInformation')")
|
|
261
|
+
}, {
|
|
262
|
+
key: TABS_OIL_USE,
|
|
263
|
+
title: translateLocaleText("t('vtxcarmodal.oilUseInformation')")
|
|
264
|
+
}, {
|
|
265
|
+
key: TABS_OPERATION,
|
|
266
|
+
title: translateLocaleText("t('vtxcarmodal.operationInformation')")
|
|
266
267
|
}];
|
|
267
268
|
}
|
|
268
269
|
return tabs.concat([{
|
|
@@ -270,11 +271,12 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
270
271
|
title: translateLocaleText("t('vtxdevicemodal.video')")
|
|
271
272
|
}]);
|
|
272
273
|
}, [info === null || info === void 0 ? void 0 : info.actionType]);
|
|
273
|
-
var contents = (_contents = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_BASE, /*#__PURE__*/_jsx(Common.BaseInfo, {})), TABS_STATIC, /*#__PURE__*/_jsx(Common.StaticInfo, {})), TABS_ALARM, /*#__PURE__*/_jsx(Common.AlarmInfo, {})), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
|
|
274
|
-
channels: channels
|
|
275
|
-
})), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})), TABS_WATER_USE, /*#__PURE__*/_jsx(Common.WaterUse, {})), TABS_ELE_USE, /*#__PURE__*/_jsx(Common.EleUse, {})), TABS_OIL_USE, /*#__PURE__*/_jsx(Common.OilUse, {})), TABS_OPERATION, /*#__PURE__*/_jsx(Common.OperationAnalysis, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_MAINTENANCE, /*#__PURE__*/_jsx(Common.Maintenance, {})), TABS_DETAIL, /*#__PURE__*/_jsx(Common.DetailInfo, {})), TABS_DEVICE, /*#__PURE__*/_jsx(Common.DeviceInfo, {})), TABS_JXH_BASE, /*#__PURE__*/_jsx(JXH.BaseInfo, {})), TABS_JXH_STATIC, /*#__PURE__*/_jsx(JXH.StaticInfo, {})), TABS_JXH_WORK, /*#__PURE__*/_jsx(JXH.WorkRecord, {})), TABS_JXH_ALARM, /*#__PURE__*/_jsx(JXH.AlarmInfo, {})), TABS_JXH_BASE_HW_2, /*#__PURE__*/_jsx(JXH.Hw2BaseInfo, {})), TABS_JXH_STATIC_HW_2, /*#__PURE__*/_jsx(JXH.Hw2StaticInfo, {})), TABS_JXH_WORK_HW_2, /*#__PURE__*/_jsx(JXH.Hw2WorkRecord, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_JXH_ALARM_HW_2, /*#__PURE__*/_jsx(JXH.Hw2AlarmInfo, {})), TABS_LJSY_BASE, /*#__PURE__*/_jsx(Ljsy.BaseInfo, {})), TABS_LJSY_STATIC, /*#__PURE__*/_jsx(Ljsy.StaticInfo, {})), TABS_LJSY_WORK, /*#__PURE__*/_jsx(Ljsy.WorkRecord, {})), TABS_LJSY_ALARM, /*#__PURE__*/_jsx(Ljsy.AlarmInfo, {})), TABS_CC_BASE, /*#__PURE__*/_jsx(Cc.BaseInfo, {})), TABS_CC_ORDER, /*#__PURE__*/_jsx(Cc.OrderInfo, {})), TABS_CC_STATIC, /*#__PURE__*/_jsx(Cc.StaticInfo, {})), TABS_CC_WORK, /*#__PURE__*/_jsx(Cc.WorkRecord, {})), TABS_CC_ALARM, /*#__PURE__*/_jsx(Cc.AlarmInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_LJZY_BASE, /*#__PURE__*/_jsx(Ljzy.BaseInfo, {})), TABS_LJZY_STATIC, /*#__PURE__*/_jsx(Ljzy.StaticInfo, {})), TABS_LJZY_WORK, /*#__PURE__*/_jsx(Ljzy.WorkRecord, {})), TABS_JZLJ_CAR_BASE, /*#__PURE__*/_jsx(Jzlj.BaseInfo, {})), TABS_JZLJ_CAR_DISPOSE, /*#__PURE__*/_jsx(Jzlj.Dispose, {})), TABS_JZLJ_CAR_COLLECTION, /*#__PURE__*/_jsx(Jzlj.Collection, {})), TABS_JZLJ_CAR_ALARM, /*#__PURE__*/_jsx(Jzlj.Alarm, {})), TABS_JZLJ_CAR_RUNNING_CALENDAR, /*#__PURE__*/_jsx(Jzlj.RunCalendar, {})));
|
|
276
274
|
var _useGetConfig = useGetConfig(code, tabs),
|
|
277
275
|
tabsData = _useGetConfig.tabsData;
|
|
276
|
+
var _useGetChannels = useGetChannels(info === null || info === void 0 ? void 0 : info.carCode, !!(info !== null && info !== void 0 && info.carCode) && (tabsData === null || tabsData === void 0 ? void 0 : tabsData.findIndex(function (ele) {
|
|
277
|
+
return ele.key === 'video';
|
|
278
|
+
})) > -1),
|
|
279
|
+
channels = _useGetChannels.channels;
|
|
278
280
|
var tabsList = useMemo(function () {
|
|
279
281
|
var tabsList = tabsData;
|
|
280
282
|
if (tabsList.findIndex(function (ele) {
|
|
@@ -311,6 +313,15 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
311
313
|
_useSetState2 = _slicedToArray(_useSetState, 2),
|
|
312
314
|
iframeModalInfo = _useSetState2[0],
|
|
313
315
|
setIframeModalInfo = _useSetState2[1];
|
|
316
|
+
var contents = (_contents = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_BASE, /*#__PURE__*/_jsx(Common.BaseInfo, {})), TABS_STATIC, /*#__PURE__*/_jsx(Common.StaticInfo, {})), TABS_ALARM, /*#__PURE__*/_jsx(Common.AlarmInfo, {})), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
|
|
317
|
+
channels: channels
|
|
318
|
+
})), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})), TABS_WATER_USE, /*#__PURE__*/_jsx(Common.WaterUse, {})), TABS_ELE_USE, /*#__PURE__*/_jsx(Common.EleUse, {})), TABS_OIL_USE, /*#__PURE__*/_jsx(Common.OilUse, {})), TABS_OPERATION, /*#__PURE__*/_jsx(Common.OperationAnalysis, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_MAINTENANCE, /*#__PURE__*/_jsx(Common.Maintenance, {})), TABS_DETAIL, /*#__PURE__*/_jsx(Common.DetailInfo, {})), TABS_DEVICE, /*#__PURE__*/_jsx(Common.DeviceInfo, {})), TABS_JXH_BASE, /*#__PURE__*/_jsx(JXH.BaseInfo, {})), TABS_JXH_STATIC, /*#__PURE__*/_jsx(JXH.StaticInfo, {})), TABS_JXH_WORK, /*#__PURE__*/_jsx(JXH.WorkRecord, {})), TABS_JXH_ALARM, /*#__PURE__*/_jsx(JXH.AlarmInfo, {})), TABS_JXH_BASE_HW_2, /*#__PURE__*/_jsx(JXH.Hw2BaseInfo, {})), TABS_JXH_STATIC_HW_2, /*#__PURE__*/_jsx(JXH.Hw2StaticInfo, {})), TABS_JXH_WORK_HW_2, /*#__PURE__*/_jsx(JXH.Hw2WorkRecord, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_JXH_ALARM_HW_2, /*#__PURE__*/_jsx(JXH.Hw2AlarmInfo, {})), TABS_LJSY_BASE, /*#__PURE__*/_jsx(Ljsy.BaseInfo, {})), TABS_LJSY_STATIC, /*#__PURE__*/_jsx(Ljsy.StaticInfo, {})), TABS_LJSY_WORK, /*#__PURE__*/_jsx(Ljsy.WorkRecord, {})), TABS_LJSY_ALARM, /*#__PURE__*/_jsx(Ljsy.AlarmInfo, {})), TABS_CC_BASE, /*#__PURE__*/_jsx(Cc.BaseInfo, {})), TABS_CC_ORDER, /*#__PURE__*/_jsx(Cc.OrderInfo, {})), TABS_CC_STATIC, /*#__PURE__*/_jsx(Cc.StaticInfo, {})), TABS_CC_WORK, /*#__PURE__*/_jsx(Cc.WorkRecord, {})), TABS_CC_ALARM, /*#__PURE__*/_jsx(Cc.AlarmInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_LJZY_BASE, /*#__PURE__*/_jsx(Ljzy.BaseInfo, {
|
|
319
|
+
zdReborn: zdReborn
|
|
320
|
+
})), TABS_LJZY_STATIC, /*#__PURE__*/_jsx(Ljzy.StaticInfo, {
|
|
321
|
+
zdReborn: zdReborn
|
|
322
|
+
})), TABS_LJZY_WORK, /*#__PURE__*/_jsx(Ljzy.WorkRecord, {
|
|
323
|
+
zdReborn: zdReborn
|
|
324
|
+
})), TABS_JZLJ_CAR_BASE, /*#__PURE__*/_jsx(Jzlj.BaseInfo, {})), TABS_JZLJ_CAR_DISPOSE, /*#__PURE__*/_jsx(Jzlj.Dispose, {})), TABS_JZLJ_CAR_COLLECTION, /*#__PURE__*/_jsx(Jzlj.Collection, {})), TABS_JZLJ_CAR_ALARM, /*#__PURE__*/_jsx(Jzlj.Alarm, {})), TABS_JZLJ_CAR_RUNNING_CALENDAR, /*#__PURE__*/_jsx(Jzlj.RunCalendar, {})));
|
|
314
325
|
var value = useMemo(function () {
|
|
315
326
|
return {
|
|
316
327
|
id: id,
|
|
@@ -337,7 +348,7 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
337
348
|
theme: theme,
|
|
338
349
|
visible: visible,
|
|
339
350
|
onCancel: onCancel,
|
|
340
|
-
tabs:
|
|
351
|
+
tabs: tabsList,
|
|
341
352
|
tabChose: tabChose,
|
|
342
353
|
startDate: startDate,
|
|
343
354
|
endDate: endDate,
|
|
@@ -16,7 +16,7 @@ import { useContext, useState } from 'react';
|
|
|
16
16
|
import { VmTable, VmWrapper } from "../../../_components";
|
|
17
17
|
import { AlarmService } from "../../api";
|
|
18
18
|
import { CcCpContext } from "../../index";
|
|
19
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
var TABLE_SCROLL_X = 980;
|
|
22
22
|
var alarmTabs = [{
|
|
@@ -3,7 +3,7 @@ import { useContext } from 'react';
|
|
|
3
3
|
import { VmEmpty, VmLineCharts } from "../../../_components";
|
|
4
4
|
import { AlarmService } from "../../api";
|
|
5
5
|
import { CcCpContext } from "../../index";
|
|
6
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
6
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
var AlarmTrend = function AlarmTrend(_ref) {
|
|
9
9
|
var startDate = _ref.startDate,
|
|
@@ -4,7 +4,7 @@ import { useContext } from 'react';
|
|
|
4
4
|
import { VmEmpty, VmPieCharts } from "../../../_components";
|
|
5
5
|
import { AlarmService } from "../../api";
|
|
6
6
|
import { CcCpContext } from "../../index";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
var AlarmTypeAnalysis = function AlarmTypeAnalysis(_ref) {
|
|
10
10
|
var startDate = _ref.startDate,
|
|
@@ -2,7 +2,7 @@ import { Col, Row } from 'antd';
|
|
|
2
2
|
import { VmWrapper } from "../../../_components";
|
|
3
3
|
import AlarmTrend from "./AlarmTrend";
|
|
4
4
|
import AlarmTypeAnalysis from "./AlarmTypeAnalysis";
|
|
5
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
5
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
var StaticInfo = function StaticInfo(_ref) {
|
|
8
8
|
var startDate = _ref.startDate,
|
|
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../_components/vm-filter";
|
|
|
12
12
|
import useSettings from "../../../_hooks/useSettings";
|
|
13
13
|
import AlarmRecord from "./AlarmRecord";
|
|
14
14
|
import StaticInfo from "./StaticInfo";
|
|
15
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
15
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
var AlarmInfo = function AlarmInfo() {
|
|
18
18
|
var _useSettings = useSettings(),
|
|
@@ -10,7 +10,7 @@ import { VmFactor, VmProgress, VmWrapper } from "../../../_components";
|
|
|
10
10
|
import useSettings from "../../../_hooks/useSettings";
|
|
11
11
|
import { BasicService } from "../../../vtx-cc-cp-modal/api";
|
|
12
12
|
import { CcCpContext } from "../../index";
|
|
13
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
var AllWork = function AllWork() {
|
|
16
16
|
var _useSettings = useSettings(),
|
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
8
8
|
import { VmInfoCollection, VmMap } from "../../../_components";
|
|
9
9
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
var Info = function Info(_ref) {
|
|
@@ -4,7 +4,7 @@ import { VmInfoCollection, VmTag } from "../../../_components";
|
|
|
4
4
|
import { BasicService } from "../../../vtx-cc-cp-modal/api";
|
|
5
5
|
import { CcCpContext } from "../../index";
|
|
6
6
|
import "./index.less";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
9
9
|
var Rules = function Rules(_ref) {
|
|
10
10
|
var id = _ref.id;
|
|
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
11
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
14
14
|
import { useSetState } from 'ahooks';
|
|
15
15
|
import { useContext } from 'react';
|
|
16
16
|
import { VmTable, VmTag } from "../../../_components";
|