@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
|
@@ -3,7 +3,18 @@ import { VmInfoCollection, VmMap, VmWrapper } from "../../../_components";
|
|
|
3
3
|
import useSettings from "../../../_hooks/useSettings";
|
|
4
4
|
import { BaseService } from "../../api";
|
|
5
5
|
import "./index.less";
|
|
6
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
6
7
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
8
|
+
var EllipsisDiv = function EllipsisDiv(_ref) {
|
|
9
|
+
var children = _ref.children,
|
|
10
|
+
_ref$className = _ref.className,
|
|
11
|
+
className = _ref$className === void 0 ? '' : _ref$className;
|
|
12
|
+
return /*#__PURE__*/_jsx("div", {
|
|
13
|
+
className: className,
|
|
14
|
+
title: children,
|
|
15
|
+
children: children
|
|
16
|
+
});
|
|
17
|
+
};
|
|
7
18
|
var BaseInfo = function BaseInfo(props) {
|
|
8
19
|
var _useSettings = useSettings(),
|
|
9
20
|
isDark = _useSettings.isDark;
|
|
@@ -46,7 +57,7 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
46
57
|
}), /*#__PURE__*/_jsx("div", {
|
|
47
58
|
className: "zg-base-left",
|
|
48
59
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
49
|
-
title: "
|
|
60
|
+
title: translateLocaleText("t('vtxzgmodal.eventDescription')"),
|
|
50
61
|
children: [/*#__PURE__*/_jsx(VmInfoCollection, {
|
|
51
62
|
data: baseInfo,
|
|
52
63
|
horizontal: true,
|
|
@@ -65,17 +76,17 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
65
76
|
}), /*#__PURE__*/_jsx("div", {
|
|
66
77
|
className: "zg-base-right",
|
|
67
78
|
children: /*#__PURE__*/_jsxs(VmWrapper, {
|
|
68
|
-
title: "
|
|
79
|
+
title: translateLocaleText("t('vtxzgmodal.rectificationProcess')"),
|
|
69
80
|
children: [/*#__PURE__*/_jsx("div", {
|
|
70
81
|
className: "zg-base-process ".concat(isDark ? 'dark' : ''),
|
|
71
82
|
children: [{
|
|
72
|
-
title: '
|
|
83
|
+
title: translateLocaleText("t('vtxzgmodal.dispatch')"),
|
|
73
84
|
key: '1'
|
|
74
85
|
}, {
|
|
75
|
-
title: '
|
|
86
|
+
title: translateLocaleText("t('vtxzgmodal.process')"),
|
|
76
87
|
key: '2'
|
|
77
88
|
}, {
|
|
78
|
-
title: '
|
|
89
|
+
title: translateLocaleText("t('vtxzgmodal.finish')"),
|
|
79
90
|
key: '3'
|
|
80
91
|
}].map(function (ele, index) {
|
|
81
92
|
var isDone = getStep() >= index;
|
|
@@ -84,7 +95,7 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
84
95
|
children: [/*#__PURE__*/_jsx("div", {
|
|
85
96
|
className: "zg-base-process-item-order ".concat(isDone ? 'active' : ''),
|
|
86
97
|
children: index + 1
|
|
87
|
-
}), /*#__PURE__*/_jsx(
|
|
98
|
+
}), /*#__PURE__*/_jsx(EllipsisDiv, {
|
|
88
99
|
className: "zg-base-process-item-title ".concat(isDone ? 'active' : ''),
|
|
89
100
|
children: ele.title
|
|
90
101
|
}), index < records.length && /*#__PURE__*/_jsx("div", {
|
|
@@ -105,10 +116,12 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
105
116
|
className: "zg-p-list-item-head-title",
|
|
106
117
|
children: [/*#__PURE__*/_jsx("img", {
|
|
107
118
|
src: require("../../imgs/dot".concat(isDone ? '_done' : '', ".png"))
|
|
108
|
-
}), /*#__PURE__*/_jsx(
|
|
119
|
+
}), /*#__PURE__*/_jsx(EllipsisDiv, {
|
|
120
|
+
className: "zg-p-list-item-head-title-text",
|
|
109
121
|
children: ele.processTypeStr
|
|
110
122
|
})]
|
|
111
|
-
}), /*#__PURE__*/_jsx(
|
|
123
|
+
}), /*#__PURE__*/_jsx(EllipsisDiv, {
|
|
124
|
+
className: "zg-p-list-item-head-time",
|
|
112
125
|
children: ele.processTimeStr
|
|
113
126
|
})]
|
|
114
127
|
}), /*#__PURE__*/_jsxs("div", {
|
|
@@ -119,7 +132,11 @@ var BaseInfo = function BaseInfo(props) {
|
|
|
119
132
|
background: 'unset'
|
|
120
133
|
} : {}
|
|
121
134
|
}), /*#__PURE__*/_jsxs("div", {
|
|
122
|
-
|
|
135
|
+
className: "zg-p-list-item-content-main",
|
|
136
|
+
children: [/*#__PURE__*/_jsx(EllipsisDiv, {
|
|
137
|
+
className: "zg-p-list-item-content-text",
|
|
138
|
+
children: ele.processContent
|
|
139
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
123
140
|
className: "zg-p-list-item-content-bg",
|
|
124
141
|
children: getBaseShow(ele.processType, detailObj)
|
|
125
142
|
})]
|
|
@@ -139,7 +156,7 @@ function getBaseShow(type, detailObj) {
|
|
|
139
156
|
case 'Xj':
|
|
140
157
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
141
158
|
data: [{
|
|
142
|
-
label: '
|
|
159
|
+
label: translateLocaleText("t('vtxzgmodal.photo')"),
|
|
143
160
|
key: 'photos',
|
|
144
161
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.photos,
|
|
145
162
|
componentType: 'IMAGE'
|
|
@@ -151,19 +168,19 @@ function getBaseShow(type, detailObj) {
|
|
|
151
168
|
case 'Pf':
|
|
152
169
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
153
170
|
data: [{
|
|
154
|
-
label: '
|
|
171
|
+
label: translateLocaleText("t('vtxzgmodal.unit')"),
|
|
155
172
|
key: 'responsibleUnitName',
|
|
156
173
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.responsibleUnitName
|
|
157
174
|
}, {
|
|
158
|
-
label: '
|
|
175
|
+
label: translateLocaleText("t('vtxzgmodal.responsiblePerson')"),
|
|
159
176
|
key: 'responsibleStaffNames',
|
|
160
177
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.responsibleStaffNames
|
|
161
178
|
}, {
|
|
162
|
-
label: '
|
|
179
|
+
label: translateLocaleText("t('vtxzgmodal.hours3')"),
|
|
163
180
|
key: 'reformTimeDay',
|
|
164
|
-
value: "".concat(detailObj.reformTimeDay || 0
|
|
181
|
+
value: "".concat(detailObj.reformTimeDay || 0).concat(translateLocaleText("t('common.dayUnit')")).concat(detailObj.reformTimeHour || 0).concat(translateLocaleText("t('vtxzgmodal.hourUnit')")).concat(detailObj.reformTimeMin || 0).concat(translateLocaleText("t('vtxzgmodal.minuteUnit')"))
|
|
165
182
|
}, {
|
|
166
|
-
label: '
|
|
183
|
+
label: translateLocaleText("t('vtxzgmodal.hours2')"),
|
|
167
184
|
key: 'endDateTime',
|
|
168
185
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.endDateTime
|
|
169
186
|
}],
|
|
@@ -174,15 +191,15 @@ function getBaseShow(type, detailObj) {
|
|
|
174
191
|
case 'Sqyq':
|
|
175
192
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
176
193
|
data: [{
|
|
177
|
-
label: '
|
|
194
|
+
label: translateLocaleText("t('vtxzgmodal.hours4')"),
|
|
178
195
|
key: 'oldEndTime',
|
|
179
196
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.oldEndTime
|
|
180
197
|
}, {
|
|
181
|
-
label: '
|
|
198
|
+
label: translateLocaleText("t('vtxzgmodal.hours5')"),
|
|
182
199
|
key: 'newEndTime',
|
|
183
200
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.newEndTime
|
|
184
201
|
}, {
|
|
185
|
-
label: '
|
|
202
|
+
label: translateLocaleText("t('vtxzgmodal.applyReason')"),
|
|
186
203
|
key: 'applyReason',
|
|
187
204
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.applyReason
|
|
188
205
|
}],
|
|
@@ -193,11 +210,11 @@ function getBaseShow(type, detailObj) {
|
|
|
193
210
|
case 'Cs':
|
|
194
211
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
195
212
|
data: [{
|
|
196
|
-
label: '
|
|
213
|
+
label: translateLocaleText("t('vtxzgmodal.result')"),
|
|
197
214
|
key: 'processResult',
|
|
198
|
-
value: "".concat(detailObj.processResult === 'Accept' ? '
|
|
215
|
+
value: "".concat(detailObj.processResult === 'Accept' ? translateLocaleText("t('vtxzgmodal.acceptRectification')") : detailObj.processResult === 'Reject' ? translateLocaleText("t('vtxzgmodal.rejectRectification')") : detailObj.processResult)
|
|
199
216
|
}, {
|
|
200
|
-
label: '
|
|
217
|
+
label: translateLocaleText("t('vtxzgmodal.reason')"),
|
|
201
218
|
key: 'rejectReason',
|
|
202
219
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.rejectReason
|
|
203
220
|
}],
|
|
@@ -210,11 +227,11 @@ function getBaseShow(type, detailObj) {
|
|
|
210
227
|
case 'Tjfk':
|
|
211
228
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
212
229
|
data: [{
|
|
213
|
-
label: '
|
|
230
|
+
label: translateLocaleText("t('vtxzgmodal.feedbackContent')"),
|
|
214
231
|
key: 'feedbackContent',
|
|
215
232
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.feedbackContent
|
|
216
233
|
}, {
|
|
217
|
-
label: '
|
|
234
|
+
label: translateLocaleText("t('vtxzgmodal.attachment')"),
|
|
218
235
|
key: 'photos',
|
|
219
236
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.photos,
|
|
220
237
|
componentType: 'IMAGE'
|
|
@@ -227,11 +244,11 @@ function getBaseShow(type, detailObj) {
|
|
|
227
244
|
case 'Yqsh':
|
|
228
245
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
229
246
|
data: [{
|
|
230
|
-
label: '
|
|
247
|
+
label: translateLocaleText("t('vtxzgmodal.result')"),
|
|
231
248
|
key: 'processResult',
|
|
232
|
-
value: detailObj.processResult === 'Fail' ? '
|
|
249
|
+
value: detailObj.processResult === 'Fail' ? translateLocaleText("t('vtxzgmodal.failed')") : translateLocaleText("t('vtxzgmodal.passed')")
|
|
233
250
|
}, {
|
|
234
|
-
label: '
|
|
251
|
+
label: translateLocaleText("t('vtxzgmodal.opinion')"),
|
|
235
252
|
key: 'auditOpinion',
|
|
236
253
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.auditOpinion
|
|
237
254
|
}],
|
|
@@ -242,15 +259,15 @@ function getBaseShow(type, detailObj) {
|
|
|
242
259
|
case 'Jgsh':
|
|
243
260
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
244
261
|
data: [{
|
|
245
|
-
label: '
|
|
262
|
+
label: translateLocaleText("t('vtxzgmodal.result')"),
|
|
246
263
|
key: 'processResult',
|
|
247
|
-
value: detailObj.processResult === 'Fail' ? '
|
|
264
|
+
value: detailObj.processResult === 'Fail' ? translateLocaleText("t('vtxzgmodal.failed')") : translateLocaleText("t('vtxzgmodal.passed')")
|
|
248
265
|
}, {
|
|
249
|
-
label: '
|
|
266
|
+
label: translateLocaleText("t('vtxzgmodal.opinion')"),
|
|
250
267
|
key: 'auditOpinion',
|
|
251
268
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.auditOpinion
|
|
252
269
|
}, {
|
|
253
|
-
title: '
|
|
270
|
+
title: translateLocaleText("t('vtxzgmodal.attachment2')"),
|
|
254
271
|
key: 'photos',
|
|
255
272
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.photos,
|
|
256
273
|
componentType: 'IMAGE'
|
|
@@ -262,19 +279,19 @@ function getBaseShow(type, detailObj) {
|
|
|
262
279
|
case 'Dzg':
|
|
263
280
|
return /*#__PURE__*/_jsx(VmInfoCollection, {
|
|
264
281
|
data: [{
|
|
265
|
-
label: '
|
|
282
|
+
label: translateLocaleText("t('vtxzgmodal.unit2')"),
|
|
266
283
|
key: 'thirdResponsibleUnitName',
|
|
267
284
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.thirdResponsibleUnitName
|
|
268
285
|
}, {
|
|
269
|
-
label: '
|
|
286
|
+
label: translateLocaleText("t('vtxzgmodal.responsiblePerson')"),
|
|
270
287
|
key: 'thirdResponsibleStaffNames',
|
|
271
288
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.thirdResponsibleStaffNames
|
|
272
289
|
}, {
|
|
273
|
-
label: '
|
|
290
|
+
label: translateLocaleText("t('vtxzgmodal.hours3')"),
|
|
274
291
|
key: 'reformTimeDay',
|
|
275
|
-
value: "".concat(detailObj.reformTimeDay || 0
|
|
292
|
+
value: "".concat(detailObj.reformTimeDay || 0).concat(translateLocaleText("t('common.dayUnit')")).concat(detailObj.reformTimeHour || 0).concat(translateLocaleText("t('vtxzgmodal.hourUnit')")).concat(detailObj.reformTimeMin || 0).concat(translateLocaleText("t('vtxzgmodal.minuteUnit')"))
|
|
276
293
|
}, {
|
|
277
|
-
label: '
|
|
294
|
+
label: translateLocaleText("t('vtxzgmodal.hours2')"),
|
|
278
295
|
key: 'endDateTime',
|
|
279
296
|
value: detailObj === null || detailObj === void 0 ? void 0 : detailObj.endDateTime
|
|
280
297
|
}],
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
&-process {
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
26
|
+
min-width: 0;
|
|
26
27
|
|
|
27
28
|
--order-bg: #ecf0f5;
|
|
28
29
|
--order-active-bg: #1890ff;
|
|
@@ -42,7 +43,8 @@
|
|
|
42
43
|
display: flex;
|
|
43
44
|
align-items: center;
|
|
44
45
|
gap: 8px;
|
|
45
|
-
|
|
46
|
+
min-width: 0;
|
|
47
|
+
white-space: nowrap;
|
|
46
48
|
&-order {
|
|
47
49
|
width: 32px;
|
|
48
50
|
height: 32px;
|
|
@@ -64,6 +66,9 @@
|
|
|
64
66
|
font-size: 16px;
|
|
65
67
|
color: var(--title-color);
|
|
66
68
|
line-height: 24px;
|
|
69
|
+
max-width: 104px;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
text-overflow: ellipsis;
|
|
67
72
|
white-space: nowrap;
|
|
68
73
|
&.active {
|
|
69
74
|
color: var(--modal-title-color);
|
|
@@ -96,19 +101,46 @@
|
|
|
96
101
|
color: var(--modal-title-color);
|
|
97
102
|
&-head {
|
|
98
103
|
display: flex;
|
|
104
|
+
gap: 12px;
|
|
99
105
|
justify-content: space-between;
|
|
106
|
+
min-width: 0;
|
|
100
107
|
&-title {
|
|
101
108
|
display: flex;
|
|
102
109
|
align-items: center;
|
|
103
110
|
gap: 12px;
|
|
111
|
+
min-width: 0;
|
|
104
112
|
color: var(--blue-color);
|
|
113
|
+
|
|
114
|
+
&-text {
|
|
115
|
+
min-width: 0;
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
text-overflow: ellipsis;
|
|
118
|
+
white-space: nowrap;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&-time {
|
|
123
|
+
flex-shrink: 0;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
text-overflow: ellipsis;
|
|
126
|
+
white-space: nowrap;
|
|
105
127
|
}
|
|
106
128
|
}
|
|
107
129
|
&-content {
|
|
108
130
|
display: flex;
|
|
109
131
|
justify-content: start;
|
|
110
132
|
gap: 16px;
|
|
133
|
+
min-width: 0;
|
|
111
134
|
padding: 8px 0 8px 8px;
|
|
135
|
+
&-main {
|
|
136
|
+
min-width: 0;
|
|
137
|
+
}
|
|
138
|
+
&-text {
|
|
139
|
+
max-width: 338px;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
text-overflow: ellipsis;
|
|
142
|
+
white-space: nowrap;
|
|
143
|
+
}
|
|
112
144
|
&-bg {
|
|
113
145
|
width: 338px;
|
|
114
146
|
padding: 8px 12px;
|
|
@@ -124,3 +156,18 @@
|
|
|
124
156
|
}
|
|
125
157
|
}
|
|
126
158
|
}
|
|
159
|
+
|
|
160
|
+
.zg-base {
|
|
161
|
+
.info-line,
|
|
162
|
+
.info-label-b,
|
|
163
|
+
.value {
|
|
164
|
+
min-width: 0;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.info-label-b,
|
|
168
|
+
.value {
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
text-overflow: ellipsis;
|
|
171
|
+
white-space: nowrap;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -5,6 +5,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
5
5
|
import VtxBaseModal from "../vtx-base-modal";
|
|
6
6
|
import { BaseInfo } from "./components";
|
|
7
7
|
import "./style";
|
|
8
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
8
9
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
9
10
|
var TABS_BASE = 'base';
|
|
10
11
|
var VtxZgModal = function VtxZgModal(props) {
|
|
@@ -17,7 +18,7 @@ var VtxZgModal = function VtxZgModal(props) {
|
|
|
17
18
|
tabChose = props.tabChose;
|
|
18
19
|
var tabs = [{
|
|
19
20
|
key: TABS_BASE,
|
|
20
|
-
title: '
|
|
21
|
+
title: translateLocaleText("t('vtxdefaultmodal.overviewInformation')")
|
|
21
22
|
}];
|
|
22
23
|
var contents = _defineProperty({}, TABS_BASE, /*#__PURE__*/_jsx(BaseInfo, {
|
|
23
24
|
id: id
|
|
@@ -7,6 +7,7 @@ import VmRepairMaintain from "../_components/vm-repair-maintain";
|
|
|
7
7
|
import useGetChannels from "../_hooks/useGetChannels";
|
|
8
8
|
import { BaseInfo as DefaultBaseInfo } from "../vtx-default-modal/components";
|
|
9
9
|
import { BaseInfo, Calendar, Metering, WorkCondition } from "../vtx-df-modal/components";
|
|
10
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
10
11
|
// import Appraisal from '../vm-appraisal-info';
|
|
11
12
|
import VmCustom from "../_components/vm-custom";
|
|
12
13
|
import VmVideo from "../_components/vm-video";
|
|
@@ -43,7 +44,7 @@ var VtxDfModal = function VtxDfModal(props) {
|
|
|
43
44
|
photos = _CommonService$useBas.photos;
|
|
44
45
|
var tabs = [{
|
|
45
46
|
key: TABS_BASE,
|
|
46
|
-
title: '
|
|
47
|
+
title: translateLocaleText("t('vtxdefaultmodal.overviewInformation')")
|
|
47
48
|
}, {
|
|
48
49
|
key: TABS_METERING,
|
|
49
50
|
title: '计量信息'
|
package/package.json
CHANGED
|
@@ -1,81 +1,92 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vtx/modals2",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "弹窗组件",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"module": "lib/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"lib"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "father build",
|
|
13
|
-
"build:watch": "father dev",
|
|
14
|
-
"dev": "dumi dev",
|
|
15
|
-
"docs:build": "dumi build",
|
|
16
|
-
"docs:preview": "dumi preview",
|
|
17
|
-
"doctor": "father doctor",
|
|
18
|
-
"lint": "npm run lint:es && npm run lint:css",
|
|
19
|
-
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
20
|
-
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
21
|
-
"prepare": "husky install && dumi setup",
|
|
22
|
-
"prepublishOnly": "npm run build",
|
|
23
|
-
"start": "npm run dev"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
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
|
-
"eslint": "^
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@vtx/modals2",
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
4
|
+
"description": "弹窗组件",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "father build",
|
|
13
|
+
"build:watch": "father dev",
|
|
14
|
+
"dev": "dumi dev",
|
|
15
|
+
"docs:build": "dumi build",
|
|
16
|
+
"docs:preview": "dumi preview",
|
|
17
|
+
"doctor": "father doctor",
|
|
18
|
+
"lint": "npm run lint:es && npm run lint:css",
|
|
19
|
+
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
20
|
+
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
21
|
+
"prepare": "husky install && dumi setup",
|
|
22
|
+
"prepublishOnly": "npm run build",
|
|
23
|
+
"start": "npm run dev"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@turf/turf": "^7.3.4",
|
|
27
|
+
"ahooks": "^3.1.5",
|
|
28
|
+
"axios": "^0.21.1",
|
|
29
|
+
"base-64": "^1.0.0",
|
|
30
|
+
"classnames": "^2.5.1",
|
|
31
|
+
"dayjs": "^1.11.10",
|
|
32
|
+
"echarts": "^5.3.2",
|
|
33
|
+
"echarts-for-react": "3.0.2",
|
|
34
|
+
"htmr": "^1.0.2",
|
|
35
|
+
"lodash": "^4.17.21",
|
|
36
|
+
"number-precision": "^1.6.0",
|
|
37
|
+
"proj4": "^2.20.8",
|
|
38
|
+
"qs": "^6.0.0",
|
|
39
|
+
"react-tagcloud": "^2.3.3",
|
|
40
|
+
"viewerjs": "^1.3.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@ant-design/icons": "6.0.0",
|
|
44
|
+
"@babel/preset-react": "^7.28.5",
|
|
45
|
+
"@babel/runtime": "^7.6.3",
|
|
46
|
+
"@commitlint/cli": "^17.1.2",
|
|
47
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
48
|
+
"@types/lodash": "^4.14.202",
|
|
49
|
+
"@types/qs": "^6.9.11",
|
|
50
|
+
"@types/react": "^18.0.0",
|
|
51
|
+
"@types/react-dom": "^18.0.0",
|
|
52
|
+
"@umijs/lint": "^4.0.0",
|
|
53
|
+
"@vtx/components": "^4.0.0-beta.58",
|
|
54
|
+
"@vtx/ol-map": "^2.0.0-beta.16",
|
|
55
|
+
"@vtx/player": "latest",
|
|
56
|
+
"@vtx/utils": "^1.0.20",
|
|
57
|
+
"ol": "6.15.1",
|
|
58
|
+
"antd": "6.0.0",
|
|
59
|
+
"antd-dayjs-webpack-plugin": "^1.0.6",
|
|
60
|
+
"babel-eslint": "^10.1.0",
|
|
61
|
+
"babel-plugin-import": "^1.13.8",
|
|
62
|
+
"dumi": "^2.2.13",
|
|
63
|
+
"echarts-liquidfill": "^3.1.0",
|
|
64
|
+
"eslint": "^8.23.0",
|
|
65
|
+
"father": "^4.1.0",
|
|
66
|
+
"husky": "^8.0.1",
|
|
67
|
+
"lint-staged": "^13.0.3",
|
|
68
|
+
"prettier": "^2.7.1",
|
|
69
|
+
"prettier-plugin-organize-imports": "^3.0.0",
|
|
70
|
+
"prettier-plugin-packagejson": "^2.2.18",
|
|
71
|
+
"react": "18.0.0",
|
|
72
|
+
"react-dom": "18.0.0",
|
|
73
|
+
"stylelint": "^14.9.1",
|
|
74
|
+
"@vtx/map-icon": "^2.0.62"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"antd": ">=6",
|
|
78
|
+
"@ant-design/icons": ">=6",
|
|
79
|
+
"@vtx/components": ">=4.0.0-beta.0",
|
|
80
|
+
"@vtx/map-icon": ">=2.0.0",
|
|
81
|
+
"@vtx/ol-map": ">=2.0.0-beta.0",
|
|
82
|
+
"@vtx/player": ">=1.0.0",
|
|
83
|
+
"@vtx/utils": ">=1.0.20",
|
|
84
|
+
"ol": ">=6.15.1",
|
|
85
|
+
"react": ">=18",
|
|
86
|
+
"react-dom": ">=18"
|
|
87
|
+
},
|
|
88
|
+
"publishConfig": {
|
|
89
|
+
"access": "public"
|
|
90
|
+
},
|
|
91
|
+
"authors": []
|
|
92
|
+
}
|