@vtx/modals2 5.0.59 → 6.0.0-beta.1
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-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-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-popover/index.js +11 -3
- package/lib/_components/vm-popover/index.less +4 -1
- 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 +217 -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 +1 -0
- 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/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/StaticInfo/index.js +17 -15
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +10 -9
- 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/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/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/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 +42 -43
- 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 +8 -0
- 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 +9 -8
- 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 +30 -19
|
@@ -18,6 +18,7 @@ import pjrcc_dark from "../../../imgs/jzlj/pjrcc_dark.png";
|
|
|
18
18
|
import pjrcc_light from "../../../imgs/jzlj/pjrcc_light.png";
|
|
19
19
|
import pjryl_dark from "../../../imgs/jzlj/pjryl_dark.png";
|
|
20
20
|
import pjryl_light from "../../../imgs/jzlj/pjryl_light.png";
|
|
21
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
21
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
23
|
var BaseInfo = function BaseInfo() {
|
|
23
24
|
var _useContext = useContext(CarContext),
|
|
@@ -45,8 +46,8 @@ var BaseInfo = function BaseInfo() {
|
|
|
45
46
|
var _JzljService$useUnit = JzljService.useUnit(),
|
|
46
47
|
unitStr = _JzljService$useUnit.unitStr;
|
|
47
48
|
var extraList = [{
|
|
48
|
-
name: '
|
|
49
|
-
unit: '
|
|
49
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.quantity2')"),
|
|
50
|
+
unit: translateLocaleText("t('vtxjzljdftpdmodal.sheetUnit')"),
|
|
50
51
|
value: (zlOtherInfoData === null || zlOtherInfoData === void 0 ? void 0 : zlOtherInfoData.sxzczzCount) || 0,
|
|
51
52
|
fontType: 'blue',
|
|
52
53
|
unitStyle: {
|
|
@@ -67,13 +68,13 @@ var BaseInfo = function BaseInfo() {
|
|
|
67
68
|
// style: itemStyle,
|
|
68
69
|
// },
|
|
69
70
|
{
|
|
70
|
-
name: '
|
|
71
|
-
unit: '
|
|
71
|
+
name: translateLocaleText("t('vtxcarmodal.complete2')"),
|
|
72
|
+
unit: translateLocaleText("t('vtxcarmodal.orderUnit')"),
|
|
72
73
|
value: (zlOtherInfoData === null || zlOtherInfoData === void 0 ? void 0 : zlOtherInfoData.orderCount) || 0,
|
|
73
74
|
style: itemStyle
|
|
74
75
|
}, {
|
|
75
|
-
name: '
|
|
76
|
-
unit: '
|
|
76
|
+
name: translateLocaleText("t('vtxcarmodal.line')"),
|
|
77
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.itemUnit')"),
|
|
77
78
|
value: (zlOtherInfoData === null || zlOtherInfoData === void 0 ? void 0 : zlOtherInfoData.lxplAlarmCount) || 0,
|
|
78
79
|
fontType: 'red',
|
|
79
80
|
style: itemStyle,
|
|
@@ -83,7 +84,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
83
84
|
}];
|
|
84
85
|
var yxxxList_bottom = [
|
|
85
86
|
// {
|
|
86
|
-
// name: '
|
|
87
|
+
// name: translateLocaleText("t('vtxcarmodal.hours8')"),
|
|
87
88
|
// unit: '',
|
|
88
89
|
// value: secondToFormatTime(
|
|
89
90
|
// (dailyCarRunData?.driveDuration ?? 0) / 1000 || 0,
|
|
@@ -92,13 +93,13 @@ var BaseInfo = function BaseInfo() {
|
|
|
92
93
|
// style: itemStyle,
|
|
93
94
|
// },
|
|
94
95
|
{
|
|
95
|
-
name: '
|
|
96
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.transportedAmount')"),
|
|
96
97
|
unit: unitStr,
|
|
97
98
|
value: (zlOtherInfoData === null || zlOtherInfoData === void 0 ? void 0 : zlOtherInfoData.yysWeight) || 0,
|
|
98
99
|
style: itemStyle
|
|
99
100
|
}, {
|
|
100
|
-
name: '
|
|
101
|
-
unit: '
|
|
101
|
+
name: translateLocaleText("t('vtxcarmodal.hours9')"),
|
|
102
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.itemUnit')"),
|
|
102
103
|
value: (zlOtherInfoData === null || zlOtherInfoData === void 0 ? void 0 : zlOtherInfoData.tccsAlarmCount) || 0,
|
|
103
104
|
fontType: 'red',
|
|
104
105
|
style: itemStyle,
|
|
@@ -122,7 +123,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
122
123
|
});
|
|
123
124
|
var ccDataAvg = ccData !== null && ccData !== void 0 && ccData.length ? mean(ccData).toFixed(2) : '0';
|
|
124
125
|
var yxfxList = [{
|
|
125
|
-
name: '
|
|
126
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.day')"),
|
|
126
127
|
unit: unitStr,
|
|
127
128
|
value: ylDataAvg,
|
|
128
129
|
img: isDark ? pjryl_dark : pjryl_light,
|
|
@@ -135,8 +136,8 @@ var BaseInfo = function BaseInfo() {
|
|
|
135
136
|
justifyContent: 'center'
|
|
136
137
|
}
|
|
137
138
|
}, {
|
|
138
|
-
name: '
|
|
139
|
-
unit: '
|
|
139
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.dayTimes')"),
|
|
140
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
140
141
|
value: ccDataAvg,
|
|
141
142
|
img: isDark ? pjrcc_dark : pjrcc_light,
|
|
142
143
|
fontType: 'blue',
|
|
@@ -168,7 +169,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
168
169
|
children: [/*#__PURE__*/_jsx("div", {
|
|
169
170
|
className: "vtx-jzlj-car-base-right-top",
|
|
170
171
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
171
|
-
title: '
|
|
172
|
+
title: translateLocaleText("t('vtxcarmodal.operationInformation')"),
|
|
172
173
|
filterType: "datePicker",
|
|
173
174
|
dateValue: date,
|
|
174
175
|
filterChange: setDate,
|
|
@@ -190,7 +191,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
190
191
|
}), /*#__PURE__*/_jsx("div", {
|
|
191
192
|
className: "vtx-jzlj-car-base-right-bottom",
|
|
192
193
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
193
|
-
title: '
|
|
194
|
+
title: translateLocaleText("t('vtxcarmodal.7Analyze')"),
|
|
194
195
|
children: [/*#__PURE__*/_jsx(VmFactorList, {
|
|
195
196
|
list: yxfxList,
|
|
196
197
|
style: {
|
|
@@ -200,7 +201,7 @@ var BaseInfo = function BaseInfo() {
|
|
|
200
201
|
className: "vtx-jzlj-car-base-right-bottom-chart",
|
|
201
202
|
children: yxfxData !== null && yxfxData !== void 0 && yxfxData.length ? /*#__PURE__*/_jsx(VmBarCharts, {
|
|
202
203
|
dataList: [{
|
|
203
|
-
name: '
|
|
204
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"),
|
|
204
205
|
data: yxfxData.map(function (item) {
|
|
205
206
|
return "\u2000".concat(item.weight);
|
|
206
207
|
}),
|
|
@@ -212,15 +213,15 @@ var BaseInfo = function BaseInfo() {
|
|
|
212
213
|
}),
|
|
213
214
|
yAxisList: [{
|
|
214
215
|
key: "\u2001",
|
|
215
|
-
unit: '
|
|
216
|
-
name: '
|
|
216
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
217
|
+
name: translateLocaleText("t('vtxccunitmodal.times2')")
|
|
217
218
|
}, {
|
|
218
219
|
key: "\u2000",
|
|
219
220
|
unit: unitStr,
|
|
220
221
|
name: "(".concat(unitStr, ")")
|
|
221
222
|
}],
|
|
222
223
|
lineList: [{
|
|
223
|
-
name: '
|
|
224
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.times')"),
|
|
224
225
|
data: yxfxData.map(function (item) {
|
|
225
226
|
return "\u2001".concat(item.count);
|
|
226
227
|
}),
|
|
@@ -249,7 +250,7 @@ export function secondToFormatTime(times) {
|
|
|
249
250
|
var timeStr = '';
|
|
250
251
|
var remain = times;
|
|
251
252
|
var days = Math.floor(remain / (24 * 60 * 60));
|
|
252
|
-
if (days) timeStr += "".concat(days
|
|
253
|
+
if (days) timeStr += "".concat(days).concat(translateLocaleText("t('common.dayUnit')"));
|
|
253
254
|
remain = remain % (24 * 60 * 60);
|
|
254
255
|
var hours = Math.floor(remain / (60 * 60));
|
|
255
256
|
if (hours) timeStr += "".concat(hours, "h");
|
|
@@ -7,6 +7,7 @@ import pjrcc_light from "../../../imgs/jzlj/pjrcc_light.png";
|
|
|
7
7
|
import pjryl_dark from "../../../imgs/jzlj/pjryl_dark.png";
|
|
8
8
|
import pjryl_light from "../../../imgs/jzlj/pjryl_light.png";
|
|
9
9
|
import "./index.less";
|
|
10
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
10
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
12
|
export default function Chart(_ref) {
|
|
12
13
|
var _ref$dataList = _ref.dataList,
|
|
@@ -24,7 +25,7 @@ export default function Chart(_ref) {
|
|
|
24
25
|
});
|
|
25
26
|
var ccDataAvg = ccData !== null && ccData !== void 0 && ccData.length ? mean(ccData).toFixed(2) : '0';
|
|
26
27
|
var dataList_top = [{
|
|
27
|
-
name: '
|
|
28
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.day')"),
|
|
28
29
|
unit: unitStr,
|
|
29
30
|
value: ylDataAvg,
|
|
30
31
|
img: isDark ? pjryl_dark : pjryl_light,
|
|
@@ -37,8 +38,8 @@ export default function Chart(_ref) {
|
|
|
37
38
|
justifyContent: 'center'
|
|
38
39
|
}
|
|
39
40
|
}, {
|
|
40
|
-
name: '
|
|
41
|
-
unit: '
|
|
41
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.dayTimes')"),
|
|
42
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
42
43
|
value: ccDataAvg,
|
|
43
44
|
img: isDark ? pjrcc_dark : pjrcc_light,
|
|
44
45
|
fontType: 'blue',
|
|
@@ -66,7 +67,7 @@ export default function Chart(_ref) {
|
|
|
66
67
|
},
|
|
67
68
|
children: dataList !== null && dataList !== void 0 && dataList.length ? /*#__PURE__*/_jsx(VmBarCharts, {
|
|
68
69
|
dataList: [{
|
|
69
|
-
name: '
|
|
70
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"),
|
|
70
71
|
data: dataList.map(function (item) {
|
|
71
72
|
return "\u2000".concat(item.weight);
|
|
72
73
|
}),
|
|
@@ -78,15 +79,15 @@ export default function Chart(_ref) {
|
|
|
78
79
|
}),
|
|
79
80
|
yAxisList: [{
|
|
80
81
|
key: "\u2001",
|
|
81
|
-
unit: '
|
|
82
|
-
name: '
|
|
82
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
83
|
+
name: translateLocaleText("t('vtxccunitmodal.times2')")
|
|
83
84
|
}, {
|
|
84
85
|
key: "\u2000",
|
|
85
86
|
unit: unitStr,
|
|
86
87
|
name: "(".concat(unitStr, ")")
|
|
87
88
|
}],
|
|
88
89
|
lineList: [{
|
|
89
|
-
name: '
|
|
90
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.times')"),
|
|
90
91
|
data: dataList.map(function (item) {
|
|
91
92
|
return "\u2001".concat(item.count);
|
|
92
93
|
}),
|
|
@@ -29,6 +29,7 @@ import cc_light from "../../../imgs/jzlj/pjrcc_light.png";
|
|
|
29
29
|
import yl_dark from "../../../imgs/jzlj/pjryl_dark.png";
|
|
30
30
|
import yl_light from "../../../imgs/jzlj/pjryl_light.png";
|
|
31
31
|
import Chart from "./Chart";
|
|
32
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
|
|
32
33
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
33
34
|
export default function Collection() {
|
|
34
35
|
var _useContext = useContext(CarContext),
|
|
@@ -84,14 +85,14 @@ export default function Collection() {
|
|
|
84
85
|
ellipsis: true,
|
|
85
86
|
align: item.dataShowKey === 'receivedWeight' ? 'right' : 'left'
|
|
86
87
|
}];
|
|
87
|
-
}) : [['
|
|
88
|
+
}) : [[translateLocaleText("t('vtxjzljdftpdmodal.jointOrderCode')"), 'code', {
|
|
88
89
|
width: 120,
|
|
89
90
|
fixed: 'left',
|
|
90
91
|
ellipsis: true
|
|
91
|
-
}], ['
|
|
92
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.approvalCode')"), 'disposalCertificateInfoCode', {
|
|
92
93
|
width: 120,
|
|
93
94
|
ellipsis: true
|
|
94
|
-
}], ['
|
|
95
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.jointOrderStatus')"), 'jointOrderStatusName', {
|
|
95
96
|
width: 120,
|
|
96
97
|
render: function render(text, record) {
|
|
97
98
|
var colorMap = {
|
|
@@ -106,28 +107,28 @@ export default function Collection() {
|
|
|
106
107
|
type: color
|
|
107
108
|
});
|
|
108
109
|
}
|
|
109
|
-
}], ['
|
|
110
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.startPoint')"), 'startingPointName', {
|
|
110
111
|
width: 120,
|
|
111
112
|
ellipsis: true
|
|
112
|
-
}], ['
|
|
113
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.startPointDivision')"), 'startingPointDivisionName', {
|
|
113
114
|
width: 120,
|
|
114
115
|
ellipsis: true
|
|
115
|
-
}], ['
|
|
116
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.departureTime')"), 'stepOneOperateTime', {
|
|
116
117
|
width: 180
|
|
117
|
-
}], ['
|
|
118
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.endPoint')"), 'endingPointName', {
|
|
118
119
|
width: 120,
|
|
119
120
|
ellipsis: true
|
|
120
|
-
}], ['
|
|
121
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.endPointDivision')"), 'endingPointDivisionName', {
|
|
121
122
|
width: 120,
|
|
122
123
|
ellipsis: true
|
|
123
|
-
}], ['
|
|
124
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.receivedTime')"), 'stepThreeOperateTime', {
|
|
124
125
|
width: 180
|
|
125
|
-
}], ['
|
|
126
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.constructionWasteCategory')"), 'garbageTypeName', {
|
|
126
127
|
width: 120
|
|
127
|
-
}], ["
|
|
128
|
+
}], ["".concat(translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"), "(").concat(unitStr, ")"), 'receivedWeight', {
|
|
128
129
|
width: 120,
|
|
129
130
|
align: 'right'
|
|
130
|
-
}]]), [['
|
|
131
|
+
}]]), [[translateLocaleText("t('common.action')"), 'action', {
|
|
131
132
|
width: 60,
|
|
132
133
|
fixed: 'right',
|
|
133
134
|
render: function render(text, record) {
|
|
@@ -135,11 +136,11 @@ export default function Collection() {
|
|
|
135
136
|
onClick: function onClick() {
|
|
136
137
|
setIframeModalInfo({
|
|
137
138
|
visible: true,
|
|
138
|
-
title: '
|
|
139
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.jointOrderInfo')"),
|
|
139
140
|
src: "/jzlj/#/constructionJointOrder?id=".concat(record.id, "&stepOneOperateTimeLeft=").concat(record.stepOneOperateTime ? dayjs(record.stepOneOperateTime).format('YYYY-MM-DD') : '', "&stepOneOperateTimeRight=").concat(record.stepOneOperateTime ? dayjs(record.stepOneOperateTime).format('YYYY-MM-DD') : '', "&stepThreeOperateTimeLeft=").concat(record.stepThreeOperateTime ? dayjs(record.stepThreeOperateTime).format('YYYY-MM-DD') : '', "&stepThreeOperateTimeRight=").concat(record.stepThreeOperateTime ? dayjs(record.stepThreeOperateTime).format('YYYY-MM-DD') : '')
|
|
140
141
|
});
|
|
141
142
|
},
|
|
142
|
-
children: "
|
|
143
|
+
children: translateLocaleText("t('vtxcarmodal.view')")
|
|
143
144
|
});
|
|
144
145
|
}
|
|
145
146
|
}]]).map(function (item) {
|
|
@@ -214,7 +215,7 @@ export default function Collection() {
|
|
|
214
215
|
_totalData$totalWeigh = totalData.totalWeight,
|
|
215
216
|
totalWeight = _totalData$totalWeigh === void 0 ? 0 : _totalData$totalWeigh;
|
|
216
217
|
var totalList = [{
|
|
217
|
-
name: '
|
|
218
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.totalTransportAmount')"),
|
|
218
219
|
unit: unitStr,
|
|
219
220
|
value: totalWeight,
|
|
220
221
|
unitStyle: {
|
|
@@ -228,8 +229,8 @@ export default function Collection() {
|
|
|
228
229
|
img: isDark ? yl_dark : yl_light,
|
|
229
230
|
fontType: 'blue'
|
|
230
231
|
}, {
|
|
231
|
-
name: '
|
|
232
|
-
unit: '
|
|
232
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.times2')"),
|
|
233
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
233
234
|
value: totalCount,
|
|
234
235
|
unitStyle: {
|
|
235
236
|
fontSize: 14
|
|
@@ -243,7 +244,7 @@ export default function Collection() {
|
|
|
243
244
|
fontType: 'green'
|
|
244
245
|
}];
|
|
245
246
|
var searchList = [{
|
|
246
|
-
title: '
|
|
247
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.disposalCertificateCode')"),
|
|
247
248
|
weight: 1,
|
|
248
249
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
249
250
|
style: {
|
|
@@ -257,7 +258,7 @@ export default function Collection() {
|
|
|
257
258
|
}
|
|
258
259
|
})
|
|
259
260
|
}, {
|
|
260
|
-
title: '
|
|
261
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.jointOrderCode')"),
|
|
261
262
|
weight: 1,
|
|
262
263
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
263
264
|
style: {
|
|
@@ -271,7 +272,7 @@ export default function Collection() {
|
|
|
271
272
|
}
|
|
272
273
|
})
|
|
273
274
|
}, {
|
|
274
|
-
title: '
|
|
275
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.startPoint')"),
|
|
275
276
|
weight: 1,
|
|
276
277
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
277
278
|
style: {
|
|
@@ -285,7 +286,7 @@ export default function Collection() {
|
|
|
285
286
|
}
|
|
286
287
|
})
|
|
287
288
|
}, {
|
|
288
|
-
title: '
|
|
289
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.endPoint')"),
|
|
289
290
|
weight: 1,
|
|
290
291
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
291
292
|
style: {
|
|
@@ -307,9 +308,9 @@ export default function Collection() {
|
|
|
307
308
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
308
309
|
title: /*#__PURE__*/_jsxs("span", {
|
|
309
310
|
children: [/*#__PURE__*/_jsx("span", {
|
|
310
|
-
children: "
|
|
311
|
+
children: translateLocaleText("t('vtxjzljdftpdmodal.jointOrderOperation')")
|
|
311
312
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
312
|
-
title: "
|
|
313
|
+
title: translateLocaleText("t('vtxcarmodal.completed')"),
|
|
313
314
|
children: /*#__PURE__*/_jsx(QuestionCircleOutlined, {
|
|
314
315
|
style: {
|
|
315
316
|
cursor: 'pointer',
|
|
@@ -366,10 +367,10 @@ export default function Collection() {
|
|
|
366
367
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
367
368
|
type: "primary",
|
|
368
369
|
onClick: submit,
|
|
369
|
-
children: "
|
|
370
|
+
children: translateLocaleText("t('_components.search')")
|
|
370
371
|
}), /*#__PURE__*/_jsx(Button, {
|
|
371
372
|
onClick: myReset,
|
|
372
|
-
children: "
|
|
373
|
+
children: translateLocaleText("t('vtxjzljdftpdmodal.reset')")
|
|
373
374
|
})]
|
|
374
375
|
})]
|
|
375
376
|
}), /*#__PURE__*/_jsx("div", {
|
|
@@ -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
|
}),
|