@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
|
@@ -15,6 +15,7 @@ import dayjs from 'dayjs';
|
|
|
15
15
|
import { useEffect, useState } from 'react';
|
|
16
16
|
import { VmFilter, VmTable, VmWrapper } from "../../../_components";
|
|
17
17
|
import { alarmApis } from "../../api";
|
|
18
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
18
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
20
|
export default function Bottom(_ref) {
|
|
20
21
|
var id = _ref.id,
|
|
@@ -37,18 +38,18 @@ export default function Bottom(_ref) {
|
|
|
37
38
|
useEffect(function () {
|
|
38
39
|
submit();
|
|
39
40
|
}, [tabKey, startDate, endDate]);
|
|
40
|
-
var columns_tccs = [['
|
|
41
|
+
var columns_tccs = [[translateLocaleText("t('vtxjzljgcxmmodal.transportUnit')"), 'transportUnitName', {
|
|
41
42
|
width: 150,
|
|
42
43
|
ellipsis: true
|
|
43
|
-
}], ['
|
|
44
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.administrativeDivision')"), 'divisionName', {
|
|
44
45
|
width: 150
|
|
45
|
-
}], ['
|
|
46
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.alarmStartTime')"), 'alarmStartTime', {
|
|
46
47
|
width: 180
|
|
47
|
-
}], ['
|
|
48
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.alarmEndTime')"), 'alarmEndTime', {
|
|
48
49
|
width: 180
|
|
49
|
-
}], ['
|
|
50
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.parkingDuration')"), 'parkingDurationStr', {
|
|
50
51
|
width: 180
|
|
51
|
-
}], ['
|
|
52
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.disposalStatus')"), 'processStatusChs', {
|
|
52
53
|
width: 100,
|
|
53
54
|
render: function render(text, record) {
|
|
54
55
|
return text ? /*#__PURE__*/_jsx("span", {
|
|
@@ -58,17 +59,17 @@ export default function Bottom(_ref) {
|
|
|
58
59
|
children: text
|
|
59
60
|
}) : '-';
|
|
60
61
|
}
|
|
61
|
-
}], ['
|
|
62
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.disposalResult')"), 'processResultChs', {
|
|
62
63
|
width: 120,
|
|
63
64
|
render: function render(text, record) {
|
|
64
65
|
return text ? /*#__PURE__*/_jsx("span", {
|
|
65
66
|
style: {
|
|
66
|
-
color: (record === null || record === void 0 ? void 0 : record.processResult)
|
|
67
|
+
color: (record === null || record === void 0 ? void 0 : record.processResult) === 'yx' ? '#52c41a' : '#f5222d'
|
|
67
68
|
},
|
|
68
69
|
children: text
|
|
69
70
|
}) : '-';
|
|
70
71
|
}
|
|
71
|
-
}], ['
|
|
72
|
+
}], [translateLocaleText("t('common.action')"), 'action', {
|
|
72
73
|
width: 60,
|
|
73
74
|
fixed: 'right',
|
|
74
75
|
render: function render(_text, record) {
|
|
@@ -76,27 +77,27 @@ export default function Bottom(_ref) {
|
|
|
76
77
|
onClick: function onClick() {
|
|
77
78
|
setIframeModalInfo({
|
|
78
79
|
visible: true,
|
|
79
|
-
title: '
|
|
80
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.hours')"),
|
|
80
81
|
src: "/jzlj/#/intelligentWarmAnalysis?activeKey=OverTime&id=".concat(record.id, "&carId=").concat(record.carId, "&startTime=").concat(record.alarmStartTime, "&endTime=").concat(record.alarmEndTime)
|
|
81
82
|
});
|
|
82
83
|
},
|
|
83
|
-
children: "
|
|
84
|
+
children: translateLocaleText("t('vtxjzljgcxmmodal.view')")
|
|
84
85
|
});
|
|
85
86
|
}
|
|
86
87
|
}]];
|
|
87
|
-
var columns_lxpl = [['
|
|
88
|
+
var columns_lxpl = [[translateLocaleText("t('vtxjzljgcxmmodal.administrativeDivision')"), 'divisionName', {
|
|
88
89
|
width: 150
|
|
89
|
-
}], ['
|
|
90
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.startPoint')"), 'startingPointName', {
|
|
90
91
|
width: 150,
|
|
91
92
|
ellipsis: true
|
|
92
|
-
}], ['
|
|
93
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.endPoint')"), 'endingPointName', {
|
|
93
94
|
width: 150,
|
|
94
95
|
ellipsis: true
|
|
95
|
-
}], ['
|
|
96
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.alarmStartTime')"), 'alarmStartTime', {
|
|
96
97
|
width: 180
|
|
97
|
-
}], ['
|
|
98
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.alarmEndTime')"), 'alarmEndTime', {
|
|
98
99
|
width: 180
|
|
99
|
-
}], ['
|
|
100
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.disposalStatus')"), 'processStatusChs', {
|
|
100
101
|
width: 150,
|
|
101
102
|
render: function render(text, record) {
|
|
102
103
|
return text ? /*#__PURE__*/_jsx("span", {
|
|
@@ -106,17 +107,17 @@ export default function Bottom(_ref) {
|
|
|
106
107
|
children: text
|
|
107
108
|
}) : '-';
|
|
108
109
|
}
|
|
109
|
-
}], ['
|
|
110
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.disposalResult')"), 'processResultChs', {
|
|
110
111
|
width: 150,
|
|
111
112
|
render: function render(text, record) {
|
|
112
113
|
return text ? /*#__PURE__*/_jsx("span", {
|
|
113
114
|
style: {
|
|
114
|
-
color: (record === null || record === void 0 ? void 0 : record.processResult)
|
|
115
|
+
color: (record === null || record === void 0 ? void 0 : record.processResult) === 'yx' ? '#52c41a' : '#f5222d'
|
|
115
116
|
},
|
|
116
117
|
children: text
|
|
117
118
|
}) : '-';
|
|
118
119
|
}
|
|
119
|
-
}], ['
|
|
120
|
+
}], [translateLocaleText("t('common.action')"), 'action', {
|
|
120
121
|
width: 60,
|
|
121
122
|
fixed: 'right',
|
|
122
123
|
render: function render(_text, record) {
|
|
@@ -124,40 +125,40 @@ export default function Bottom(_ref) {
|
|
|
124
125
|
onClick: function onClick() {
|
|
125
126
|
setIframeModalInfo({
|
|
126
127
|
visible: true,
|
|
127
|
-
title: '
|
|
128
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.line')"),
|
|
128
129
|
src: "/jzlj/#/intelligentWarmAnalysis?activeKey=RouteDeviation&id=".concat(record.id, "&carId=").concat(record.carId, "&startTime=").concat(record.alarmStartTime, "&endTime=").concat(record.alarmEndTime)
|
|
129
130
|
});
|
|
130
131
|
},
|
|
131
|
-
children: "
|
|
132
|
+
children: translateLocaleText("t('vtxjzljgcxmmodal.view')")
|
|
132
133
|
});
|
|
133
134
|
}
|
|
134
135
|
}]];
|
|
135
|
-
var columns_ylyc = [['
|
|
136
|
+
var columns_ylyc = [[translateLocaleText("t('vtxjzljgcxmmodal.transportUnit')"), 'transportUnitName', {
|
|
136
137
|
width: 180,
|
|
137
138
|
ellipsis: true
|
|
138
|
-
}], ['
|
|
139
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.administrativeDivision')"), 'divisionName', {
|
|
139
140
|
width: 150
|
|
140
|
-
}], ['
|
|
141
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.startPoint')"), 'ysqdName', {
|
|
141
142
|
width: 180,
|
|
142
143
|
ellipsis: true
|
|
143
|
-
}], ['
|
|
144
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.endPoint')"), 'yszdName', {
|
|
144
145
|
width: 180,
|
|
145
146
|
ellipsis: true
|
|
146
|
-
}], ['
|
|
147
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.constructionWasteCategory')"), 'rubbishTypeChs', {
|
|
147
148
|
width: 150
|
|
148
|
-
}], ['
|
|
149
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.approvedValidityPeriod')"), 'effectiveDateRange', {
|
|
149
150
|
width: 200
|
|
150
|
-
}], ['
|
|
151
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.alarmGeneratedTime')"), 'createTime', {
|
|
151
152
|
width: 200
|
|
152
|
-
}], ['
|
|
153
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.approvedAmountTon')"), 'declareTransportWeight', {
|
|
153
154
|
width: 130,
|
|
154
155
|
align: 'right',
|
|
155
156
|
sorter: true
|
|
156
|
-
}], ['
|
|
157
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.actualTransportAmountTon')"), 'actualTransportWeight', {
|
|
157
158
|
width: 130,
|
|
158
159
|
align: 'right',
|
|
159
160
|
sorter: true
|
|
160
|
-
}], ['
|
|
161
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.deviationRatio')"), 'offsetStr', {
|
|
161
162
|
width: 180,
|
|
162
163
|
align: 'right',
|
|
163
164
|
sorter: true,
|
|
@@ -169,7 +170,7 @@ export default function Bottom(_ref) {
|
|
|
169
170
|
children: text
|
|
170
171
|
}) : '-';
|
|
171
172
|
}
|
|
172
|
-
}], ['
|
|
173
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.disposalStatus')"), 'processStatusChs', {
|
|
173
174
|
width: 150,
|
|
174
175
|
render: function render(text, record) {
|
|
175
176
|
return text ? /*#__PURE__*/_jsx("span", {
|
|
@@ -179,17 +180,17 @@ export default function Bottom(_ref) {
|
|
|
179
180
|
children: text
|
|
180
181
|
}) : '-';
|
|
181
182
|
}
|
|
182
|
-
}], ['
|
|
183
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.disposalResult')"), 'processResultChs', {
|
|
183
184
|
width: 150,
|
|
184
185
|
render: function render(text, record) {
|
|
185
186
|
return text ? /*#__PURE__*/_jsx("span", {
|
|
186
187
|
style: {
|
|
187
|
-
color: (record === null || record === void 0 ? void 0 : record.processResult)
|
|
188
|
+
color: (record === null || record === void 0 ? void 0 : record.processResult) === 'yx' ? '#52c41a' : '#f5222d'
|
|
188
189
|
},
|
|
189
190
|
children: text
|
|
190
191
|
}) : '-';
|
|
191
192
|
}
|
|
192
|
-
}], ['
|
|
193
|
+
}], [translateLocaleText("t('common.action')"), 'action', {
|
|
193
194
|
width: 60,
|
|
194
195
|
fixed: 'right',
|
|
195
196
|
render: function render(_text, record) {
|
|
@@ -197,11 +198,11 @@ export default function Bottom(_ref) {
|
|
|
197
198
|
onClick: function onClick() {
|
|
198
199
|
setIframeModalInfo({
|
|
199
200
|
visible: true,
|
|
200
|
-
title: '
|
|
201
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.transportAmountAbnormal')"),
|
|
201
202
|
src: "/jzlj/#/intelligentWarmAnalysis?activeKey=TransparentAlarm&id=".concat(record.id, "&carId=").concat(record.carId, "&startTime=").concat(record.alarmStartTime, "&endTime=").concat(record.alarmEndTime)
|
|
202
203
|
});
|
|
203
204
|
},
|
|
204
|
-
children: "
|
|
205
|
+
children: translateLocaleText("t('vtxjzljgcxmmodal.view')")
|
|
205
206
|
});
|
|
206
207
|
}
|
|
207
208
|
}]];
|
|
@@ -251,7 +252,7 @@ export default function Bottom(_ref) {
|
|
|
251
252
|
pagination: false
|
|
252
253
|
});
|
|
253
254
|
return /*#__PURE__*/_jsx(VmWrapper, {
|
|
254
|
-
title: "
|
|
255
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.alarmDetails')"),
|
|
255
256
|
extraLeft: /*#__PURE__*/_jsx(VmFilter.VMSelect, {
|
|
256
257
|
options: alarmTypeList.filter(function (item) {
|
|
257
258
|
return item.value !== 'all';
|
|
@@ -264,7 +265,7 @@ export default function Bottom(_ref) {
|
|
|
264
265
|
style: {
|
|
265
266
|
width: 120
|
|
266
267
|
},
|
|
267
|
-
placeholder: "
|
|
268
|
+
placeholder: translateLocaleText("t('vtxjzljgcxmmodal.type')"),
|
|
268
269
|
value: tabKey,
|
|
269
270
|
allowClear: false,
|
|
270
271
|
onChange: function onChange(val) {
|
|
@@ -18,22 +18,23 @@ import { VmBarCharts, VmFilter, VmPieCharts, VmWrapper } from "../../../_compone
|
|
|
18
18
|
import { alarmApis } from "../../api";
|
|
19
19
|
import Bottom from "./Bottom";
|
|
20
20
|
import "./index.less";
|
|
21
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
21
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
23
|
export default function Alarm() {
|
|
23
24
|
var _React$useContext = React.useContext(JzljGcxmContext),
|
|
24
25
|
id = _React$useContext.id,
|
|
25
26
|
setIframeModalInfo = _React$useContext.setIframeModalInfo;
|
|
26
27
|
var alarmTypeList = [{
|
|
27
|
-
text: '
|
|
28
|
+
text: translateLocaleText("t('vtxjzljgcxmmodal.allAlarms')"),
|
|
28
29
|
value: 'all'
|
|
29
30
|
}, {
|
|
30
|
-
text: '
|
|
31
|
+
text: translateLocaleText("t('vtxjzljgcxmmodal.hours')"),
|
|
31
32
|
value: 'parkingTimeout'
|
|
32
33
|
}, {
|
|
33
|
-
text: '
|
|
34
|
+
text: translateLocaleText("t('vtxjzljgcxmmodal.line')"),
|
|
34
35
|
value: 'routeDeviation'
|
|
35
36
|
}, {
|
|
36
|
-
text: '
|
|
37
|
+
text: translateLocaleText("t('vtxjzljgcxmmodal.transportAmountAbnormal')"),
|
|
37
38
|
value: 'transportAbnormal'
|
|
38
39
|
}];
|
|
39
40
|
var _useSetState = useSetState({
|
|
@@ -108,7 +109,7 @@ export default function Alarm() {
|
|
|
108
109
|
style: {
|
|
109
110
|
width: 120
|
|
110
111
|
},
|
|
111
|
-
placeholder: "
|
|
112
|
+
placeholder: translateLocaleText("t('vtxjzljgcxmmodal.type')"),
|
|
112
113
|
value: alarmType,
|
|
113
114
|
allowClear: false,
|
|
114
115
|
onChange: function onChange(val) {
|
|
@@ -121,7 +122,7 @@ export default function Alarm() {
|
|
|
121
122
|
}), /*#__PURE__*/_jsx("div", {
|
|
122
123
|
className: "alarm-middle",
|
|
123
124
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
124
|
-
title: "
|
|
125
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.analysis')"),
|
|
125
126
|
children: /*#__PURE__*/_jsxs("div", {
|
|
126
127
|
className: "alarm-middle-main",
|
|
127
128
|
children: [/*#__PURE__*/_jsx("div", {
|
|
@@ -133,10 +134,10 @@ export default function Alarm() {
|
|
|
133
134
|
value: item.count
|
|
134
135
|
});
|
|
135
136
|
}),
|
|
136
|
-
name: "
|
|
137
|
-
title: "
|
|
137
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.alarmCount')"),
|
|
138
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.times')"),
|
|
138
139
|
total: pieTotal,
|
|
139
|
-
unit: "
|
|
140
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.timesUnit')"),
|
|
140
141
|
innerRadius: ['60%', '80%'],
|
|
141
142
|
outerRadius: ['80%', '90%'],
|
|
142
143
|
spaceLength: 0,
|
|
@@ -146,7 +147,7 @@ export default function Alarm() {
|
|
|
146
147
|
className: "alarm-middle-main-right",
|
|
147
148
|
children: /*#__PURE__*/_jsx(VmBarCharts, {
|
|
148
149
|
dataList: [{
|
|
149
|
-
name: '
|
|
150
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.quantity')"),
|
|
150
151
|
data: lineData.map(function (item) {
|
|
151
152
|
return "\u2001".concat(item.orderCount);
|
|
152
153
|
}),
|
|
@@ -158,15 +159,15 @@ export default function Alarm() {
|
|
|
158
159
|
}),
|
|
159
160
|
yAxisList: [{
|
|
160
161
|
key: "\u2000",
|
|
161
|
-
unit: '
|
|
162
|
-
name: '
|
|
162
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.timesUnit')"),
|
|
163
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.timesUnitWithParentheses')")
|
|
163
164
|
}, {
|
|
164
165
|
key: "\u2001",
|
|
165
|
-
unit: '
|
|
166
|
-
name: '
|
|
166
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.itemUnit')"),
|
|
167
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.items')")
|
|
167
168
|
}],
|
|
168
169
|
lineList: [{
|
|
169
|
-
name: '
|
|
170
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.quantity2')"),
|
|
170
171
|
data: lineData.map(function (item) {
|
|
171
172
|
return "\u2000".concat(item.alarmCount);
|
|
172
173
|
}),
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { VmBarCharts, VmEmpty,
|
|
1
|
+
import { VmBarCharts, VmEmpty, VmWrapper } from "../../../_components";
|
|
2
2
|
import useSettings from "../../../_hooks/useSettings";
|
|
3
3
|
import "./index.less";
|
|
4
4
|
import overview_ctyl_pjrcc_dark from "../../imgs/overview_ctyl_pjrcc_dark.png";
|
|
5
5
|
import overview_ctyl_pjrcc_light from "../../imgs/overview_ctyl_pjrcc_light.png";
|
|
6
6
|
import overview_ctyl_pjryl_dark from "../../imgs/overview_ctyl_pjryl_dark.png";
|
|
7
7
|
import overview_ctyl_pjryl_light from "../../imgs/overview_ctyl_pjryl_light.png";
|
|
8
|
+
import VmFactorList from "../FactorList";
|
|
9
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
8
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
11
|
export default function Chart(_ref) {
|
|
10
12
|
var _ref$data = _ref.data,
|
|
@@ -19,7 +21,7 @@ export default function Chart(_ref) {
|
|
|
19
21
|
_data$histogramList = data.histogramList,
|
|
20
22
|
histogramList = _data$histogramList === void 0 ? [] : _data$histogramList;
|
|
21
23
|
var dataList_top = [{
|
|
22
|
-
name: '
|
|
24
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.averageDailyTransportAmount')"),
|
|
23
25
|
unit: unitStr,
|
|
24
26
|
value: avgDayWeight,
|
|
25
27
|
img: isDark ? overview_ctyl_pjryl_dark : overview_ctyl_pjryl_light,
|
|
@@ -32,8 +34,8 @@ export default function Chart(_ref) {
|
|
|
32
34
|
justifyContent: 'center'
|
|
33
35
|
}
|
|
34
36
|
}, {
|
|
35
|
-
name: '
|
|
36
|
-
unit: '
|
|
37
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.averageDailyTrips')"),
|
|
38
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.timesUnit')"),
|
|
37
39
|
value: avgDayCount,
|
|
38
40
|
img: isDark ? overview_ctyl_pjrcc_dark : overview_ctyl_pjrcc_light,
|
|
39
41
|
fontType: 'blue',
|
|
@@ -61,7 +63,7 @@ export default function Chart(_ref) {
|
|
|
61
63
|
},
|
|
62
64
|
children: histogramList !== null && histogramList !== void 0 && histogramList.length ? /*#__PURE__*/_jsx(VmBarCharts, {
|
|
63
65
|
dataList: [{
|
|
64
|
-
name: '
|
|
66
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.transportAmount')"),
|
|
65
67
|
data: histogramList.map(function (item) {
|
|
66
68
|
return "\u2000".concat(item.weight);
|
|
67
69
|
}),
|
|
@@ -73,15 +75,15 @@ export default function Chart(_ref) {
|
|
|
73
75
|
}),
|
|
74
76
|
yAxisList: [{
|
|
75
77
|
key: "\u2001",
|
|
76
|
-
unit: '
|
|
77
|
-
name: '
|
|
78
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.timesUnit')"),
|
|
79
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.timesUnitWithParentheses')")
|
|
78
80
|
}, {
|
|
79
81
|
key: "\u2000",
|
|
80
82
|
unit: unitStr,
|
|
81
83
|
name: "(".concat(unitStr, ")")
|
|
82
84
|
}],
|
|
83
85
|
lineList: [{
|
|
84
|
-
name: '
|
|
86
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.trips')"),
|
|
85
87
|
data: histogramList.map(function (item) {
|
|
86
88
|
return "\u2001".concat(item.count);
|
|
87
89
|
}),
|
|
@@ -18,7 +18,7 @@ import { useAntdTable, useSetState } from 'ahooks';
|
|
|
18
18
|
import { Button } from 'antd';
|
|
19
19
|
import React, { useEffect } from 'react';
|
|
20
20
|
import { JzljGcxmContext } from "../..";
|
|
21
|
-
import {
|
|
21
|
+
import { VmFilter, VmTable, VmTag, VmWrapper } from "../../../_components";
|
|
22
22
|
import useSettings from "../../../_hooks/useSettings";
|
|
23
23
|
import { collectionApis, useLdFields, useUnit } from "../../api";
|
|
24
24
|
import "./index.less";
|
|
@@ -28,6 +28,8 @@ import cc_light from "../../imgs/overview_ctyl_pjrcc_light.png";
|
|
|
28
28
|
import yl_dark from "../../imgs/overview_ctyl_pjryl_dark.png";
|
|
29
29
|
import yl_light from "../../imgs/overview_ctyl_pjryl_light.png";
|
|
30
30
|
import Chart from "./Chart";
|
|
31
|
+
import VmFactorList from "../FactorList";
|
|
32
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
31
33
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
32
34
|
export default function Collection() {
|
|
33
35
|
var _React$useContext = React.useContext(JzljGcxmContext),
|
|
@@ -86,14 +88,14 @@ export default function Collection() {
|
|
|
86
88
|
ellipsis: true,
|
|
87
89
|
align: item.dataShowKey === 'receivedWeight' ? 'right' : 'left'
|
|
88
90
|
}];
|
|
89
|
-
}) : [['
|
|
91
|
+
}) : [[translateLocaleText("t('vtxjzljgcxmmodal.jointOrderCode')"), 'code', {
|
|
90
92
|
width: 120,
|
|
91
93
|
fixed: 'left',
|
|
92
94
|
ellipsis: true
|
|
93
|
-
}], ['
|
|
95
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.approvalCode')"), 'disposalCertificateInfoCode', {
|
|
94
96
|
width: 120,
|
|
95
97
|
ellipsis: true
|
|
96
|
-
}], ['
|
|
98
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.jointOrderStatus')"), 'jointOrderStatusName', {
|
|
97
99
|
width: 120,
|
|
98
100
|
render: function render(text, record) {
|
|
99
101
|
var colorMap = {
|
|
@@ -108,27 +110,27 @@ export default function Collection() {
|
|
|
108
110
|
type: color
|
|
109
111
|
});
|
|
110
112
|
}
|
|
111
|
-
}], ['
|
|
113
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.departureTime')"), 'stepOneOperateTime', {
|
|
112
114
|
width: 180
|
|
113
|
-
}], ['
|
|
115
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.transportUnit')"), 'transportUnitName', {
|
|
114
116
|
width: 120,
|
|
115
117
|
ellipsis: true
|
|
116
|
-
}], ['
|
|
118
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.plateNumber')"), 'carCode', {
|
|
117
119
|
width: 120
|
|
118
|
-
}], ['
|
|
120
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.endPoint')"), 'endingPointName', {
|
|
119
121
|
width: 120,
|
|
120
122
|
ellipsis: true
|
|
121
|
-
}], ['
|
|
123
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.endPointDivision')"), 'endingPointDivisionName', {
|
|
122
124
|
width: 120,
|
|
123
125
|
ellipsis: true
|
|
124
|
-
}], ['
|
|
126
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.receivedTime')"), 'stepThreeOperateTime', {
|
|
125
127
|
width: 180
|
|
126
|
-
}], ['
|
|
128
|
+
}], [translateLocaleText("t('vtxjzljgcxmmodal.constructionWasteCategory')"), 'garbageTypeName', {
|
|
127
129
|
width: 120
|
|
128
|
-
}], ["
|
|
130
|
+
}], ["".concat(translateLocaleText("t('vtxjzljgcxmmodal.transportAmount')"), "(").concat(unitStr, ")"), 'receivedWeight', {
|
|
129
131
|
width: 120,
|
|
130
132
|
align: 'right'
|
|
131
|
-
}]]), [['
|
|
133
|
+
}]]), [[translateLocaleText("t('common.action')"), 'action', {
|
|
132
134
|
width: 60,
|
|
133
135
|
fixed: 'right',
|
|
134
136
|
render: function render(text, record) {
|
|
@@ -136,11 +138,11 @@ export default function Collection() {
|
|
|
136
138
|
onClick: function onClick() {
|
|
137
139
|
setIframeModalInfo({
|
|
138
140
|
visible: true,
|
|
139
|
-
title: '
|
|
141
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.jointOrderInfo')"),
|
|
140
142
|
src: "/jzlj/#/constructionJointOrder?id=".concat(record.id)
|
|
141
143
|
});
|
|
142
144
|
},
|
|
143
|
-
children: "
|
|
145
|
+
children: translateLocaleText("t('vtxjzljgcxmmodal.view')")
|
|
144
146
|
});
|
|
145
147
|
}
|
|
146
148
|
}]]).map(function (item) {
|
|
@@ -211,7 +213,7 @@ export default function Collection() {
|
|
|
211
213
|
_totalData$totalWeigh = totalData.totalWeight,
|
|
212
214
|
totalWeight = _totalData$totalWeigh === void 0 ? 0 : _totalData$totalWeigh;
|
|
213
215
|
var totalList = [{
|
|
214
|
-
name: '
|
|
216
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.totalTransportAmount')"),
|
|
215
217
|
unit: unitStr,
|
|
216
218
|
value: totalWeight,
|
|
217
219
|
unitStyle: {
|
|
@@ -225,8 +227,8 @@ export default function Collection() {
|
|
|
225
227
|
img: isDark ? yl_dark : yl_light,
|
|
226
228
|
fontType: 'blue'
|
|
227
229
|
}, {
|
|
228
|
-
name: '
|
|
229
|
-
unit: '
|
|
230
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.totalTrips')"),
|
|
231
|
+
unit: translateLocaleText("t('vtxjzljgcxmmodal.timesUnit')"),
|
|
230
232
|
value: totalCount,
|
|
231
233
|
unitStyle: {
|
|
232
234
|
fontSize: 14
|
|
@@ -240,7 +242,7 @@ export default function Collection() {
|
|
|
240
242
|
fontType: 'green'
|
|
241
243
|
}];
|
|
242
244
|
var searchList = [{
|
|
243
|
-
title: '
|
|
245
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.disposalCertificateCode')"),
|
|
244
246
|
weight: 1,
|
|
245
247
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
246
248
|
style: {
|
|
@@ -254,7 +256,7 @@ export default function Collection() {
|
|
|
254
256
|
}
|
|
255
257
|
})
|
|
256
258
|
}, {
|
|
257
|
-
title: '
|
|
259
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.jointOrderCode')"),
|
|
258
260
|
weight: 1,
|
|
259
261
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
260
262
|
style: {
|
|
@@ -268,7 +270,7 @@ export default function Collection() {
|
|
|
268
270
|
}
|
|
269
271
|
})
|
|
270
272
|
}, {
|
|
271
|
-
title: '
|
|
273
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.endPoint')"),
|
|
272
274
|
weight: 1,
|
|
273
275
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
274
276
|
style: {
|
|
@@ -288,7 +290,7 @@ export default function Collection() {
|
|
|
288
290
|
return /*#__PURE__*/_jsx("div", {
|
|
289
291
|
className: "collection",
|
|
290
292
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
291
|
-
title: "
|
|
293
|
+
title: translateLocaleText("t('vtxjzljgcxmmodal.jointOrderOperation')"),
|
|
292
294
|
needChange: true,
|
|
293
295
|
activeKey: activeKey,
|
|
294
296
|
onChange: function onChange(key) {
|
|
@@ -338,10 +340,10 @@ export default function Collection() {
|
|
|
338
340
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
339
341
|
type: "primary",
|
|
340
342
|
onClick: submit,
|
|
341
|
-
children: "
|
|
343
|
+
children: translateLocaleText("t('_components.search')")
|
|
342
344
|
}), /*#__PURE__*/_jsx(Button, {
|
|
343
345
|
onClick: myReset,
|
|
344
|
-
children: "
|
|
346
|
+
children: translateLocaleText("t('vtxjzljgcxmmodal.reset')")
|
|
345
347
|
})]
|
|
346
348
|
})]
|
|
347
349
|
}), /*#__PURE__*/_jsx("div", {
|
|
@@ -16,6 +16,7 @@ import { FeatureLayer, FlyLineLayer, Legend, Map } from '@vtx/ol-map';
|
|
|
16
16
|
import { useEffect, useRef, useState } from 'react';
|
|
17
17
|
import useSettings from "../../../_hooks/useSettings";
|
|
18
18
|
import "./index.less";
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
19
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
21
|
export default function FlowMap(_ref) {
|
|
21
22
|
var _mapInfo$olProps, _turf$center2;
|
|
@@ -87,7 +88,7 @@ export default function FlowMap(_ref) {
|
|
|
87
88
|
}] : [],
|
|
88
89
|
endData = [],
|
|
89
90
|
endCenters = [];
|
|
90
|
-
flowData.
|
|
91
|
+
flowData.forEach(function (item) {
|
|
91
92
|
var _item$endingPointAddr;
|
|
92
93
|
if (item !== null && item !== void 0 && (_item$endingPointAddr = item.endingPointAddress) !== null && _item$endingPointAddr !== void 0 && _item$endingPointAddr.lngLats) {
|
|
93
94
|
var _item$endingPointAddr2, _turf$center;
|
|
@@ -161,7 +162,7 @@ export default function FlowMap(_ref) {
|
|
|
161
162
|
},
|
|
162
163
|
id: "start",
|
|
163
164
|
labelField: "name",
|
|
164
|
-
name: "
|
|
165
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.startPointShort')"),
|
|
165
166
|
legend: {
|
|
166
167
|
image: new MapIcon.Icon({
|
|
167
168
|
canvasIcon: 'AREA',
|
|
@@ -186,7 +187,7 @@ export default function FlowMap(_ref) {
|
|
|
186
187
|
},
|
|
187
188
|
id: "end",
|
|
188
189
|
labelField: "name",
|
|
189
|
-
name: "
|
|
190
|
+
name: translateLocaleText("t('vtxjzljgcxmmodal.endPointShort')"),
|
|
190
191
|
legend: {
|
|
191
192
|
image: new MapIcon.Icon({
|
|
192
193
|
canvasIcon: 'AREA',
|