@vtx/modals2 5.0.58 → 6.0.0-beta.0
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/README.md +18 -2
- package/lib/_components/vm-calendar/index.js +12 -7
- package/lib/_components/vm-calendar/style/index.js +0 -1
- package/lib/_components/vm-calendar/style/index.less +1 -0
- package/lib/_components/vm-card-statistics/index.less +27 -27
- package/lib/_components/vm-custom/index.js +1 -1
- package/lib/_components/vm-empty/index.js +13 -11
- package/lib/_components/vm-factor/index.js +1 -0
- package/lib/_components/vm-factor/style/index.less +4 -0
- package/lib/_components/vm-factor-list/index.less +11 -11
- package/lib/_components/vm-filter/index.js +9 -12
- package/lib/_components/vm-info-collection/style/index.js +0 -1
- package/lib/_components/vm-map/index.js +18 -0
- package/lib/_components/vm-pie-charts/index.js +1 -1
- package/lib/_components/vm-popover/index.js +11 -3
- package/lib/_components/vm-popover/index.less +10 -7
- package/lib/_components/vm-repair-maintain/RmInfoSummary.js +7 -6
- package/lib/_components/vm-repair-maintain/RmMonthTrend.js +3 -2
- package/lib/_components/vm-repair-maintain/RmRecord.js +9 -8
- package/lib/_components/vm-repair-maintain/RmType.js +5 -4
- package/lib/_components/vm-repair-maintain/index.js +4 -3
- package/lib/_components/vm-table/index.js +31 -24
- package/lib/_components/vm-tabs/index.js +26 -10
- package/lib/_components/vm-video/index.js +21 -21
- package/lib/_components/vm-wrapper/index.js +8 -4
- package/lib/_components/vm-wrapper/resource/ICON_CONFIG.js +1 -1
- package/lib/_util/http.js +4 -2
- package/lib/_util/setupDayjs.js +16 -0
- package/lib/hooks/useTranslation.js +219 -0
- package/lib/index.js +3 -0
- package/lib/locales/en.json +1377 -0
- package/lib/locales/zh-CN.json +1377 -0
- package/lib/style/index.less +0 -2
- package/lib/vtx-area-modal/api.js +5 -4
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +2 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +10 -9
- package/lib/vtx-area-modal/components/BaseInfo/index.js +14 -13
- package/lib/vtx-area-modal/index.js +1 -1
- package/lib/vtx-base-modal/Header/index.less +99 -98
- package/lib/vtx-base-modal/index.js +34 -3
- package/lib/vtx-base-modal/style/index.less +14 -1
- package/lib/vtx-car-modal/components/Info/index.js +37 -7
- package/lib/vtx-car-modal/components/Info/index.less +6 -6
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +7 -6
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +22 -21
- package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +26 -25
- package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +15 -14
- package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +22 -21
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +13 -12
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +13 -12
- package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +16 -11
- package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +10 -7
- package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +13 -12
- package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +16 -15
- package/lib/vtx-car-modal/content/Common/Maintenance/index.js +23 -18
- package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +5 -4
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +7 -6
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +17 -15
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +10 -9
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +8 -7
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +9 -8
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +11 -10
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +8 -7
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +13 -12
- package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +44 -41
- package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +26 -20
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +18 -17
- package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +23 -22
- package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +41 -40
- package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +13 -12
- package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +21 -20
- package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +8 -7
- package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +26 -25
- package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +15 -9
- package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +20 -19
- package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +13 -12
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +6 -5
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +28 -27
- package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +23 -22
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +10 -9
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +13 -12
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +18 -17
- package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +15 -14
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +8 -7
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +12 -11
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +4 -3
- package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +18 -17
- package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +2 -1
- package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +8 -7
- package/lib/vtx-car-modal/index.js +25 -24
- package/lib/vtx-car-modal/style/index.js +1 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +28 -16
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +7 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +4 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +3 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +29 -34
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +25 -19
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +4 -3
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +21 -17
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +8 -7
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +34 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +4 -3
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +7 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +4 -3
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +33 -35
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +3 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +23 -13
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +2 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +25 -17
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/index.js +2 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +11 -7
- package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +3 -2
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +13 -9
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +13 -9
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +7 -6
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +13 -9
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +11 -7
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +14 -13
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +13 -9
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +15 -11
- package/lib/vtx-cc-unit-modal/index.js +17 -10
- package/lib/vtx-cp-modal/api.js +6 -5
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +4 -3
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +6 -5
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +9 -8
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +3 -2
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +10 -9
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +5 -4
- package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +10 -9
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +4 -3
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +6 -5
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +5 -4
- package/lib/vtx-cp-modal/components/SyInfo/index.js +20 -19
- package/lib/vtx-cp-modal/index.js +5 -4
- package/lib/vtx-default-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-default-modal/index.js +4 -3
- package/lib/vtx-default-modal/style/index.js +0 -1
- package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +4 -3
- package/lib/vtx-device-modal/components/BaseInfo/index.js +13 -12
- package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +15 -14
- package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +21 -20
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +15 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
- package/lib/vtx-device-modal/index.js +6 -3
- package/lib/vtx-device-modal/style/index.less +32 -0
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +12 -7
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfo/index.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +12 -7
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +4 -3
- package/lib/vtx-df-modal/components/Calendar/index.js +7 -6
- package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +7 -6
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +10 -8
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +6 -5
- package/lib/vtx-df-modal/components/Metering/List.js +12 -10
- package/lib/vtx-df-modal/components/Metering/index.js +11 -10
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +10 -8
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +6 -6
- package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +12 -10
- package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +11 -10
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -1
- package/lib/vtx-df-modal/components/WorkCondition/Table.js +4 -3
- package/lib/vtx-df-modal/components/WorkCondition/index.js +9 -4
- package/lib/vtx-df-modal/index.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +7 -6
- package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +5 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +8 -7
- package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +6 -5
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +9 -8
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +5 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +5 -4
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +7 -5
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +14 -13
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +12 -11
- package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +20 -17
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +55 -52
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +3 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +2 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +6 -5
- package/lib/vtx-housing-estate-modal/config.js +10 -10
- package/lib/vtx-housing-estate-modal/index.js +6 -5
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +15 -9
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +31 -25
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +32 -24
- package/lib/vtx-jzlj-df-tpd-modal/components/FactorList.js +38 -0
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +16 -10
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +16 -8
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +5 -4
- package/lib/vtx-jzlj-df-tpd-modal/index.js +8 -5
- package/lib/vtx-jzlj-df-tpd-modal/style/index.less +22 -0
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +41 -40
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +16 -15
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +10 -8
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +26 -24
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +26 -24
- package/lib/vtx-jzlj-gcxm-modal/components/FactorList.js +41 -0
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/index.js +10 -6
- package/lib/vtx-jzlj-gcxm-modal/style/index.less +45 -0
- package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +11 -9
- package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +27 -25
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +26 -24
- package/lib/vtx-jzlj-xnc-modal/components/FactorList.js +41 -0
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +12 -10
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +13 -11
- package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +24 -13
- package/lib/vtx-jzlj-xnc-modal/index.js +9 -5
- package/lib/vtx-jzlj-xnc-modal/style/index.less +46 -0
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +29 -12
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.less +21 -0
- package/lib/vtx-jzlj-ysqy-modal/index.js +6 -2
- package/lib/vtx-kh-modal/api2.js +10 -9
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +21 -23
- package/lib/vtx-kh-modal/components/Record/index.js +18 -17
- package/lib/vtx-kh-modal/index.js +3 -2
- package/lib/vtx-kh-modal/style/index.js +0 -1
- package/lib/vtx-qyry-modal/api.js +8 -7
- package/lib/vtx-qyry-modal/index.js +17 -16
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +18 -9
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +7 -2
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +4 -3
- package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +3 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -1
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +11 -7
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +4 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +3 -2
- package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +3 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js +5 -4
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +24 -23
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +11 -10
- package/lib/vtx-restaurant-modal/config.js +94 -95
- package/lib/vtx-restaurant-modal/index.js +16 -7
- package/lib/vtx-road-modal/api.js +14 -13
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +6 -2
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +26 -21
- package/lib/vtx-road-modal/components/BaseInfo/index.js +7 -5
- package/lib/vtx-road-modal/components/BaseInfo/index.less +37 -0
- package/lib/vtx-road-modal/components/Calendar/index.js +5 -4
- package/lib/vtx-road-modal/components/LaneBaseInfo/Rules.js +6 -3
- package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +25 -20
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +5 -3
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.less +42 -0
- package/lib/vtx-road-modal/components/LaneCalendar/index.js +7 -6
- package/lib/vtx-road-modal/components/LaneStatistical/index.js +37 -24
- package/lib/vtx-road-modal/components/LaneStatistical/index.less +8 -0
- package/lib/vtx-road-modal/components/Statistical/index.js +36 -23
- package/lib/vtx-road-modal/components/Statistical/index.less +40 -32
- package/lib/vtx-road-modal/index.js +30 -21
- package/lib/vtx-road-modal/style/index.js +1 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +7 -6
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +4 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +8 -7
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +6 -5
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +9 -8
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +4 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +14 -12
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +14 -13
- package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +12 -11
- package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +11 -10
- package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +13 -12
- package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +2 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +2 -1
- package/lib/vtx-sdyd-tfd-modal/config.js +6 -6
- package/lib/vtx-sdyd-tfd-modal/index.js +7 -6
- package/lib/vtx-shxq-modal/api.js +9 -8
- package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +8 -7
- package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +12 -11
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-shxq-modal/components/Tfd/index.js +7 -6
- package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +2 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +4 -3
- package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +6 -5
- package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +15 -14
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +10 -9
- package/lib/vtx-shxq-modal/index.js +6 -5
- package/lib/vtx-staff-modal/api.js +8 -7
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +6 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +8 -7
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +5 -4
- package/lib/vtx-staff-modal/components/Attendance/Record.js +22 -20
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +8 -7
- package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +13 -11
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +11 -10
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +7 -6
- package/lib/vtx-staff-modal/components/Calendar/index.js +8 -7
- package/lib/vtx-staff-modal/components/Equipment/index.js +23 -22
- package/lib/vtx-staff-modal/index.js +6 -5
- package/lib/vtx-tfd-modal/api.js +7 -6
- package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +6 -5
- package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +4 -3
- package/lib/vtx-tfd-modal/components/BaseInfo/index.js +17 -17
- package/lib/vtx-tfd-modal/index.js +4 -4
- package/lib/vtx-wr-modal/components/Appraise/index.js +18 -18
- package/lib/vtx-wr-modal/components/Base/Jbxx.js +15 -16
- package/lib/vtx-wr-modal/components/Base/Ptss.js +17 -16
- package/lib/vtx-wr-modal/components/Base/Sjjg.js +12 -9
- package/lib/vtx-wr-modal/components/Base/index.js +14 -14
- package/lib/vtx-wr-modal/components/Build/index.js +6 -5
- package/lib/vtx-wr-modal/components/File/index.js +12 -15
- package/lib/vtx-wr-modal/components/File/index.less +8 -3
- package/lib/vtx-wr-modal/components/Score/index.js +20 -27
- package/lib/vtx-wr-modal/components/Score/index.less +49 -26
- package/lib/vtx-wr-modal/index.js +5 -2
- package/lib/vtx-wr-modal/style/index.js +0 -1
- package/lib/vtx-zf-modal/components/Base/index.js +37 -36
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +22 -21
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +9 -7
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +27 -27
- package/lib/vtx-zf-modal/components/File/index.js +15 -14
- package/lib/vtx-zf-modal/components/Process/index.js +17 -17
- package/lib/vtx-zf-modal/components/Record/index.js +9 -8
- package/lib/vtx-zf-modal/components/Right/index.js +7 -7
- package/lib/vtx-zf-modal/style/index.js +0 -1
- package/lib/vtx-zg-modal/api.js +13 -12
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +52 -35
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +48 -1
- package/lib/vtx-zg-modal/index.js +2 -1
- package/lib/vtx-zzz-modal/index.js +2 -1
- package/package.json +92 -81
|
@@ -6,6 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
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); }
|
|
7
7
|
import { VmPieCharts } from "../../../../_components";
|
|
8
8
|
import "./index.less";
|
|
9
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
9
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
11
|
export default function Pies(_ref) {
|
|
11
12
|
var _ref$pieData = _ref.pieData,
|
|
@@ -30,17 +31,22 @@ export default function Pies(_ref) {
|
|
|
30
31
|
});
|
|
31
32
|
});
|
|
32
33
|
var endDataSum = endDataList === null || endDataList === void 0 ? void 0 : endDataList.length;
|
|
33
|
-
var tooltipFormatter = "{a}
|
|
34
|
+
var tooltipFormatter = "{a}:<br/>{b}<br/>".concat(translateLocaleText("t('vtxcarmodal.relatedDisposalCertificate')"), ": {c}").concat(translateLocaleText("t('vtxjzljdftpdmodal.sheetUnit')"), " ({d}%)");
|
|
35
|
+
var legendFormatter = function legendFormatter(name, value) {
|
|
36
|
+
return "{name|".concat(name.slice(0, 6)).concat(name.length > 6 ? '...' : '', "}(").concat(translateLocaleText("t('vtxcarmodal.relatedDisposalCertificateCount')", {
|
|
37
|
+
count: value !== null && value !== void 0 ? value : 0
|
|
38
|
+
}), ")");
|
|
39
|
+
};
|
|
34
40
|
return /*#__PURE__*/_jsxs("div", {
|
|
35
41
|
className: "jzlj-car-dispose-pies-main",
|
|
36
42
|
children: [/*#__PURE__*/_jsx("div", {
|
|
37
43
|
className: "jzlj-car-dispose-pies-main-item",
|
|
38
44
|
children: /*#__PURE__*/_jsx(VmPieCharts, {
|
|
39
45
|
dataList: startDataList,
|
|
40
|
-
name: "
|
|
41
|
-
title: "
|
|
46
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.startPoint')"),
|
|
47
|
+
title: translateLocaleText("t('vtxcarmodal.startPointItems')"),
|
|
42
48
|
total: startDataSum !== null && startDataSum !== void 0 ? startDataSum : 0,
|
|
43
|
-
unit: "
|
|
49
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.itemUnit')"),
|
|
44
50
|
innerRadius: ['30%', '40%'],
|
|
45
51
|
outerRadius: ['40%', '45%'],
|
|
46
52
|
legendConfig: {
|
|
@@ -50,7 +56,7 @@ export default function Pies(_ref) {
|
|
|
50
56
|
});
|
|
51
57
|
var info = startDataList[index] || {};
|
|
52
58
|
var value = info.value;
|
|
53
|
-
return
|
|
59
|
+
return legendFormatter(name, value);
|
|
54
60
|
}
|
|
55
61
|
},
|
|
56
62
|
tooltipFormatter: tooltipFormatter
|
|
@@ -59,10 +65,10 @@ export default function Pies(_ref) {
|
|
|
59
65
|
className: "jzlj-car-dispose-pies-main-item",
|
|
60
66
|
children: /*#__PURE__*/_jsx(VmPieCharts, {
|
|
61
67
|
dataList: endDataList,
|
|
62
|
-
name: "
|
|
63
|
-
title: "
|
|
68
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.endPoint')"),
|
|
69
|
+
title: translateLocaleText("t('vtxcarmodal.endPointItems')"),
|
|
64
70
|
total: endDataSum !== null && endDataSum !== void 0 ? endDataSum : 0,
|
|
65
|
-
unit: "
|
|
71
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.itemUnit')"),
|
|
66
72
|
innerRadius: ['30%', '40%'],
|
|
67
73
|
outerRadius: ['40%', '45%'],
|
|
68
74
|
legendConfig: {
|
|
@@ -72,7 +78,7 @@ export default function Pies(_ref) {
|
|
|
72
78
|
});
|
|
73
79
|
var info = endDataList[index] || {};
|
|
74
80
|
var value = info.value;
|
|
75
|
-
return
|
|
81
|
+
return legendFormatter(name, value);
|
|
76
82
|
}
|
|
77
83
|
},
|
|
78
84
|
tooltipFormatter: tooltipFormatter
|
|
@@ -22,6 +22,7 @@ import { JzljService } from "../../../api";
|
|
|
22
22
|
import { CarContext } from "../../../index";
|
|
23
23
|
import "./index.less";
|
|
24
24
|
import Pies from "./Pies";
|
|
25
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
25
26
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
27
|
export default function Dispose() {
|
|
27
28
|
var _useContext = useContext(CarContext),
|
|
@@ -73,26 +74,26 @@ export default function Dispose() {
|
|
|
73
74
|
ellipsis: true,
|
|
74
75
|
align: item.dataShowKey === 'transportWeight' ? 'right' : 'left'
|
|
75
76
|
}];
|
|
76
|
-
}) : [['
|
|
77
|
+
}) : [[translateLocaleText("t('vtxjzljdftpdmodal.disposalCertificateCode')"), 'code', {
|
|
77
78
|
width: 160,
|
|
78
79
|
ellipsis: true
|
|
79
|
-
}], ['
|
|
80
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.transportUnit')"), 'transportUnitName', {
|
|
80
81
|
width: 160,
|
|
81
82
|
ellipsis: true
|
|
82
|
-
}], ['
|
|
83
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.startPoint')"), 'startingPointName', {
|
|
83
84
|
width: 160,
|
|
84
85
|
ellipsis: true
|
|
85
|
-
}], ['
|
|
86
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.endPoint')"), 'endingPointName', {
|
|
86
87
|
width: 160,
|
|
87
88
|
ellipsis: true
|
|
88
|
-
}], ['
|
|
89
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.garbageType')"), 'garbageTypeName', {
|
|
89
90
|
width: 100
|
|
90
|
-
}], [(transportWeightField === null || transportWeightField === void 0 ? void 0 : transportWeightField.displayName) || '
|
|
91
|
+
}], [(transportWeightField === null || transportWeightField === void 0 ? void 0 : transportWeightField.displayName) || translateLocaleText("t('vtxjzljdftpdmodal.transportAmountTon')"), 'transportWeight', {
|
|
91
92
|
width: 100,
|
|
92
93
|
align: 'right'
|
|
93
|
-
}], ['
|
|
94
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.effectiveDate')"), 'effectiveDate', {
|
|
94
95
|
width: 180
|
|
95
|
-
}], ['
|
|
96
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.status')"), 'effectiveStatusName', {
|
|
96
97
|
width: 100,
|
|
97
98
|
render: function render(text, record) {
|
|
98
99
|
var colorMap = {
|
|
@@ -107,18 +108,18 @@ export default function Dispose() {
|
|
|
107
108
|
type: color
|
|
108
109
|
});
|
|
109
110
|
}
|
|
110
|
-
}]]), [['
|
|
111
|
+
}]]), [[translateLocaleText("t('common.action')"), 'action', {
|
|
111
112
|
width: 60,
|
|
112
113
|
render: function render(_, record) {
|
|
113
114
|
return /*#__PURE__*/_jsx("a", {
|
|
114
115
|
onClick: function onClick() {
|
|
115
116
|
setIframeModalInfo({
|
|
116
117
|
visible: true,
|
|
117
|
-
title: '
|
|
118
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.disposalCertificateInfo')"),
|
|
118
119
|
src: "/jzlj/#/disposalApprovalFill?id=".concat(record.id, "&effectiveStatusCode=").concat(record.effectiveStatusCode)
|
|
119
120
|
});
|
|
120
121
|
},
|
|
121
|
-
children: "
|
|
122
|
+
children: translateLocaleText("t('vtxcarmodal.view')")
|
|
122
123
|
});
|
|
123
124
|
}
|
|
124
125
|
}]]).map(function (item) {
|
|
@@ -179,7 +180,7 @@ export default function Dispose() {
|
|
|
179
180
|
columns: columns
|
|
180
181
|
});
|
|
181
182
|
var searchList = [{
|
|
182
|
-
title: '
|
|
183
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.disposalCertificateCode')"),
|
|
183
184
|
weight: 1,
|
|
184
185
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
185
186
|
style: {
|
|
@@ -193,7 +194,7 @@ export default function Dispose() {
|
|
|
193
194
|
}
|
|
194
195
|
})
|
|
195
196
|
}, {
|
|
196
|
-
title: '
|
|
197
|
+
title: translateLocaleText("t('vtxcarmodal.startPoint')"),
|
|
197
198
|
weight: 1,
|
|
198
199
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
199
200
|
style: {
|
|
@@ -207,7 +208,7 @@ export default function Dispose() {
|
|
|
207
208
|
}
|
|
208
209
|
})
|
|
209
210
|
}, {
|
|
210
|
-
title: '
|
|
211
|
+
title: translateLocaleText("t('vtxcarmodal.endPoint')"),
|
|
211
212
|
weight: 1,
|
|
212
213
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
213
214
|
style: {
|
|
@@ -221,7 +222,7 @@ export default function Dispose() {
|
|
|
221
222
|
}
|
|
222
223
|
})
|
|
223
224
|
}, {
|
|
224
|
-
title: '
|
|
225
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.status')"),
|
|
225
226
|
weight: 1,
|
|
226
227
|
dom: /*#__PURE__*/_jsx(VmFilter.VMSelect, {
|
|
227
228
|
options: effectiveStatusList.map(function (item) {
|
|
@@ -233,7 +234,7 @@ export default function Dispose() {
|
|
|
233
234
|
style: {
|
|
234
235
|
width: 120
|
|
235
236
|
},
|
|
236
|
-
placeholder: "
|
|
237
|
+
placeholder: translateLocaleText("t('common.placeholder.select')"),
|
|
237
238
|
value: effectiveStatusCode,
|
|
238
239
|
allowClear: true,
|
|
239
240
|
onChange: function onChange(val) {
|
|
@@ -250,7 +251,7 @@ export default function Dispose() {
|
|
|
250
251
|
height: '56px'
|
|
251
252
|
},
|
|
252
253
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
253
|
-
title: "
|
|
254
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.disposalApprovalInfo')"),
|
|
254
255
|
showContent: false,
|
|
255
256
|
needChange: true,
|
|
256
257
|
headerStyle: {
|
|
@@ -294,10 +295,10 @@ export default function Dispose() {
|
|
|
294
295
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
295
296
|
type: "primary",
|
|
296
297
|
onClick: submit,
|
|
297
|
-
children: "
|
|
298
|
+
children: translateLocaleText("t('_components.search')")
|
|
298
299
|
}), /*#__PURE__*/_jsx(Button, {
|
|
299
300
|
onClick: myReset,
|
|
300
|
-
children: "
|
|
301
|
+
children: translateLocaleText("t('vtxjzljdftpdmodal.reset')")
|
|
301
302
|
})]
|
|
302
303
|
})]
|
|
303
304
|
})
|
|
@@ -22,6 +22,7 @@ import yl_dark from "../../../imgs/jzlj/rl_yl_dark.png";
|
|
|
22
22
|
import yl_light from "../../../imgs/jzlj/rl_yl_light.png";
|
|
23
23
|
import { CarContext } from "../../../index";
|
|
24
24
|
import "./index.less";
|
|
25
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
25
26
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
27
|
export default function RunCalendar() {
|
|
27
28
|
var _useSettings = useSettings(),
|
|
@@ -54,17 +55,17 @@ export default function RunCalendar() {
|
|
|
54
55
|
var _JzljService$useUnit = JzljService.useUnit(),
|
|
55
56
|
unitStr = _JzljService$useUnit.unitStr;
|
|
56
57
|
var columns = [{
|
|
57
|
-
title: '
|
|
58
|
+
title: translateLocaleText("t('vtxshxqmodal.date')"),
|
|
58
59
|
dataIndex: 'date',
|
|
59
60
|
key: 'date',
|
|
60
61
|
width: 100
|
|
61
62
|
}, {
|
|
62
|
-
title: '
|
|
63
|
+
title: translateLocaleText("t('vtxcarmodal.times4')"),
|
|
63
64
|
dataIndex: 'count',
|
|
64
65
|
key: 'count',
|
|
65
66
|
width: 100
|
|
66
67
|
}, {
|
|
67
|
-
title: "
|
|
68
|
+
title: "".concat(translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"), "(").concat(unitStr, ")"),
|
|
68
69
|
dataIndex: 'weight',
|
|
69
70
|
key: 'weight',
|
|
70
71
|
width: 100
|
|
@@ -84,7 +85,7 @@ export default function RunCalendar() {
|
|
|
84
85
|
children: [/*#__PURE__*/_jsx(VmCalendarInner, {
|
|
85
86
|
type: "blue",
|
|
86
87
|
img: lds_icon,
|
|
87
|
-
value: item.count
|
|
88
|
+
value: "".concat(item.count, " ").concat(translateLocaleText("t('common.timesUnit')")),
|
|
88
89
|
style: {
|
|
89
90
|
width: '139px',
|
|
90
91
|
justifyContent: 'space-between',
|
|
@@ -104,7 +105,7 @@ export default function RunCalendar() {
|
|
|
104
105
|
return /*#__PURE__*/_jsx("div", {
|
|
105
106
|
className: "vtx-jzlj-car-run-calendar",
|
|
106
107
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
107
|
-
title: '
|
|
108
|
+
title: translateLocaleText("t('vtxccunitmodal.analyze')"),
|
|
108
109
|
needChange: true,
|
|
109
110
|
showCalendar: true,
|
|
110
111
|
onChange: setType,
|
|
@@ -118,11 +119,11 @@ export default function RunCalendar() {
|
|
|
118
119
|
children: [/*#__PURE__*/_jsx("div", {
|
|
119
120
|
className: "vtx-jzlj-car-run-calendar-head",
|
|
120
121
|
children: [{
|
|
121
|
-
name: '
|
|
122
|
+
name: translateLocaleText("t('vtxcarmodal.times4')"),
|
|
122
123
|
img: lds_icon,
|
|
123
124
|
type: 'blue'
|
|
124
125
|
}, {
|
|
125
|
-
name: "
|
|
126
|
+
name: "".concat(translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"), "(").concat(unitStr, ")"),
|
|
126
127
|
img: yl_icon,
|
|
127
128
|
type: 'green'
|
|
128
129
|
}].map(function (item, index) {
|
|
@@ -145,7 +146,7 @@ export default function RunCalendar() {
|
|
|
145
146
|
rowKey: "id"
|
|
146
147
|
}, tableProps)), type === 'chart' && /*#__PURE__*/_jsx(VmBarCharts, {
|
|
147
148
|
dataList: [{
|
|
148
|
-
name: '
|
|
149
|
+
name: translateLocaleText("t('vtxcarmodal.times4')"),
|
|
149
150
|
data: yxfxData.map(function (item) {
|
|
150
151
|
return "\u2000".concat(item.count);
|
|
151
152
|
})
|
|
@@ -155,16 +156,16 @@ export default function RunCalendar() {
|
|
|
155
156
|
}),
|
|
156
157
|
yAxisList: [{
|
|
157
158
|
key: "\u2000",
|
|
158
|
-
unit: '
|
|
159
|
-
name: '
|
|
159
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
160
|
+
name: translateLocaleText("t('vtxcarmodal.times4')")
|
|
160
161
|
}, {
|
|
161
162
|
key: '',
|
|
162
163
|
unit: unitStr,
|
|
163
|
-
name: "
|
|
164
|
+
name: "".concat(translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"), "(").concat(unitStr, ")")
|
|
164
165
|
}],
|
|
165
166
|
unit: unitStr,
|
|
166
167
|
lineList: [{
|
|
167
|
-
name: '
|
|
168
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"),
|
|
168
169
|
data: yxfxData.map(function (item) {
|
|
169
170
|
return item.weight;
|
|
170
171
|
}),
|
|
@@ -15,6 +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.js";
|
|
18
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
20
|
var List = function List(props) {
|
|
20
21
|
var _useContext = useContext(CarContext),
|
|
@@ -44,23 +45,23 @@ var List = function List(props) {
|
|
|
44
45
|
alarmRecord = _LjsyService$useAlarm.alarmRecord,
|
|
45
46
|
loading = _LjsyService$useAlarm.loading;
|
|
46
47
|
var columns = [{
|
|
47
|
-
title: '
|
|
48
|
+
title: translateLocaleText("t('vtxcpmodal.date')"),
|
|
48
49
|
dataIndex: 'taskDay',
|
|
49
50
|
key: 'taskDay',
|
|
50
51
|
width: 160,
|
|
51
52
|
sorter: true
|
|
52
53
|
}, {
|
|
53
|
-
title: '
|
|
54
|
+
title: translateLocaleText("t('vtxcccpmodal.type')"),
|
|
54
55
|
dataIndex: 'alarmTypeName',
|
|
55
56
|
key: 'alarmTypeName',
|
|
56
57
|
width: 160
|
|
57
58
|
}, {
|
|
58
|
-
title: '
|
|
59
|
+
title: translateLocaleText("t('vtxcpmodal.value')"),
|
|
59
60
|
dataIndex: 'thresholdWithSign',
|
|
60
61
|
key: 'thresholdWithSign',
|
|
61
62
|
width: 120
|
|
62
63
|
}, {
|
|
63
|
-
title: '
|
|
64
|
+
title: translateLocaleText("t('vtxcpmodal.complete')"),
|
|
64
65
|
dataIndex: 'rateWithSign',
|
|
65
66
|
key: 'rateWithSign',
|
|
66
67
|
width: 160
|
|
@@ -95,7 +96,7 @@ var List = function List(props) {
|
|
|
95
96
|
}
|
|
96
97
|
};
|
|
97
98
|
return /*#__PURE__*/_jsx(VmWrapper, {
|
|
98
|
-
title: '
|
|
99
|
+
title: translateLocaleText("t('vtxcarmodal.alarmDetails')"),
|
|
99
100
|
children: /*#__PURE__*/_jsx(VmTable, _objectSpread({
|
|
100
101
|
columns: columns,
|
|
101
102
|
rowKey: "id"
|
|
@@ -4,6 +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.js";
|
|
7
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
9
|
var StaticInfo = function StaticInfo(_ref) {
|
|
9
10
|
var startDate = _ref.startDate,
|
|
@@ -45,24 +46,24 @@ var StaticInfo = function StaticInfo(_ref) {
|
|
|
45
46
|
children: [/*#__PURE__*/_jsx(Col, {
|
|
46
47
|
span: 12,
|
|
47
48
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
48
|
-
title: '
|
|
49
|
+
title: translateLocaleText("t('vtxcarmodal.alarmSummary')"),
|
|
49
50
|
children: /*#__PURE__*/_jsx(VmPieCharts, {
|
|
50
51
|
dataList: list,
|
|
51
|
-
name: '
|
|
52
|
-
title: '
|
|
52
|
+
name: translateLocaleText("t('vtxcarmodal.alarmType')"),
|
|
53
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.times')"),
|
|
53
54
|
total: total,
|
|
54
55
|
loading: loading,
|
|
55
|
-
unit: '
|
|
56
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.timesUnit')")
|
|
56
57
|
})
|
|
57
58
|
})
|
|
58
59
|
}), /*#__PURE__*/_jsx(Col, {
|
|
59
60
|
span: 12,
|
|
60
61
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
61
|
-
title: '
|
|
62
|
+
title: translateLocaleText("t('vtxcarmodal.alarmTrendAnalyze')"),
|
|
62
63
|
children: /*#__PURE__*/_jsx(VmLineCharts, {
|
|
63
64
|
xAxis: alarmInfoAnalysis.names,
|
|
64
65
|
dataList: dataList,
|
|
65
|
-
unit: "
|
|
66
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.timesUnit')"),
|
|
66
67
|
loading: alarmInfoAnalysisLoading,
|
|
67
68
|
legendOption: {
|
|
68
69
|
width: '95%'
|
|
@@ -12,6 +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.js";
|
|
15
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
17
|
var AlarmInfo = function AlarmInfo() {
|
|
17
18
|
var _useSettings = useSettings(),
|
|
@@ -44,7 +45,7 @@ var AlarmInfo = function AlarmInfo() {
|
|
|
44
45
|
showTitle: false,
|
|
45
46
|
children: /*#__PURE__*/_jsxs(Space, {
|
|
46
47
|
children: [/*#__PURE__*/_jsx("span", {
|
|
47
|
-
children: "
|
|
48
|
+
children: translateLocaleText("t('common.statisticalRange')")
|
|
48
49
|
}), /*#__PURE__*/_jsx(VMRangePicker, {
|
|
49
50
|
value: [dayjs(startDate), dayjs(endDate)],
|
|
50
51
|
onChange: function onChange(dates) {
|
|
@@ -27,6 +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.js";
|
|
30
31
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
31
32
|
var legendColorMap = {
|
|
32
33
|
计划收集点位: 'geekblue',
|
|
@@ -67,34 +68,34 @@ var BaseInfo = function BaseInfo() {
|
|
|
67
68
|
var per = ((syInfo === null || syInfo === void 0 ? void 0 : syInfo.taskCollectPoints) / ((syInfo === null || syInfo === void 0 ? void 0 : syInfo.planCollectPoints) || 1) * 100).toFixed(2);
|
|
68
69
|
var xAxis = _.map(taskDaySummary, 'date');
|
|
69
70
|
var data = [{
|
|
70
|
-
name: '
|
|
71
|
-
unit: '
|
|
71
|
+
name: translateLocaleText("t('vtxcarmodal.point')"),
|
|
72
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')"),
|
|
72
73
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.planCollectPoints,
|
|
73
74
|
img: isDark ? require("../../../imgs/dark_point.png") : require("../../../imgs/point.png"),
|
|
74
75
|
fontType: 'blue'
|
|
75
76
|
}, {
|
|
76
|
-
name: '
|
|
77
|
-
unit: '
|
|
77
|
+
name: translateLocaleText("t('vtxcarmodal.plannedCollected')"),
|
|
78
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')"),
|
|
78
79
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.taskCollectPoints,
|
|
79
80
|
img: isDark ? require("../../../imgs/dark_ys_point.png") : require("../../../imgs/ys_point.png"),
|
|
80
81
|
fontType: 'green'
|
|
81
82
|
}, {
|
|
82
|
-
name: '
|
|
83
|
-
unit: '
|
|
83
|
+
name: translateLocaleText("t('vtxcarmodal.plannedUncollected')"),
|
|
84
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')"),
|
|
84
85
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.taskNoCollectPoints,
|
|
85
86
|
img: isDark ? require("../../../imgs/dark_ws_point.png") : require("../../../imgs/ws_point.png"),
|
|
86
87
|
fontType: 'yellow'
|
|
87
88
|
}, {
|
|
88
|
-
name: '
|
|
89
|
-
unit: '
|
|
89
|
+
name: translateLocaleText("t('vtxcarmodal.unplannedCollected')"),
|
|
90
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')"),
|
|
90
91
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.noneTaskCollectPoints,
|
|
91
92
|
img: isDark ? require("../../../imgs/dark_unplanned_point.png") : require("../../../imgs/unplanned_point.png"),
|
|
92
93
|
fontType: 'cyan'
|
|
93
94
|
}];
|
|
94
95
|
if (((_paramConfigsList$SHO = paramConfigsList['SHOW_COLLECTING_BUCKETS']) === null || _paramConfigsList$SHO === void 0 ? void 0 : _paramConfigsList$SHO.value) === 'true') {
|
|
95
96
|
data.push({
|
|
96
|
-
name: '
|
|
97
|
-
unit: '
|
|
97
|
+
name: translateLocaleText("t('vtxcarmodal.collectionBucketCount')"),
|
|
98
|
+
unit: translateLocaleText("t('vtxcarmodal.bucketUnit')"),
|
|
98
99
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.bucketNum,
|
|
99
100
|
img: isDark ? require("../../../imgs/dark_trash.png") : require("../../../imgs/trash.png"),
|
|
100
101
|
fontType: 'blue'
|
|
@@ -102,7 +103,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
102
103
|
}
|
|
103
104
|
if (((_paramConfigsList$SHO2 = paramConfigsList['SHOW_WEIGHTING']) === null || _paramConfigsList$SHO2 === void 0 ? void 0 : _paramConfigsList$SHO2.value) === 'true') {
|
|
104
105
|
data.push({
|
|
105
|
-
name: '
|
|
106
|
+
name: translateLocaleText("t('vtxcpmodal.weight')"),
|
|
106
107
|
unit: 'kg',
|
|
107
108
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.weight,
|
|
108
109
|
img: isDark ? require("../../../imgs/dark_weight.png") : require("../../../imgs/weight.png"),
|
|
@@ -136,7 +137,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
136
137
|
height: 243
|
|
137
138
|
},
|
|
138
139
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
139
|
-
title: '
|
|
140
|
+
title: translateLocaleText("t('vtxcarmodal.operationInformation')"),
|
|
140
141
|
filterType: "datePicker",
|
|
141
142
|
dateValue: date,
|
|
142
143
|
filterChange: setDate,
|
|
@@ -154,7 +155,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
154
155
|
flex: '112px',
|
|
155
156
|
children: /*#__PURE__*/_jsx(VmProgress.Circle, {
|
|
156
157
|
rate: per || 0,
|
|
157
|
-
name: '
|
|
158
|
+
name: translateLocaleText("t('vtxcarmodal.completionRate')")
|
|
158
159
|
})
|
|
159
160
|
}), /*#__PURE__*/_jsx(Col, {
|
|
160
161
|
flex: '1',
|
|
@@ -175,8 +176,8 @@ var BaseInfo = function BaseInfo() {
|
|
|
175
176
|
children: [/*#__PURE__*/_jsxs(Col, {
|
|
176
177
|
flex: '1',
|
|
177
178
|
children: [/*#__PURE__*/_jsx(VmFactor, {
|
|
178
|
-
name: '
|
|
179
|
-
unit: '
|
|
179
|
+
name: translateLocaleText("t('vtxcarmodal.collectedPoint')"),
|
|
180
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')"),
|
|
180
181
|
fontType: 'green',
|
|
181
182
|
img: isDark ? darkPointIcon : pointIcon,
|
|
182
183
|
value: (syInfo === null || syInfo === void 0 ? void 0 : syInfo.collectPoints) || 0
|
|
@@ -188,7 +189,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
188
189
|
children: /*#__PURE__*/_jsx(VmLineCharts, {
|
|
189
190
|
showLegend: false,
|
|
190
191
|
dataList: [{
|
|
191
|
-
name: '
|
|
192
|
+
name: translateLocaleText("t('vtxcarmodal.point3')"),
|
|
192
193
|
data: _.map(taskDaySummary, 'collectPointNum'),
|
|
193
194
|
color: transformRgb(greenColor, colorOpacity),
|
|
194
195
|
smooth: true,
|
|
@@ -220,14 +221,14 @@ var BaseInfo = function BaseInfo() {
|
|
|
220
221
|
yAxisOption: {
|
|
221
222
|
show: false
|
|
222
223
|
},
|
|
223
|
-
unit: '
|
|
224
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')")
|
|
224
225
|
})
|
|
225
226
|
})]
|
|
226
227
|
}), /*#__PURE__*/_jsxs(Col, {
|
|
227
228
|
flex: '1',
|
|
228
229
|
children: [/*#__PURE__*/_jsx(VmFactor, {
|
|
229
|
-
name: '
|
|
230
|
-
unit: '
|
|
230
|
+
name: translateLocaleText("t('vtxcarmodal.collectionBucketCount')"),
|
|
231
|
+
unit: translateLocaleText("t('vtxcarmodal.bucketUnit')"),
|
|
231
232
|
fontType: 'blue',
|
|
232
233
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.bucketNum,
|
|
233
234
|
img: isDark ? darkTrashIcon : trashIcon
|
|
@@ -239,7 +240,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
239
240
|
children: /*#__PURE__*/_jsx(VmLineCharts, {
|
|
240
241
|
showLegend: false,
|
|
241
242
|
dataList: [{
|
|
242
|
-
name: '
|
|
243
|
+
name: translateLocaleText("t('vtxcarmodal.collectionBucketCount')"),
|
|
243
244
|
data: _.map(taskDaySummary, 'bucketNum'),
|
|
244
245
|
color: transformRgb(blueColor, colorOpacity),
|
|
245
246
|
smooth: true,
|
|
@@ -271,13 +272,13 @@ var BaseInfo = function BaseInfo() {
|
|
|
271
272
|
yAxisOption: {
|
|
272
273
|
show: false
|
|
273
274
|
},
|
|
274
|
-
unit: '
|
|
275
|
+
unit: translateLocaleText("t('vtxcarmodal.bucketUnit')")
|
|
275
276
|
})
|
|
276
277
|
})]
|
|
277
278
|
}), /*#__PURE__*/_jsxs(Col, {
|
|
278
279
|
flex: '1',
|
|
279
280
|
children: [/*#__PURE__*/_jsx(VmFactor, {
|
|
280
|
-
name: '
|
|
281
|
+
name: translateLocaleText("t('vtxcarmodal.collectedWeight')"),
|
|
281
282
|
unit: 'kg',
|
|
282
283
|
fontType: 'yellow',
|
|
283
284
|
value: syInfo === null || syInfo === void 0 ? void 0 : syInfo.weight,
|
|
@@ -291,7 +292,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
291
292
|
showLegend: false,
|
|
292
293
|
unit: 'kg',
|
|
293
294
|
dataList: [{
|
|
294
|
-
name: '
|
|
295
|
+
name: translateLocaleText("t('vtxcpmodal.weight')"),
|
|
295
296
|
data: _.map(taskDaySummary, 'weight'),
|
|
296
297
|
color: transformRgb(yellowColor, colorOpacity),
|
|
297
298
|
smooth: true,
|
|
@@ -331,7 +332,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
331
332
|
}), /*#__PURE__*/_jsx("div", {
|
|
332
333
|
className: 'vtx-car-info-right-wrap-bottom',
|
|
333
334
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
334
|
-
title: '
|
|
335
|
+
title: translateLocaleText("t('vtxcarmodal.7Analyze')"),
|
|
335
336
|
children: /*#__PURE__*/_jsx(VmBarCharts, {
|
|
336
337
|
dataList: (workInfoAnalysis.legends || []).filter(function (legend) {
|
|
337
338
|
return legend !== '任务完成率' && legend !== '日均收集点位';
|
|
@@ -345,14 +346,14 @@ var BaseInfo = function BaseInfo() {
|
|
|
345
346
|
xAxis: workInfoAnalysis.names,
|
|
346
347
|
yAxisList: [{
|
|
347
348
|
key: '',
|
|
348
|
-
unit: '
|
|
349
|
-
name: '
|
|
349
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')"),
|
|
350
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.items')")
|
|
350
351
|
}, {
|
|
351
352
|
key: "\u2000",
|
|
352
353
|
unit: '%',
|
|
353
354
|
name: '(%)'
|
|
354
355
|
}],
|
|
355
|
-
unit: '
|
|
356
|
+
unit: translateLocaleText("t('vtxcarmodal.pieceUnit')"),
|
|
356
357
|
lineList: [{
|
|
357
358
|
name: _.last(workInfoAnalysis.legends || []),
|
|
358
359
|
data: _.map(_.last(workInfoAnalysis.values || []), function (value) {
|