@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
|
@@ -17,53 +17,56 @@ import { VmFactor, VmTable, VmWrapper } from "../../../_components";
|
|
|
17
17
|
import useSettings from "../../../_hooks/useSettings";
|
|
18
18
|
import { queryPage, throwRecordService } from "../../api";
|
|
19
19
|
import "./index.less";
|
|
20
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
20
21
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
22
|
+
var getColumns = function getColumns() {
|
|
23
|
+
return [{
|
|
24
|
+
title: translateLocaleText("t('vtxsdydtfdmodal.throwPerson')"),
|
|
25
|
+
dataIndex: 'personName',
|
|
26
|
+
render: function render(text) {
|
|
27
|
+
return text || '--';
|
|
28
|
+
}
|
|
29
|
+
}, {
|
|
30
|
+
title: translateLocaleText("t('vtxsdydtfdmodal.houseNumber')"),
|
|
31
|
+
dataIndex: 'householdNo',
|
|
32
|
+
render: function render(text) {
|
|
33
|
+
return text || '--';
|
|
34
|
+
}
|
|
35
|
+
}, {
|
|
36
|
+
title: translateLocaleText("t('vtxhousingestatemodal.classificationSubject')"),
|
|
37
|
+
dataIndex: 'housingEstateName',
|
|
38
|
+
render: function render(text) {
|
|
39
|
+
return text || '--';
|
|
40
|
+
}
|
|
41
|
+
}, {
|
|
42
|
+
title: translateLocaleText("t('vtxqyrymodal.administrativeDivision')"),
|
|
43
|
+
dataIndex: 'xzqhName',
|
|
44
|
+
render: function render(text) {
|
|
45
|
+
return text || '--';
|
|
46
|
+
}
|
|
47
|
+
}, {
|
|
48
|
+
title: translateLocaleText("t('vtxshxqmodal.point')"),
|
|
49
|
+
dataIndex: 'throwPointName',
|
|
50
|
+
render: function render(text) {
|
|
51
|
+
return text || '--';
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
title: translateLocaleText("t('vtxsdydtfdmodal.classificationQuality')"),
|
|
55
|
+
dataIndex: 'qualityValue',
|
|
56
|
+
render: function render(text, record) {
|
|
57
|
+
return /*#__PURE__*/_jsx("div", {
|
|
58
|
+
className: "classifyCircle ".concat(record.qualityCode === 'PASS' ? 'GOOD' : 'BAD'),
|
|
59
|
+
children: text
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}, {
|
|
63
|
+
title: translateLocaleText("t('vtxtfdmodal.hours')"),
|
|
64
|
+
dataIndex: 'endDatetime',
|
|
65
|
+
render: function render(text) {
|
|
66
|
+
return text || '--';
|
|
67
|
+
}
|
|
68
|
+
}];
|
|
69
|
+
};
|
|
67
70
|
var TFRD = function TFRD(_ref) {
|
|
68
71
|
var _ref$classPrefix = _ref.classPrefix,
|
|
69
72
|
classPrefix = _ref$classPrefix === void 0 ? '' : _ref$classPrefix,
|
|
@@ -100,21 +103,21 @@ var TFRD = function TFRD(_ref) {
|
|
|
100
103
|
return /*#__PURE__*/_jsx("div", {
|
|
101
104
|
className: prefix,
|
|
102
105
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
103
|
-
title: "
|
|
106
|
+
title: translateLocaleText("t('vtxsdydtfdmodal.analyze2')"),
|
|
104
107
|
filterType: "rangePicker",
|
|
105
108
|
dateValue: times,
|
|
106
109
|
filterChange: onDateChange,
|
|
107
110
|
children: [/*#__PURE__*/_jsx("div", {
|
|
108
111
|
className: "".concat(prefix, "-top"),
|
|
109
112
|
children: [{
|
|
110
|
-
name: '
|
|
111
|
-
unit: '
|
|
113
|
+
name: translateLocaleText("t('vtxsdydtfdmodal.throwHouseholds')"),
|
|
114
|
+
unit: translateLocaleText("t('common.householdUnit')"),
|
|
112
115
|
value: (summary === null || summary === void 0 ? void 0 : summary.householdCount) || 0,
|
|
113
116
|
fontType: 'blue',
|
|
114
117
|
key: 'tfhs'
|
|
115
118
|
}, {
|
|
116
|
-
name: '
|
|
117
|
-
unit: '
|
|
119
|
+
name: translateLocaleText("t('vtxsdydtfdmodal.times3')"),
|
|
120
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
118
121
|
value: (summary === null || summary === void 0 ? void 0 : summary.totalCount) || 0,
|
|
119
122
|
fontType: 'green',
|
|
120
123
|
key: 'tfcs'
|
|
@@ -125,7 +128,7 @@ var TFRD = function TFRD(_ref) {
|
|
|
125
128
|
})
|
|
126
129
|
}), /*#__PURE__*/_jsx(VmTable, _objectSpread({
|
|
127
130
|
height: 370,
|
|
128
|
-
columns:
|
|
131
|
+
columns: getColumns()
|
|
129
132
|
}, tableProps))]
|
|
130
133
|
})
|
|
131
134
|
});
|
|
@@ -10,6 +10,7 @@ import { useState } from 'react';
|
|
|
10
10
|
import { VmWrapper } from "../../../_components";
|
|
11
11
|
import WGGSContent from "./Content";
|
|
12
12
|
import "./index.less";
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
13
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
15
|
var WGGS = function WGGS(_ref) {
|
|
15
16
|
var _ref$classPrefix = _ref.classPrefix,
|
|
@@ -43,7 +44,7 @@ var WGGS = function WGGS(_ref) {
|
|
|
43
44
|
};
|
|
44
45
|
return /*#__PURE__*/_jsxs(VmWrapper, {
|
|
45
46
|
tabList: [{
|
|
46
|
-
label: '
|
|
47
|
+
label: translateLocaleText("t('vtxhousingestatemodal.yesPoint')"),
|
|
47
48
|
key: 'all'
|
|
48
49
|
}].concat(throwPoints === null || throwPoints === void 0 ? void 0 : throwPoints.map(function (ele) {
|
|
49
50
|
return {
|
|
@@ -58,7 +59,7 @@ var WGGS = function WGGS(_ref) {
|
|
|
58
59
|
disabledDate: disabledDate,
|
|
59
60
|
filterChange: function filterChange(date) {
|
|
60
61
|
if (date[1].diff(date[0], 'd') > 7) {
|
|
61
|
-
message.warning('
|
|
62
|
+
message.warning(translateLocaleText("t('vtxdevicemodal.hours7')"));
|
|
62
63
|
return;
|
|
63
64
|
}
|
|
64
65
|
setTimes(date);
|
|
@@ -5,6 +5,7 @@ import { VmEmpty, VmTag } from "../../../_components";
|
|
|
5
5
|
import useSettings from "../../../_hooks/useSettings";
|
|
6
6
|
import { throwFailBehaviorService } from "../../api";
|
|
7
7
|
import "./index.less";
|
|
8
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
8
9
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
9
10
|
var WGGSContent = function WGGSContent(_ref) {
|
|
10
11
|
var _data$map;
|
|
@@ -108,7 +109,7 @@ var WGGSContent = function WGGSContent(_ref) {
|
|
|
108
109
|
className: "".concat(classPrefix, "-content-item-info3"),
|
|
109
110
|
children: [/*#__PURE__*/_jsx("img", {
|
|
110
111
|
src: require("../../imgs/avatar".concat(isDark ? '' : '_light', ".png"))
|
|
111
|
-
}), item.personName || '
|
|
112
|
+
}), item.personName || translateLocaleText("t('vtxsdydtfdmodal.noRelatedUser')")]
|
|
112
113
|
})]
|
|
113
114
|
})]
|
|
114
115
|
}, item.id);
|
|
@@ -16,7 +16,8 @@ import { getViolateBehavior } from "../../api";
|
|
|
16
16
|
import { filterCode } from "../../config";
|
|
17
17
|
import WGXWContent from "./Content";
|
|
18
18
|
import "./index.less";
|
|
19
|
-
import {
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
20
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
20
21
|
var Option = Select.Option;
|
|
21
22
|
var WGXW = function WGXW(_ref) {
|
|
22
23
|
var _ref$classPrefix = _ref.classPrefix,
|
|
@@ -47,7 +48,7 @@ var WGXW = function WGXW(_ref) {
|
|
|
47
48
|
useEffect(function () {
|
|
48
49
|
getViolateBehavior().then(function (data) {
|
|
49
50
|
setThrowAberrantList([{
|
|
50
|
-
text: '
|
|
51
|
+
text: translateLocaleText("t('export.all')"),
|
|
51
52
|
value: 'all'
|
|
52
53
|
}].concat(_toConsumableArray(data || [])));
|
|
53
54
|
});
|
|
@@ -61,11 +62,11 @@ var WGXW = function WGXW(_ref) {
|
|
|
61
62
|
paddingRight: 10
|
|
62
63
|
},
|
|
63
64
|
className: "searchContent ",
|
|
64
|
-
children: [/*#__PURE__*/
|
|
65
|
+
children: [/*#__PURE__*/_jsxs("span", {
|
|
65
66
|
style: {
|
|
66
67
|
color: '#B3C4CE'
|
|
67
68
|
},
|
|
68
|
-
children: " \
|
|
69
|
+
children: [" ", translateLocaleText("t('vtxhousingestatemodal.violationBehavior')"), "\uFF1A"]
|
|
69
70
|
}), /*#__PURE__*/_jsx(Select, {
|
|
70
71
|
value: throwAberrantCode,
|
|
71
72
|
onChange: function onChange(value) {
|
|
@@ -85,7 +86,7 @@ var WGXW = function WGXW(_ref) {
|
|
|
85
86
|
className: prefix,
|
|
86
87
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
87
88
|
tabList: [{
|
|
88
|
-
label: '
|
|
89
|
+
label: translateLocaleText("t('vtxhousingestatemodal.yesPoint')"),
|
|
89
90
|
key: 'all'
|
|
90
91
|
}].concat(throwPoints === null || throwPoints === void 0 ? void 0 : throwPoints.map(function (ele) {
|
|
91
92
|
return {
|
|
@@ -6,36 +6,36 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
6
6
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
7
7
|
export var OverViewLeftFields = [{
|
|
8
8
|
key: 'householdNum',
|
|
9
|
-
label: '
|
|
9
|
+
label: "t('vtxhousingestatemodal.households')"
|
|
10
10
|
}, {
|
|
11
11
|
key: 'supervisorNum',
|
|
12
|
-
label: '
|
|
12
|
+
label: "t('vtxhousingestatemodal.quantity')"
|
|
13
13
|
}, {
|
|
14
14
|
key: 'personNum',
|
|
15
|
-
label: '
|
|
15
|
+
label: "t('vtxhousingestatemodal.population')"
|
|
16
16
|
}, {
|
|
17
17
|
key: 'throwPointNum',
|
|
18
|
-
label: '
|
|
18
|
+
label: "t('vtxhousingestatemodal.pointQuantity')"
|
|
19
19
|
}, {
|
|
20
20
|
key: 'divisionName',
|
|
21
|
-
label: '
|
|
21
|
+
label: "t('vtxqyrymodal.administrativeDivision')"
|
|
22
22
|
}, {
|
|
23
23
|
key: 'jcssTypeName',
|
|
24
|
-
label: '
|
|
24
|
+
label: "t('vtxhousingestatemodal.classificationSubject')"
|
|
25
25
|
},
|
|
26
26
|
// {
|
|
27
27
|
// key: 'jcssTypeName',
|
|
28
|
-
// label: '
|
|
28
|
+
// label: "t('vtxtfdmodal.hours')",
|
|
29
29
|
// },
|
|
30
30
|
{
|
|
31
31
|
key: 'manageOrgName',
|
|
32
|
-
label: '
|
|
32
|
+
label: "t('vtxkhmodal.managementUnit')"
|
|
33
33
|
}, {
|
|
34
34
|
key: 'responsibleOrgName',
|
|
35
|
-
label: '
|
|
35
|
+
label: "t('vtxsdydtfdmodal.operationCompany')"
|
|
36
36
|
}, {
|
|
37
37
|
key: 'address',
|
|
38
|
-
label: '
|
|
38
|
+
label: "t('vtxccunitmodal.address')"
|
|
39
39
|
}];
|
|
40
40
|
|
|
41
41
|
// 过滤echarts数据
|
|
@@ -4,6 +4,7 @@ import useGetConfig from "../_hooks/useGetConfig";
|
|
|
4
4
|
import VtxBaseModal from "../vtx-base-modal";
|
|
5
5
|
import { overViewService, useGetLoadEnumValue } from "./api";
|
|
6
6
|
import { Alarm, OverView, TFRD, WGGS, WGXW } from "./components";
|
|
7
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
var VtxHousingEstateModal = function VtxHousingEstateModal(props) {
|
|
9
10
|
var _props$visible = props.visible,
|
|
@@ -17,19 +18,19 @@ var VtxHousingEstateModal = function VtxHousingEstateModal(props) {
|
|
|
17
18
|
var PREFIX = 'estate';
|
|
18
19
|
var tabs = [{
|
|
19
20
|
key: 'base',
|
|
20
|
-
title: '
|
|
21
|
+
title: translateLocaleText("t('vtxdefaultmodal.overviewInformation')")
|
|
21
22
|
}, {
|
|
22
23
|
key: 'wgrgs',
|
|
23
|
-
title: '
|
|
24
|
+
title: translateLocaleText("t('vtxsdydtfdmodal.violationPersonPublicity')")
|
|
24
25
|
}, {
|
|
25
26
|
key: 'tfrd',
|
|
26
|
-
title: '
|
|
27
|
+
title: translateLocaleText("t('vtxsdydtfdmodal.residentThrowHeat')")
|
|
27
28
|
}, {
|
|
28
29
|
key: 'wgxw',
|
|
29
|
-
title: '
|
|
30
|
+
title: translateLocaleText("t('vtxsdydtfdmodal.residentViolationBehavior')")
|
|
30
31
|
}, {
|
|
31
32
|
key: 'alarm',
|
|
32
|
-
title: '
|
|
33
|
+
title: translateLocaleText("t('vtxhousingestatemodal.analyze')")
|
|
33
34
|
}];
|
|
34
35
|
var _useGetConfig = useGetConfig('estate', tabs),
|
|
35
36
|
tabsData = _useGetConfig.tabsData;
|
|
@@ -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 FactorList, { EllipsisFactorName } 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,9 @@ 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: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
25
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.day')")
|
|
26
|
+
}),
|
|
23
27
|
unit: unitStr,
|
|
24
28
|
value: avgDayWeight,
|
|
25
29
|
img: isDark ? overview_ctyl_pjryl_dark : overview_ctyl_pjryl_light,
|
|
@@ -32,8 +36,10 @@ export default function Chart(_ref) {
|
|
|
32
36
|
justifyContent: 'center'
|
|
33
37
|
}
|
|
34
38
|
}, {
|
|
35
|
-
name:
|
|
36
|
-
|
|
39
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
40
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.dayTimes')")
|
|
41
|
+
}),
|
|
42
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
37
43
|
value: avgDayCount,
|
|
38
44
|
img: isDark ? overview_ctyl_pjrcc_dark : overview_ctyl_pjrcc_light,
|
|
39
45
|
fontType: 'blue',
|
|
@@ -50,7 +56,7 @@ export default function Chart(_ref) {
|
|
|
50
56
|
style: {
|
|
51
57
|
border: 0
|
|
52
58
|
},
|
|
53
|
-
children: [/*#__PURE__*/_jsx(
|
|
59
|
+
children: [/*#__PURE__*/_jsx(FactorList, {
|
|
54
60
|
list: dataList_top,
|
|
55
61
|
style: {
|
|
56
62
|
background: 'unset'
|
|
@@ -61,7 +67,7 @@ export default function Chart(_ref) {
|
|
|
61
67
|
},
|
|
62
68
|
children: histogramList !== null && histogramList !== void 0 && histogramList.length ? /*#__PURE__*/_jsx(VmBarCharts, {
|
|
63
69
|
dataList: [{
|
|
64
|
-
name: '
|
|
70
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"),
|
|
65
71
|
data: histogramList.map(function (item) {
|
|
66
72
|
return "\u2000".concat(item.weight);
|
|
67
73
|
}),
|
|
@@ -73,15 +79,15 @@ export default function Chart(_ref) {
|
|
|
73
79
|
}),
|
|
74
80
|
yAxisList: [{
|
|
75
81
|
key: "\u2001",
|
|
76
|
-
unit: '
|
|
77
|
-
name: '
|
|
82
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
83
|
+
name: translateLocaleText("t('vtxccunitmodal.times2')")
|
|
78
84
|
}, {
|
|
79
85
|
key: "\u2000",
|
|
80
86
|
unit: unitStr,
|
|
81
87
|
name: "(".concat(unitStr, ")")
|
|
82
88
|
}],
|
|
83
89
|
lineList: [{
|
|
84
|
-
name: '
|
|
90
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.times')"),
|
|
85
91
|
data: histogramList.map(function (item) {
|
|
86
92
|
return "\u2001".concat(item.count);
|
|
87
93
|
}),
|
|
@@ -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 { JzljDfTpdContext } 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 FactorList, { EllipsisFactorName } 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(JzljDfTpdContext),
|
|
@@ -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('vtxjzljdftpdmodal.jointOrderCode')"), 'code', {
|
|
90
92
|
width: 120,
|
|
91
93
|
fixed: 'left',
|
|
92
94
|
ellipsis: true
|
|
93
|
-
}], ['
|
|
95
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.approvalCode')"), 'disposalCertificateInfoCode', {
|
|
94
96
|
width: 120,
|
|
95
97
|
ellipsis: true
|
|
96
|
-
}], ['
|
|
98
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.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('vtxjzljdftpdmodal.startPoint')"), 'startingPointName', {
|
|
112
114
|
width: 120,
|
|
113
115
|
ellipsis: true
|
|
114
|
-
}], ['
|
|
116
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.startPointDivision')"), 'startingPointDivisionName', {
|
|
115
117
|
width: 120,
|
|
116
118
|
ellipsis: true
|
|
117
|
-
}], ['
|
|
119
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.departureTime')"), 'stepOneOperateTime', {
|
|
118
120
|
width: 180
|
|
119
|
-
}], ['
|
|
121
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.unit')"), 'transportUnitName', {
|
|
120
122
|
width: 120,
|
|
121
123
|
ellipsis: true
|
|
122
|
-
}], ['
|
|
124
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.plateNumber')"), 'carCode', {
|
|
123
125
|
width: 120
|
|
124
|
-
}], ['
|
|
126
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.receivedTime')"), 'stepThreeOperateTime', {
|
|
125
127
|
width: 180
|
|
126
|
-
}], ['
|
|
128
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.constructionWasteCategory')"), 'garbageTypeName', {
|
|
127
129
|
width: 120
|
|
128
|
-
}], ["
|
|
130
|
+
}], ["".concat(translateLocaleText("t('vtxjzljdftpdmodal.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('vtxjzljdftpdmodal.jointOrderInfo')"),
|
|
140
142
|
src: "/jzlj/#/constructionJointOrder?id=".concat(record.id)
|
|
141
143
|
});
|
|
142
144
|
},
|
|
143
|
-
children: "
|
|
145
|
+
children: translateLocaleText("t('vtxjzljdftpdmodal.view')")
|
|
144
146
|
});
|
|
145
147
|
}
|
|
146
148
|
}]]).map(function (item) {
|
|
@@ -211,8 +213,10 @@ 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:
|
|
215
|
-
|
|
216
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
217
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.times2')")
|
|
218
|
+
}),
|
|
219
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
216
220
|
value: totalCount,
|
|
217
221
|
unitStyle: {
|
|
218
222
|
fontSize: 14
|
|
@@ -225,7 +229,9 @@ export default function Collection() {
|
|
|
225
229
|
img: isDark ? cc_dark : cc_light,
|
|
226
230
|
fontType: 'green'
|
|
227
231
|
}, {
|
|
228
|
-
name:
|
|
232
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
233
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.totalReceivedAmount')")
|
|
234
|
+
}),
|
|
229
235
|
unit: unitStr,
|
|
230
236
|
value: totalWeight,
|
|
231
237
|
unitStyle: {
|
|
@@ -240,7 +246,7 @@ export default function Collection() {
|
|
|
240
246
|
fontType: 'blue'
|
|
241
247
|
}];
|
|
242
248
|
var searchList = [{
|
|
243
|
-
title: '
|
|
249
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.disposalCertificateCode')"),
|
|
244
250
|
weight: 1,
|
|
245
251
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
246
252
|
style: {
|
|
@@ -254,7 +260,7 @@ export default function Collection() {
|
|
|
254
260
|
}
|
|
255
261
|
})
|
|
256
262
|
}, {
|
|
257
|
-
title: '
|
|
263
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.jointOrderCode')"),
|
|
258
264
|
weight: 1,
|
|
259
265
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
260
266
|
style: {
|
|
@@ -268,7 +274,7 @@ export default function Collection() {
|
|
|
268
274
|
}
|
|
269
275
|
})
|
|
270
276
|
}, {
|
|
271
|
-
title: '
|
|
277
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.startPoint')"),
|
|
272
278
|
weight: 1,
|
|
273
279
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
274
280
|
style: {
|
|
@@ -288,7 +294,7 @@ export default function Collection() {
|
|
|
288
294
|
return /*#__PURE__*/_jsx("div", {
|
|
289
295
|
className: "collection",
|
|
290
296
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
291
|
-
title: "
|
|
297
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.jointOrderOperation')"),
|
|
292
298
|
needChange: true,
|
|
293
299
|
activeKey: activeKey,
|
|
294
300
|
onChange: function onChange(key) {
|
|
@@ -338,15 +344,15 @@ export default function Collection() {
|
|
|
338
344
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
339
345
|
type: "primary",
|
|
340
346
|
onClick: submit,
|
|
341
|
-
children: "
|
|
347
|
+
children: translateLocaleText("t('_components.search')")
|
|
342
348
|
}), /*#__PURE__*/_jsx(Button, {
|
|
343
349
|
onClick: myReset,
|
|
344
|
-
children: "
|
|
350
|
+
children: translateLocaleText("t('vtxjzljdftpdmodal.reset')")
|
|
345
351
|
})]
|
|
346
352
|
})]
|
|
347
353
|
}), /*#__PURE__*/_jsx("div", {
|
|
348
354
|
className: "collection-myTable-total",
|
|
349
|
-
children: /*#__PURE__*/_jsx(
|
|
355
|
+
children: /*#__PURE__*/_jsx(FactorList, {
|
|
350
356
|
list: totalList,
|
|
351
357
|
style: {
|
|
352
358
|
background: 'unset',
|
|
@@ -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$startingPointAd;
|
|
92
93
|
if (item !== null && item !== void 0 && (_item$startingPointAd = item.startingPointAddress) !== null && _item$startingPointAd !== void 0 && _item$startingPointAd.lngLats) {
|
|
93
94
|
var _item$startingPointAd2, _turf$center;
|
|
@@ -161,7 +162,7 @@ export default function FlowMap(_ref) {
|
|
|
161
162
|
},
|
|
162
163
|
id: "end",
|
|
163
164
|
labelField: "name",
|
|
164
|
-
name: "
|
|
165
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.endPoint')"),
|
|
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: "start",
|
|
188
189
|
labelField: "name",
|
|
189
|
-
name: "
|
|
190
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.startPointShort')"),
|
|
190
191
|
legend: {
|
|
191
192
|
image: new MapIcon.Icon({
|
|
192
193
|
canvasIcon: 'AREA',
|