@vtx/modals2 5.0.59 → 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-empty/index.js +13 -11
- package/lib/_components/vm-factor/index.js +1 -0
- package/lib/_components/vm-factor/style/index.less +4 -0
- package/lib/_components/vm-filter/index.js +9 -12
- package/lib/_components/vm-info-collection/style/index.js +0 -1
- package/lib/_components/vm-map/index.js +18 -0
- package/lib/_components/vm-popover/index.js +11 -3
- package/lib/_components/vm-popover/index.less +4 -1
- package/lib/_components/vm-repair-maintain/RmInfoSummary.js +7 -6
- package/lib/_components/vm-repair-maintain/RmMonthTrend.js +3 -2
- package/lib/_components/vm-repair-maintain/RmRecord.js +9 -8
- package/lib/_components/vm-repair-maintain/RmType.js +5 -4
- package/lib/_components/vm-repair-maintain/index.js +4 -3
- package/lib/_components/vm-table/index.js +31 -24
- package/lib/_components/vm-tabs/index.js +26 -10
- package/lib/_components/vm-video/index.js +21 -21
- package/lib/_components/vm-wrapper/index.js +8 -4
- package/lib/_components/vm-wrapper/resource/ICON_CONFIG.js +1 -1
- package/lib/_util/http.js +4 -2
- package/lib/_util/setupDayjs.js +16 -0
- package/lib/hooks/useTranslation.js +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 +1 -0
- package/lib/vtx-base-modal/index.js +34 -3
- package/lib/vtx-base-modal/style/index.less +14 -1
- package/lib/vtx-car-modal/components/Info/index.js +37 -7
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +7 -6
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +22 -21
- package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +26 -25
- package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +15 -14
- package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +22 -21
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +13 -12
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +13 -12
- package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +16 -11
- package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +10 -7
- package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +13 -12
- package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +16 -15
- package/lib/vtx-car-modal/content/Common/Maintenance/index.js +23 -18
- package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +5 -4
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +7 -6
- package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +17 -15
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +10 -9
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +8 -7
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +9 -8
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +11 -10
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +8 -7
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +13 -12
- package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +44 -41
- package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +26 -20
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +18 -17
- package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +23 -22
- package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +41 -40
- package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +13 -12
- package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +21 -20
- package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +8 -7
- package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +26 -25
- package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +15 -9
- package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +20 -19
- package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +13 -12
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +6 -5
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +28 -27
- package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +23 -22
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +10 -9
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +13 -12
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +18 -17
- package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +15 -14
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +8 -7
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +12 -11
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +4 -3
- package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +18 -17
- package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +2 -1
- package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +8 -7
- package/lib/vtx-car-modal/index.js +25 -24
- package/lib/vtx-car-modal/style/index.js +1 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +28 -16
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +7 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +4 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +3 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +29 -34
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +25 -19
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +4 -3
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +21 -17
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +8 -7
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +34 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +4 -3
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +7 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +4 -3
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +33 -35
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +3 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +23 -13
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +2 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +25 -17
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/index.js +2 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +11 -7
- package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +3 -2
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +13 -9
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +13 -9
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +7 -6
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +13 -9
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +11 -7
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +14 -13
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +13 -9
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +15 -11
- package/lib/vtx-cc-unit-modal/index.js +17 -10
- package/lib/vtx-cp-modal/api.js +6 -5
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +4 -3
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +6 -5
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +9 -8
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +3 -2
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +10 -9
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +5 -4
- package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +10 -9
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +4 -3
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +6 -5
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +5 -4
- package/lib/vtx-cp-modal/components/SyInfo/index.js +20 -19
- package/lib/vtx-cp-modal/index.js +5 -4
- package/lib/vtx-default-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-default-modal/index.js +4 -3
- package/lib/vtx-default-modal/style/index.js +0 -1
- package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +4 -3
- package/lib/vtx-device-modal/components/BaseInfo/index.js +13 -12
- package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +15 -14
- package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +21 -20
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +15 -0
- package/lib/vtx-device-modal/index.js +6 -3
- package/lib/vtx-device-modal/style/index.less +32 -0
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +12 -7
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfo/index.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +12 -7
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +4 -3
- package/lib/vtx-df-modal/components/Calendar/index.js +7 -6
- package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +7 -6
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +10 -8
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +6 -5
- package/lib/vtx-df-modal/components/Metering/List.js +12 -10
- package/lib/vtx-df-modal/components/Metering/index.js +11 -10
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +10 -8
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +6 -6
- package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +12 -10
- package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +11 -10
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -1
- package/lib/vtx-df-modal/components/WorkCondition/Table.js +4 -3
- package/lib/vtx-df-modal/components/WorkCondition/index.js +9 -4
- package/lib/vtx-df-modal/index.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +7 -6
- package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +5 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +8 -7
- package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +6 -5
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +9 -8
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +5 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +5 -4
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +7 -5
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +14 -13
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +12 -11
- package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +20 -17
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +55 -52
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +3 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +2 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +6 -5
- package/lib/vtx-housing-estate-modal/config.js +10 -10
- package/lib/vtx-housing-estate-modal/index.js +6 -5
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +15 -9
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +31 -25
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +32 -24
- package/lib/vtx-jzlj-df-tpd-modal/components/FactorList.js +38 -0
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +16 -10
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +16 -8
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +5 -4
- package/lib/vtx-jzlj-df-tpd-modal/index.js +8 -5
- package/lib/vtx-jzlj-df-tpd-modal/style/index.less +22 -0
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +41 -40
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +16 -15
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +10 -8
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +26 -24
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +26 -24
- package/lib/vtx-jzlj-gcxm-modal/components/FactorList.js +41 -0
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/index.js +10 -6
- package/lib/vtx-jzlj-gcxm-modal/style/index.less +45 -0
- package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +11 -9
- package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +27 -25
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +26 -24
- package/lib/vtx-jzlj-xnc-modal/components/FactorList.js +41 -0
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +12 -10
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +13 -11
- package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +24 -13
- package/lib/vtx-jzlj-xnc-modal/index.js +9 -5
- package/lib/vtx-jzlj-xnc-modal/style/index.less +46 -0
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +29 -12
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.less +21 -0
- package/lib/vtx-jzlj-ysqy-modal/index.js +6 -2
- package/lib/vtx-kh-modal/api2.js +10 -9
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +21 -23
- package/lib/vtx-kh-modal/components/Record/index.js +18 -17
- package/lib/vtx-kh-modal/index.js +3 -2
- package/lib/vtx-kh-modal/style/index.js +0 -1
- package/lib/vtx-qyry-modal/api.js +8 -7
- package/lib/vtx-qyry-modal/index.js +17 -16
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +18 -9
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +7 -2
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +4 -3
- package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +3 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -1
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +11 -7
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +4 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +3 -2
- package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +3 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js +5 -4
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +24 -23
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +11 -10
- package/lib/vtx-restaurant-modal/config.js +42 -43
- package/lib/vtx-restaurant-modal/index.js +16 -7
- package/lib/vtx-road-modal/api.js +14 -13
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +6 -2
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +26 -21
- package/lib/vtx-road-modal/components/BaseInfo/index.js +7 -5
- package/lib/vtx-road-modal/components/BaseInfo/index.less +37 -0
- package/lib/vtx-road-modal/components/Calendar/index.js +5 -4
- package/lib/vtx-road-modal/components/LaneBaseInfo/Rules.js +6 -3
- package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +25 -20
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +5 -3
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.less +42 -0
- package/lib/vtx-road-modal/components/LaneCalendar/index.js +7 -6
- package/lib/vtx-road-modal/components/LaneStatistical/index.js +37 -24
- package/lib/vtx-road-modal/components/LaneStatistical/index.less +8 -0
- package/lib/vtx-road-modal/components/Statistical/index.js +36 -23
- package/lib/vtx-road-modal/components/Statistical/index.less +8 -0
- package/lib/vtx-road-modal/index.js +30 -21
- package/lib/vtx-road-modal/style/index.js +1 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +7 -6
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +4 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +8 -7
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +6 -5
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +9 -8
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +4 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +14 -12
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +14 -13
- package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +12 -11
- package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +11 -10
- package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +13 -12
- package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +2 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +2 -1
- package/lib/vtx-sdyd-tfd-modal/config.js +6 -6
- package/lib/vtx-sdyd-tfd-modal/index.js +7 -6
- package/lib/vtx-shxq-modal/api.js +9 -8
- package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +8 -7
- package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +12 -11
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-shxq-modal/components/Tfd/index.js +7 -6
- package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +2 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +4 -3
- package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +6 -5
- package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +15 -14
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +10 -9
- package/lib/vtx-shxq-modal/index.js +6 -5
- package/lib/vtx-staff-modal/api.js +8 -7
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +6 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +8 -7
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +5 -4
- package/lib/vtx-staff-modal/components/Attendance/Record.js +22 -20
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +8 -7
- package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +13 -11
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +9 -8
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +7 -6
- package/lib/vtx-staff-modal/components/Calendar/index.js +8 -7
- package/lib/vtx-staff-modal/components/Equipment/index.js +23 -22
- package/lib/vtx-staff-modal/index.js +6 -5
- package/lib/vtx-tfd-modal/api.js +7 -6
- package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +6 -5
- package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +4 -3
- package/lib/vtx-tfd-modal/components/BaseInfo/index.js +17 -17
- package/lib/vtx-tfd-modal/index.js +4 -4
- package/lib/vtx-wr-modal/components/Appraise/index.js +18 -18
- package/lib/vtx-wr-modal/components/Base/Jbxx.js +15 -16
- package/lib/vtx-wr-modal/components/Base/Ptss.js +17 -16
- package/lib/vtx-wr-modal/components/Base/Sjjg.js +12 -9
- package/lib/vtx-wr-modal/components/Base/index.js +14 -14
- package/lib/vtx-wr-modal/components/Build/index.js +6 -5
- package/lib/vtx-wr-modal/components/File/index.js +12 -15
- package/lib/vtx-wr-modal/components/File/index.less +8 -3
- package/lib/vtx-wr-modal/components/Score/index.js +20 -27
- package/lib/vtx-wr-modal/components/Score/index.less +49 -26
- package/lib/vtx-wr-modal/index.js +5 -2
- package/lib/vtx-wr-modal/style/index.js +0 -1
- package/lib/vtx-zf-modal/components/Base/index.js +37 -36
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +22 -21
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +9 -7
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +27 -27
- package/lib/vtx-zf-modal/components/File/index.js +15 -14
- package/lib/vtx-zf-modal/components/Process/index.js +17 -17
- package/lib/vtx-zf-modal/components/Record/index.js +9 -8
- package/lib/vtx-zf-modal/components/Right/index.js +7 -7
- package/lib/vtx-zf-modal/style/index.js +0 -1
- package/lib/vtx-zg-modal/api.js +13 -12
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +52 -35
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +48 -1
- package/lib/vtx-zg-modal/index.js +2 -1
- package/lib/vtx-zzz-modal/index.js +2 -1
- package/package.json +30 -19
|
@@ -18,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',
|
|
@@ -18,7 +18,7 @@ import { useAntdTable, useSetState } from 'ahooks';
|
|
|
18
18
|
import { Button } from 'antd';
|
|
19
19
|
import React 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 { disposeApis, fetchJzljEnum, getByParamTypeCode, overviewApis, useCzzFields, useUnit } from "../../api";
|
|
24
24
|
import FlowMap from "./FlowMap";
|
|
@@ -29,6 +29,8 @@ import dispose_syl_dark from "../../imgs/dispose_syl_dark.png";
|
|
|
29
29
|
import dispose_syl_light from "../../imgs/dispose_syl_light.png";
|
|
30
30
|
import dispose_zyyl_dark from "../../imgs/dispose_zyyl_dark.png";
|
|
31
31
|
import dispose_zyyl_light from "../../imgs/dispose_zyyl_light.png";
|
|
32
|
+
import FactorList, { EllipsisFactorName } from "../FactorList";
|
|
33
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
32
34
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
33
35
|
export default function Dispose() {
|
|
34
36
|
var _React$useContext = React.useContext(JzljDfTpdContext),
|
|
@@ -85,23 +87,23 @@ export default function Dispose() {
|
|
|
85
87
|
ellipsis: true,
|
|
86
88
|
align: item.dataShowKey === 'transportWeight' ? 'right' : 'left'
|
|
87
89
|
}];
|
|
88
|
-
}) : [['
|
|
90
|
+
}) : [[translateLocaleText("t('vtxjzljdftpdmodal.unit')"), 'transportUnitName', {
|
|
89
91
|
width: 160,
|
|
90
92
|
ellipsis: true
|
|
91
|
-
}], ['
|
|
93
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.startPoint')"), 'startingPointName', {
|
|
92
94
|
width: 160,
|
|
93
95
|
ellipsis: true
|
|
94
|
-
}], ['
|
|
96
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.garbageType')"), 'garbageTypeName', {
|
|
95
97
|
width: 100
|
|
96
|
-
}], ["
|
|
98
|
+
}], ["".concat(translateLocaleText("t('vtxjzljdftpdmodal.transportWeight')"), "(").concat(unitStr, ")"), 'transportWeight', {
|
|
97
99
|
width: 80,
|
|
98
100
|
align: 'right'
|
|
99
|
-
}], ['
|
|
101
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.effectiveDate')"), 'effectiveDate', {
|
|
100
102
|
width: 150
|
|
101
|
-
}], ['
|
|
103
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.transportVehicles')"), 'effectiveCarCount', {
|
|
102
104
|
width: 100,
|
|
103
105
|
align: 'right'
|
|
104
|
-
}], ['
|
|
106
|
+
}], [translateLocaleText("t('vtxjzljdftpdmodal.status')"), 'effectiveStatusName', {
|
|
105
107
|
width: 100,
|
|
106
108
|
render: function render(text, record) {
|
|
107
109
|
var colorMap = {
|
|
@@ -116,18 +118,18 @@ export default function Dispose() {
|
|
|
116
118
|
type: color
|
|
117
119
|
});
|
|
118
120
|
}
|
|
119
|
-
}]]), [['
|
|
121
|
+
}]]), [[translateLocaleText("t('common.action')"), 'action', {
|
|
120
122
|
width: 60,
|
|
121
123
|
render: function render(_, record) {
|
|
122
124
|
return /*#__PURE__*/_jsx("a", {
|
|
123
125
|
onClick: function onClick() {
|
|
124
126
|
setIframeModalInfo({
|
|
125
127
|
visible: true,
|
|
126
|
-
title: '
|
|
128
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.disposalCertificateInfo')"),
|
|
127
129
|
src: "/jzlj/#/disposalApprovalFill?id=".concat(record.id, "&effectiveStatusCode=").concat(record.effectiveStatusCode)
|
|
128
130
|
});
|
|
129
131
|
},
|
|
130
|
-
children: "
|
|
132
|
+
children: translateLocaleText("t('vtxjzljdftpdmodal.view')")
|
|
131
133
|
});
|
|
132
134
|
}
|
|
133
135
|
}]]).map(function (item) {
|
|
@@ -200,8 +202,10 @@ export default function Dispose() {
|
|
|
200
202
|
var _ctlData$totalWeight = ctlData.totalWeight,
|
|
201
203
|
totalWeight = _ctlData$totalWeight === void 0 ? 0 : _ctlData$totalWeight;
|
|
202
204
|
var totalList = [{
|
|
203
|
-
name:
|
|
204
|
-
|
|
205
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
206
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.quantity')")
|
|
207
|
+
}),
|
|
208
|
+
unit: translateLocaleText("t('vtxjzljdftpdmodal.sheetUnit')"),
|
|
205
209
|
value: totalCzzCount,
|
|
206
210
|
unitStyle: {
|
|
207
211
|
fontSize: 14
|
|
@@ -214,7 +218,9 @@ export default function Dispose() {
|
|
|
214
218
|
img: isDark ? dispose_czz_dark : dispose_czz_light,
|
|
215
219
|
fontType: 'blue'
|
|
216
220
|
}, {
|
|
217
|
-
name:
|
|
221
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
222
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.totalTransportedAmount')")
|
|
223
|
+
}),
|
|
218
224
|
unit: unitStr,
|
|
219
225
|
value: yysWeight,
|
|
220
226
|
unitStyle: {
|
|
@@ -228,7 +234,9 @@ export default function Dispose() {
|
|
|
228
234
|
img: isDark ? dispose_zyyl_dark : dispose_zyyl_light,
|
|
229
235
|
fontType: 'purple'
|
|
230
236
|
}, {
|
|
231
|
-
name:
|
|
237
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
238
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.remainingAmount')")
|
|
239
|
+
}),
|
|
232
240
|
unit: unitStr,
|
|
233
241
|
value: syWeight,
|
|
234
242
|
unitStyle: {
|
|
@@ -243,7 +251,7 @@ export default function Dispose() {
|
|
|
243
251
|
fontType: 'yellow'
|
|
244
252
|
}];
|
|
245
253
|
var searchList = [{
|
|
246
|
-
title: '
|
|
254
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.unit')"),
|
|
247
255
|
weight: 1,
|
|
248
256
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
249
257
|
style: {
|
|
@@ -257,7 +265,7 @@ export default function Dispose() {
|
|
|
257
265
|
}
|
|
258
266
|
})
|
|
259
267
|
}, {
|
|
260
|
-
title: '
|
|
268
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.startPoint')"),
|
|
261
269
|
weight: 1,
|
|
262
270
|
dom: /*#__PURE__*/_jsx(VmFilter.VMInput, {
|
|
263
271
|
style: {
|
|
@@ -271,7 +279,7 @@ export default function Dispose() {
|
|
|
271
279
|
}
|
|
272
280
|
})
|
|
273
281
|
}, {
|
|
274
|
-
title: '
|
|
282
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.status')"),
|
|
275
283
|
weight: 1,
|
|
276
284
|
dom: /*#__PURE__*/_jsx(VmFilter.VMSelect, {
|
|
277
285
|
options: effectiveStatusList.map(function (item) {
|
|
@@ -283,7 +291,7 @@ export default function Dispose() {
|
|
|
283
291
|
style: {
|
|
284
292
|
width: 120
|
|
285
293
|
},
|
|
286
|
-
placeholder: "
|
|
294
|
+
placeholder: translateLocaleText("t('common.placeholder.select')"),
|
|
287
295
|
value: effectiveStatusCode,
|
|
288
296
|
allowClear: true,
|
|
289
297
|
onChange: function onChange(val) {
|
|
@@ -293,7 +301,7 @@ export default function Dispose() {
|
|
|
293
301
|
}
|
|
294
302
|
})
|
|
295
303
|
}, {
|
|
296
|
-
title: '
|
|
304
|
+
title: translateLocaleText("t('vtxjzljysqymodal.type')"),
|
|
297
305
|
weight: 1,
|
|
298
306
|
dom: /*#__PURE__*/_jsx(VmFilter.VMSelect, {
|
|
299
307
|
options: garbageTypeList.map(function (item) {
|
|
@@ -305,7 +313,7 @@ export default function Dispose() {
|
|
|
305
313
|
style: {
|
|
306
314
|
width: 120
|
|
307
315
|
},
|
|
308
|
-
placeholder: "
|
|
316
|
+
placeholder: translateLocaleText("t('common.placeholder.select')"),
|
|
309
317
|
value: garbageTypeCode,
|
|
310
318
|
onChange: function onChange(val) {
|
|
311
319
|
setState({
|
|
@@ -351,7 +359,7 @@ export default function Dispose() {
|
|
|
351
359
|
contentStyle: {
|
|
352
360
|
padding: 0
|
|
353
361
|
},
|
|
354
|
-
children: /*#__PURE__*/_jsx(
|
|
362
|
+
children: /*#__PURE__*/_jsx(FactorList, {
|
|
355
363
|
list: totalList,
|
|
356
364
|
style: {
|
|
357
365
|
background: 'unset',
|
|
@@ -388,10 +396,10 @@ export default function Dispose() {
|
|
|
388
396
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
389
397
|
type: "primary",
|
|
390
398
|
onClick: submit,
|
|
391
|
-
children: "
|
|
399
|
+
children: translateLocaleText("t('_components.search')")
|
|
392
400
|
}), /*#__PURE__*/_jsx(Button, {
|
|
393
401
|
onClick: myReset,
|
|
394
|
-
children: "
|
|
402
|
+
children: translateLocaleText("t('vtxjzljdftpdmodal.reset')")
|
|
395
403
|
})]
|
|
396
404
|
})]
|
|
397
405
|
})
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import classNames from 'classnames';
|
|
8
|
+
import useSettings from "../../_hooks/useSettings";
|
|
9
|
+
import VmFactor from "../../_components/vm-factor";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
import { createElement as _createElement } from "react";
|
|
12
|
+
export function EllipsisFactorName(_ref) {
|
|
13
|
+
var text = _ref.text;
|
|
14
|
+
return /*#__PURE__*/_jsx("div", {
|
|
15
|
+
title: text,
|
|
16
|
+
className: "jzlj-df-tpd-factor-name",
|
|
17
|
+
children: text
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export default function FactorList(_ref2) {
|
|
21
|
+
var _ref2$list = _ref2.list,
|
|
22
|
+
list = _ref2$list === void 0 ? [] : _ref2$list,
|
|
23
|
+
_ref2$style = _ref2.style,
|
|
24
|
+
style = _ref2$style === void 0 ? {} : _ref2$style;
|
|
25
|
+
var _useSettings = useSettings(),
|
|
26
|
+
isDark = _useSettings.isDark;
|
|
27
|
+
return /*#__PURE__*/_jsx("div", {
|
|
28
|
+
className: classNames('vm-factor-list-wrap', {
|
|
29
|
+
dark: isDark
|
|
30
|
+
}),
|
|
31
|
+
style: style,
|
|
32
|
+
children: list.map(function (item, index) {
|
|
33
|
+
return /*#__PURE__*/_createElement(VmFactor, _objectSpread(_objectSpread({}, item), {}, {
|
|
34
|
+
key: item.key || index
|
|
35
|
+
}));
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -10,6 +10,7 @@ import { VmEmpty, VmPieCharts, VmWrapper } from "../../../_components";
|
|
|
10
10
|
import useSettings from "../../../_hooks/useSettings";
|
|
11
11
|
import { overviewApis } from "../../api";
|
|
12
12
|
import "./index.less";
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
13
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
15
|
export default function CZZ(_ref) {
|
|
15
16
|
var unitStr = _ref.unitStr;
|
|
@@ -35,11 +36,11 @@ export default function CZZ(_ref) {
|
|
|
35
36
|
return /*#__PURE__*/_jsx("div", {
|
|
36
37
|
className: "df-tpd-overview-right-top-right ".concat(theme),
|
|
37
38
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
38
|
-
title: "
|
|
39
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.receivedAmountInfo')"),
|
|
39
40
|
children: (dataList === null || dataList === void 0 ? void 0 : dataList.length) > 0 ? /*#__PURE__*/_jsx(VmPieCharts, {
|
|
40
41
|
dataList: dataList,
|
|
41
|
-
name: "
|
|
42
|
-
title: "
|
|
42
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.todayReceivedAmount')"),
|
|
43
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.todayTotalAmount')"),
|
|
43
44
|
subTitle: "(".concat(unitStr, ")"),
|
|
44
45
|
total: totalWeight,
|
|
45
46
|
loading: loading,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { JzljDfTpdContext } from "../..";
|
|
3
|
-
import { VmBarCharts, VmEmpty,
|
|
3
|
+
import { VmBarCharts, VmEmpty, VmWrapper } from "../../../_components";
|
|
4
4
|
import useSettings from "../../../_hooks/useSettings";
|
|
5
5
|
import { overviewApis } from "../../api";
|
|
6
6
|
import "./index.less";
|
|
@@ -8,6 +8,8 @@ import overview_ctyl_pjrcc_dark from "../../imgs/overview_ctyl_pjrcc_dark.png";
|
|
|
8
8
|
import overview_ctyl_pjrcc_light from "../../imgs/overview_ctyl_pjrcc_light.png";
|
|
9
9
|
import overview_ctyl_pjryl_dark from "../../imgs/overview_ctyl_pjryl_dark.png";
|
|
10
10
|
import overview_ctyl_pjryl_light from "../../imgs/overview_ctyl_pjryl_light.png";
|
|
11
|
+
import FactorList, { EllipsisFactorName } from "../FactorList";
|
|
12
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
11
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
14
|
export default function CZZ(_ref) {
|
|
13
15
|
var unitStr = _ref.unitStr;
|
|
@@ -26,7 +28,9 @@ export default function CZZ(_ref) {
|
|
|
26
28
|
_data$histogramList = data.histogramList,
|
|
27
29
|
histogramList = _data$histogramList === void 0 ? [] : _data$histogramList;
|
|
28
30
|
var dataList_top = [{
|
|
29
|
-
name:
|
|
31
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
32
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.day')")
|
|
33
|
+
}),
|
|
30
34
|
unit: unitStr,
|
|
31
35
|
value: avgDayWeight,
|
|
32
36
|
img: isDark ? overview_ctyl_pjryl_dark : overview_ctyl_pjryl_light,
|
|
@@ -39,8 +43,10 @@ export default function CZZ(_ref) {
|
|
|
39
43
|
justifyContent: 'center'
|
|
40
44
|
}
|
|
41
45
|
}, {
|
|
42
|
-
name:
|
|
43
|
-
|
|
46
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
47
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.dayTimes')")
|
|
48
|
+
}),
|
|
49
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
44
50
|
value: avgDayCount,
|
|
45
51
|
img: isDark ? overview_ctyl_pjrcc_dark : overview_ctyl_pjrcc_light,
|
|
46
52
|
fontType: 'blue',
|
|
@@ -53,8 +59,8 @@ export default function CZZ(_ref) {
|
|
|
53
59
|
}
|
|
54
60
|
}];
|
|
55
61
|
return /*#__PURE__*/_jsxs(VmWrapper, {
|
|
56
|
-
title: "
|
|
57
|
-
children: [/*#__PURE__*/_jsx(
|
|
62
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.7Day')"),
|
|
63
|
+
children: [/*#__PURE__*/_jsx(FactorList, {
|
|
58
64
|
list: dataList_top,
|
|
59
65
|
style: {
|
|
60
66
|
background: 'unset'
|
|
@@ -65,7 +71,7 @@ export default function CZZ(_ref) {
|
|
|
65
71
|
},
|
|
66
72
|
children: histogramList !== null && histogramList !== void 0 && histogramList.length ? /*#__PURE__*/_jsx(VmBarCharts, {
|
|
67
73
|
dataList: [{
|
|
68
|
-
name: '
|
|
74
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.transportAmount')"),
|
|
69
75
|
data: histogramList.map(function (item) {
|
|
70
76
|
return "\u2000".concat(item.weight);
|
|
71
77
|
}),
|
|
@@ -77,15 +83,15 @@ export default function CZZ(_ref) {
|
|
|
77
83
|
}),
|
|
78
84
|
yAxisList: [{
|
|
79
85
|
key: "\u2001",
|
|
80
|
-
unit: '
|
|
81
|
-
name: '
|
|
86
|
+
unit: translateLocaleText("t('common.timesUnit')"),
|
|
87
|
+
name: translateLocaleText("t('vtxccunitmodal.times2')")
|
|
82
88
|
}, {
|
|
83
89
|
key: "\u2000",
|
|
84
90
|
unit: unitStr,
|
|
85
91
|
name: "(".concat(unitStr, ")")
|
|
86
92
|
}],
|
|
87
93
|
lineList: [{
|
|
88
|
-
name: '
|
|
94
|
+
name: translateLocaleText("t('vtxjzljdftpdmodal.times')"),
|
|
89
95
|
data: histogramList.map(function (item) {
|
|
90
96
|
return "\u2001".concat(item.count);
|
|
91
97
|
}),
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { JzljDfTpdContext } from "../..";
|
|
3
|
-
import {
|
|
3
|
+
import { VmWrapper } from "../../../_components";
|
|
4
4
|
import useSettings from "../../../_hooks/useSettings";
|
|
5
5
|
import { overviewApis } from "../../api";
|
|
6
6
|
import "./index.less";
|
|
7
7
|
import overview_czz_zl_dark from "../../imgs/overview_czz_zl_dark.png";
|
|
8
8
|
import overview_czz_zs_light from "../../imgs/overview_czz_zs_light.png";
|
|
9
|
+
import FactorList, { EllipsisFactorName } from "../FactorList";
|
|
10
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
9
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
12
|
export default function CZZ(_ref) {
|
|
11
13
|
var unitStr = _ref.unitStr;
|
|
@@ -27,8 +29,10 @@ export default function CZZ(_ref) {
|
|
|
27
29
|
_data$syWeight = data.syWeight,
|
|
28
30
|
syWeight = _data$syWeight === void 0 ? 0 : _data$syWeight;
|
|
29
31
|
var dataList_top = [{
|
|
30
|
-
name:
|
|
31
|
-
|
|
32
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
33
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.quantity2')")
|
|
34
|
+
}),
|
|
35
|
+
unit: translateLocaleText("t('vtxjzljdftpdmodal.sheetUnit')"),
|
|
32
36
|
value: totalCzzCount,
|
|
33
37
|
img: isDark ? overview_czz_zl_dark : overview_czz_zs_light,
|
|
34
38
|
fontType: 'blue',
|
|
@@ -37,7 +41,9 @@ export default function CZZ(_ref) {
|
|
|
37
41
|
}
|
|
38
42
|
}];
|
|
39
43
|
var dataList_yssy = [{
|
|
40
|
-
name:
|
|
44
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
45
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.transportedAmount')")
|
|
46
|
+
}),
|
|
41
47
|
unit: unitStr,
|
|
42
48
|
value: yysWeight,
|
|
43
49
|
unitStyle: {
|
|
@@ -49,7 +55,9 @@ export default function CZZ(_ref) {
|
|
|
49
55
|
textAlign: 'center'
|
|
50
56
|
}
|
|
51
57
|
}, {
|
|
52
|
-
name:
|
|
58
|
+
name: /*#__PURE__*/_jsx(EllipsisFactorName, {
|
|
59
|
+
text: translateLocaleText("t('vtxjzljdftpdmodal.remainingAmount')")
|
|
60
|
+
}),
|
|
53
61
|
unit: unitStr,
|
|
54
62
|
value: syWeight,
|
|
55
63
|
unitStyle: {
|
|
@@ -64,18 +72,18 @@ export default function CZZ(_ref) {
|
|
|
64
72
|
return /*#__PURE__*/_jsx("div", {
|
|
65
73
|
className: "df-tpd-overview-right-top-left ".concat(theme),
|
|
66
74
|
children: /*#__PURE__*/_jsx(VmWrapper, {
|
|
67
|
-
title: "
|
|
75
|
+
title: translateLocaleText("t('vtxjzljdftpdmodal.disposalCertificateInfo')"),
|
|
68
76
|
children: /*#__PURE__*/_jsxs("div", {
|
|
69
77
|
className: "df-tpd-overview-right-top-left-czz",
|
|
70
78
|
children: [/*#__PURE__*/_jsx("div", {
|
|
71
79
|
className: "df-tpd-overview-right-top-left-czz-top",
|
|
72
|
-
children: /*#__PURE__*/_jsx(
|
|
80
|
+
children: /*#__PURE__*/_jsx(FactorList, {
|
|
73
81
|
list: dataList_top,
|
|
74
82
|
style: {
|
|
75
83
|
justifyContent: 'center'
|
|
76
84
|
}
|
|
77
85
|
})
|
|
78
|
-
}), /*#__PURE__*/_jsx(
|
|
86
|
+
}), /*#__PURE__*/_jsx(FactorList, {
|
|
79
87
|
list: dataList_yssy,
|
|
80
88
|
style: {
|
|
81
89
|
background: 'unset'
|
|
@@ -12,6 +12,7 @@ import CTL from "./CTL";
|
|
|
12
12
|
import CTYL from "./CTYL";
|
|
13
13
|
import CZZ from "./CZZ";
|
|
14
14
|
import "./index.less";
|
|
15
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
15
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
17
|
export default function Overview() {
|
|
17
18
|
var _React$useContext = React.useContext(JzljDfTpdContext),
|
|
@@ -27,13 +28,13 @@ export default function Overview() {
|
|
|
27
28
|
var _overviewApis$useJcss = overviewApis.useJcssBubble(id),
|
|
28
29
|
jcssBubbleData = _overviewApis$useJcss.jcssBubbleData;
|
|
29
30
|
var infoData = [{
|
|
30
|
-
label: '
|
|
31
|
+
label: translateLocaleText("t('vtxkhmodal.name')"),
|
|
31
32
|
value: name
|
|
32
33
|
}, {
|
|
33
|
-
label: '
|
|
34
|
+
label: translateLocaleText("t('vtxjzljdftpdmodal.category')"),
|
|
34
35
|
value: facilityClassName
|
|
35
36
|
}, {
|
|
36
|
-
label: '
|
|
37
|
+
label: translateLocaleText("t('vtxccunitmodal.address')"),
|
|
37
38
|
value: address
|
|
38
39
|
}];
|
|
39
40
|
for (var key in jcssBubbleData === null || jcssBubbleData === void 0 ? void 0 : jcssBubbleData.otherWeight) {
|
|
@@ -71,7 +72,7 @@ export default function Overview() {
|
|
|
71
72
|
children: [/*#__PURE__*/_jsx("div", {
|
|
72
73
|
className: "df-tpd-overview-left",
|
|
73
74
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
74
|
-
title: "
|
|
75
|
+
title: translateLocaleText("t('vtxdefaultmodal.basicInformation')"),
|
|
75
76
|
children: [/*#__PURE__*/_jsx(VmInfoCollection, {
|
|
76
77
|
width: '100%',
|
|
77
78
|
data: infoData
|