@vtx/modals2 5.0.59 → 6.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -2
- package/lib/_components/vm-calendar/index.js +12 -7
- package/lib/_components/vm-calendar/style/index.js +0 -1
- package/lib/_components/vm-calendar/style/index.less +1 -0
- package/lib/_components/vm-empty/index.js +13 -11
- package/lib/_components/vm-factor/index.js +1 -0
- package/lib/_components/vm-factor/style/index.less +4 -0
- package/lib/_components/vm-filter/index.js +9 -12
- package/lib/_components/vm-info-collection/style/index.js +0 -1
- package/lib/_components/vm-map/index.js +18 -0
- package/lib/_components/vm-popover/index.js +11 -3
- package/lib/_components/vm-popover/index.less +4 -1
- package/lib/_components/vm-repair-maintain/RmInfoSummary.js +7 -6
- package/lib/_components/vm-repair-maintain/RmMonthTrend.js +3 -2
- package/lib/_components/vm-repair-maintain/RmRecord.js +9 -8
- package/lib/_components/vm-repair-maintain/RmType.js +5 -4
- package/lib/_components/vm-repair-maintain/index.js +4 -3
- package/lib/_components/vm-table/index.js +31 -24
- package/lib/_components/vm-tabs/index.js +26 -10
- package/lib/_components/vm-video/index.js +21 -21
- package/lib/_components/vm-wrapper/index.js +8 -4
- package/lib/_components/vm-wrapper/resource/ICON_CONFIG.js +1 -1
- package/lib/_util/http.js +4 -2
- package/lib/_util/setupDayjs.js +16 -0
- package/lib/hooks/useTranslation.js +217 -0
- package/lib/index.js +3 -0
- package/lib/locales/en.json +1377 -0
- package/lib/locales/zh-CN.json +1377 -0
- package/lib/style/index.less +0 -2
- package/lib/vtx-area-modal/api.js +5 -4
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +2 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +10 -9
- package/lib/vtx-area-modal/components/BaseInfo/index.js +14 -13
- package/lib/vtx-area-modal/index.js +1 -1
- package/lib/vtx-base-modal/Header/index.less +1 -0
- package/lib/vtx-base-modal/index.js +34 -3
- package/lib/vtx-base-modal/style/index.less +14 -1
- package/lib/vtx-car-modal/components/Info/index.js +37 -7
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +7 -6
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +22 -21
- package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +26 -25
- package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +15 -14
- package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +22 -21
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +13 -12
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +13 -12
- package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +16 -11
- package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +10 -7
- package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +13 -12
- package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +16 -15
- package/lib/vtx-car-modal/content/Common/Maintenance/index.js +23 -18
- package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +5 -4
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +7 -6
- package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +17 -15
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +10 -9
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +8 -7
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +9 -8
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +11 -10
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +8 -7
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +13 -12
- package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +44 -41
- package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +26 -20
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +18 -17
- package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +23 -22
- package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +41 -40
- package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +13 -12
- package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +21 -20
- package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +8 -7
- package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +26 -25
- package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +15 -9
- package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +20 -19
- package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +13 -12
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +6 -5
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +7 -6
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +2 -1
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +28 -27
- package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +23 -22
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +10 -9
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +13 -12
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +18 -17
- package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +15 -14
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +8 -7
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +12 -11
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +2 -1
- package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +4 -3
- package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +18 -17
- package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +2 -1
- package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +8 -7
- package/lib/vtx-car-modal/index.js +25 -24
- package/lib/vtx-car-modal/style/index.js +1 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +28 -16
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +7 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +4 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +3 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +29 -34
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +25 -19
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +4 -3
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +21 -17
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +8 -7
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +34 -0
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +4 -3
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +7 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +4 -3
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +33 -35
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +3 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +23 -13
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +2 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +25 -17
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/index.js +2 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +11 -7
- package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +3 -2
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +13 -9
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +13 -9
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +7 -6
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +13 -9
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +11 -7
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +14 -13
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +13 -9
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +15 -11
- package/lib/vtx-cc-unit-modal/index.js +17 -10
- package/lib/vtx-cp-modal/api.js +6 -5
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +4 -3
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +6 -5
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +9 -8
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +3 -2
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +10 -9
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +5 -4
- package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +10 -9
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +4 -3
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +6 -5
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +5 -4
- package/lib/vtx-cp-modal/components/SyInfo/index.js +20 -19
- package/lib/vtx-cp-modal/index.js +5 -4
- package/lib/vtx-default-modal/components/BaseInfo/index.js +2 -1
- package/lib/vtx-default-modal/index.js +4 -3
- package/lib/vtx-default-modal/style/index.js +0 -1
- package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +4 -3
- package/lib/vtx-device-modal/components/BaseInfo/index.js +13 -12
- package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +15 -14
- package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +21 -20
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +15 -0
- package/lib/vtx-device-modal/index.js +6 -3
- package/lib/vtx-device-modal/style/index.less +32 -0
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +12 -7
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfo/index.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +4 -3
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +12 -7
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +5 -4
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +4 -3
- package/lib/vtx-df-modal/components/Calendar/index.js +7 -6
- package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +7 -6
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +10 -8
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +6 -5
- package/lib/vtx-df-modal/components/Metering/List.js +12 -10
- package/lib/vtx-df-modal/components/Metering/index.js +11 -10
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +10 -8
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +6 -6
- package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +12 -10
- package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +11 -10
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -1
- package/lib/vtx-df-modal/components/WorkCondition/Table.js +4 -3
- package/lib/vtx-df-modal/components/WorkCondition/index.js +9 -4
- package/lib/vtx-df-modal/index.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +7 -6
- package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +5 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +8 -7
- package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +6 -5
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +9 -8
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +4 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +5 -4
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +5 -4
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +7 -5
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +14 -13
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +12 -11
- package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +20 -17
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +55 -52
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +3 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +2 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +6 -5
- package/lib/vtx-housing-estate-modal/config.js +10 -10
- package/lib/vtx-housing-estate-modal/index.js +6 -5
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +15 -9
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +31 -25
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +32 -24
- package/lib/vtx-jzlj-df-tpd-modal/components/FactorList.js +38 -0
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +16 -10
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +16 -8
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +5 -4
- package/lib/vtx-jzlj-df-tpd-modal/index.js +8 -5
- package/lib/vtx-jzlj-df-tpd-modal/style/index.less +22 -0
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +41 -40
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +16 -15
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +10 -8
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +26 -24
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +26 -24
- package/lib/vtx-jzlj-gcxm-modal/components/FactorList.js +41 -0
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +11 -9
- package/lib/vtx-jzlj-gcxm-modal/index.js +10 -6
- package/lib/vtx-jzlj-gcxm-modal/style/index.less +45 -0
- package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +11 -9
- package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +27 -25
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +4 -3
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +26 -24
- package/lib/vtx-jzlj-xnc-modal/components/FactorList.js +41 -0
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +4 -3
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +12 -10
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +13 -11
- package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +24 -13
- package/lib/vtx-jzlj-xnc-modal/index.js +9 -5
- package/lib/vtx-jzlj-xnc-modal/style/index.less +46 -0
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +29 -12
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.less +21 -0
- package/lib/vtx-jzlj-ysqy-modal/index.js +6 -2
- package/lib/vtx-kh-modal/api2.js +10 -9
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +21 -23
- package/lib/vtx-kh-modal/components/Record/index.js +18 -17
- package/lib/vtx-kh-modal/index.js +3 -2
- package/lib/vtx-kh-modal/style/index.js +0 -1
- package/lib/vtx-qyry-modal/api.js +8 -7
- package/lib/vtx-qyry-modal/index.js +17 -16
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +18 -9
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +7 -2
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +4 -3
- package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +3 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -1
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +11 -7
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +4 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +3 -2
- package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +3 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js +5 -4
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +24 -23
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +11 -10
- package/lib/vtx-restaurant-modal/config.js +42 -43
- package/lib/vtx-restaurant-modal/index.js +16 -7
- package/lib/vtx-road-modal/api.js +14 -13
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +6 -2
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +26 -21
- package/lib/vtx-road-modal/components/BaseInfo/index.js +7 -5
- package/lib/vtx-road-modal/components/BaseInfo/index.less +37 -0
- package/lib/vtx-road-modal/components/Calendar/index.js +5 -4
- package/lib/vtx-road-modal/components/LaneBaseInfo/Rules.js +6 -3
- package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +25 -20
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +5 -3
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.less +42 -0
- package/lib/vtx-road-modal/components/LaneCalendar/index.js +7 -6
- package/lib/vtx-road-modal/components/LaneStatistical/index.js +37 -24
- package/lib/vtx-road-modal/components/LaneStatistical/index.less +8 -0
- package/lib/vtx-road-modal/components/Statistical/index.js +36 -23
- package/lib/vtx-road-modal/components/Statistical/index.less +8 -0
- package/lib/vtx-road-modal/index.js +30 -21
- package/lib/vtx-road-modal/style/index.js +1 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +7 -6
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +4 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +8 -7
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +6 -5
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +9 -8
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +4 -3
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +3 -2
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +5 -4
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +14 -12
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +14 -13
- package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +12 -11
- package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +11 -10
- package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +13 -12
- package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +2 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +2 -1
- package/lib/vtx-sdyd-tfd-modal/config.js +6 -6
- package/lib/vtx-sdyd-tfd-modal/index.js +7 -6
- package/lib/vtx-shxq-modal/api.js +9 -8
- package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +8 -7
- package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +12 -11
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-shxq-modal/components/Tfd/index.js +7 -6
- package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +2 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +4 -3
- package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +6 -5
- package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +15 -14
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +10 -9
- package/lib/vtx-shxq-modal/index.js +6 -5
- package/lib/vtx-staff-modal/api.js +8 -7
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +6 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +8 -7
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +5 -4
- package/lib/vtx-staff-modal/components/Attendance/Record.js +22 -20
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +8 -7
- package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +13 -11
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +9 -8
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +7 -6
- package/lib/vtx-staff-modal/components/Calendar/index.js +8 -7
- package/lib/vtx-staff-modal/components/Equipment/index.js +23 -22
- package/lib/vtx-staff-modal/index.js +6 -5
- package/lib/vtx-tfd-modal/api.js +7 -6
- package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +6 -5
- package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +4 -3
- package/lib/vtx-tfd-modal/components/BaseInfo/index.js +17 -17
- package/lib/vtx-tfd-modal/index.js +4 -4
- package/lib/vtx-wr-modal/components/Appraise/index.js +18 -18
- package/lib/vtx-wr-modal/components/Base/Jbxx.js +15 -16
- package/lib/vtx-wr-modal/components/Base/Ptss.js +17 -16
- package/lib/vtx-wr-modal/components/Base/Sjjg.js +12 -9
- package/lib/vtx-wr-modal/components/Base/index.js +14 -14
- package/lib/vtx-wr-modal/components/Build/index.js +6 -5
- package/lib/vtx-wr-modal/components/File/index.js +12 -15
- package/lib/vtx-wr-modal/components/File/index.less +8 -3
- package/lib/vtx-wr-modal/components/Score/index.js +20 -27
- package/lib/vtx-wr-modal/components/Score/index.less +49 -26
- package/lib/vtx-wr-modal/index.js +5 -2
- package/lib/vtx-wr-modal/style/index.js +0 -1
- package/lib/vtx-zf-modal/components/Base/index.js +37 -36
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +22 -21
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +9 -7
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +27 -27
- package/lib/vtx-zf-modal/components/File/index.js +15 -14
- package/lib/vtx-zf-modal/components/Process/index.js +17 -17
- package/lib/vtx-zf-modal/components/Record/index.js +9 -8
- package/lib/vtx-zf-modal/components/Right/index.js +7 -7
- package/lib/vtx-zf-modal/style/index.js +0 -1
- package/lib/vtx-zg-modal/api.js +13 -12
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +52 -35
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +48 -1
- package/lib/vtx-zg-modal/index.js +2 -1
- package/lib/vtx-zzz-modal/index.js +2 -1
- package/package.json +30 -19
|
@@ -5,11 +5,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { VtxImage } from '@vtx/components';
|
|
8
|
-
import '@vtx/components/lib/vtx-image/style/index';
|
|
9
8
|
import { request } from '@vtx/utils';
|
|
10
9
|
import { useEffect, useState } from 'react';
|
|
11
10
|
import { VmEmpty, VmTabs } from "../../../_components";
|
|
12
11
|
import Right from "../Right";
|
|
12
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
var listTaskInfo = function listTaskInfo(params) {
|
|
15
15
|
return request.get('/cloud/zhzf/api/v101/case/listTaskInfo', {
|
|
@@ -37,38 +37,38 @@ export default (function (props) {
|
|
|
37
37
|
});
|
|
38
38
|
}, [id]);
|
|
39
39
|
var legendList = [{
|
|
40
|
-
name: '
|
|
40
|
+
name: translateLocaleText("t('vtxzfmodal.normal')"),
|
|
41
41
|
color: '#009DFF'
|
|
42
42
|
}, {
|
|
43
|
-
name: '
|
|
43
|
+
name: translateLocaleText("t('vtxzfmodal.withdrawn')"),
|
|
44
44
|
color: '#FF5861'
|
|
45
45
|
}, {
|
|
46
|
-
name: '
|
|
46
|
+
name: translateLocaleText("t('vtxzfmodal.returned')"),
|
|
47
47
|
color: '#934BED'
|
|
48
48
|
}, {
|
|
49
|
-
name: '
|
|
49
|
+
name: translateLocaleText("t('vtxzfmodal.hours5')"),
|
|
50
50
|
color: '#F89A37'
|
|
51
51
|
}];
|
|
52
52
|
var stepColumn = [{
|
|
53
|
-
name: '
|
|
53
|
+
name: translateLocaleText("t('vtxzfmodal.hours6')"),
|
|
54
54
|
key: 'startTime'
|
|
55
55
|
}, {
|
|
56
|
-
name: '
|
|
56
|
+
name: translateLocaleText("t('vtxzfmodal.handler')"),
|
|
57
57
|
key: 'assignUserName'
|
|
58
58
|
}, {
|
|
59
|
-
name: '
|
|
59
|
+
name: translateLocaleText("t('vtxzfmodal.hours7')"),
|
|
60
60
|
key: 'endTime'
|
|
61
61
|
}, {
|
|
62
|
-
name: '
|
|
62
|
+
name: translateLocaleText("t('vtxzfmodal.pointHours')"),
|
|
63
63
|
key: 'taskTimeCost'
|
|
64
64
|
}, {
|
|
65
|
-
name: '
|
|
65
|
+
name: translateLocaleText("t('vtxzfmodal.pointHours2')"),
|
|
66
66
|
key: 'taskTimeLimitStr'
|
|
67
67
|
}, {
|
|
68
|
-
name: '
|
|
68
|
+
name: translateLocaleText("t('vtxzfmodal.hours8')"),
|
|
69
69
|
key: 'caseTimeCost'
|
|
70
70
|
}, {
|
|
71
|
-
name: '
|
|
71
|
+
name: translateLocaleText("t('vtxzfmodal.opinion')"),
|
|
72
72
|
key: 'comment',
|
|
73
73
|
weights: 2
|
|
74
74
|
}];
|
|
@@ -95,10 +95,10 @@ export default (function (props) {
|
|
|
95
95
|
children: /*#__PURE__*/_jsx(VmTabs, {
|
|
96
96
|
activeKey: activeKey,
|
|
97
97
|
items: [{
|
|
98
|
-
label: '
|
|
98
|
+
label: translateLocaleText("t('vtxzfmodal.point3')"),
|
|
99
99
|
key: '1'
|
|
100
100
|
}, {
|
|
101
|
-
label: '
|
|
101
|
+
label: translateLocaleText("t('vtxzfmodal.flowChart')"),
|
|
102
102
|
key: '2'
|
|
103
103
|
}],
|
|
104
104
|
onChange: function onChange(key) {
|
|
@@ -131,14 +131,14 @@ export default (function (props) {
|
|
|
131
131
|
style: {
|
|
132
132
|
background: 'rgba(248,154,55,0.15)'
|
|
133
133
|
},
|
|
134
|
-
children: "
|
|
134
|
+
children: translateLocaleText("t('vtxzfmodal.hours5')")
|
|
135
135
|
})]
|
|
136
136
|
})]
|
|
137
137
|
}), index === 0 && /*#__PURE__*/_jsxs("div", {
|
|
138
138
|
className: "zf-process-legend",
|
|
139
139
|
children: [/*#__PURE__*/_jsx("div", {
|
|
140
140
|
className: "zf-legend-title",
|
|
141
|
-
children: "
|
|
141
|
+
children: translateLocaleText("t('vtxzfmodal.color')")
|
|
142
142
|
}), legendList.map(function (item) {
|
|
143
143
|
return /*#__PURE__*/_jsxs("div", {
|
|
144
144
|
className: "zf-legend-item",
|
|
@@ -184,7 +184,7 @@ export default (function (props) {
|
|
|
184
184
|
className: "zf-process-img",
|
|
185
185
|
children: /*#__PURE__*/_jsx(VtxImage, {
|
|
186
186
|
aspectFit: true,
|
|
187
|
-
alt: "
|
|
187
|
+
alt: translateLocaleText("t('vtxzfmodal.flowChart')"),
|
|
188
188
|
src: "/cloud/flowable/processInstance/generateDiagram?id=".concat(detail.processInstanceId)
|
|
189
189
|
})
|
|
190
190
|
})
|
|
@@ -14,6 +14,7 @@ import { request } from '@vtx/utils';
|
|
|
14
14
|
import { useEffect, useState } from 'react';
|
|
15
15
|
import { VmTable } from "../../../_components";
|
|
16
16
|
import Right from "../Right";
|
|
17
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
17
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
19
|
var getList = function getList(params) {
|
|
19
20
|
return request.get('/cloud/zhzf/api/v101/case/change/log/page', {
|
|
@@ -40,30 +41,30 @@ export default (function (props) {
|
|
|
40
41
|
}, [id]);
|
|
41
42
|
var tableProps = {
|
|
42
43
|
columns: [{
|
|
43
|
-
title: '
|
|
44
|
+
title: translateLocaleText("t('common.serialNumber')"),
|
|
44
45
|
dataIndex: 'orderIndex',
|
|
45
46
|
key: 'orderIndex',
|
|
46
47
|
width: 40
|
|
47
48
|
}, {
|
|
48
|
-
title: '
|
|
49
|
+
title: translateLocaleText("t('vtxzfmodal.name')"),
|
|
49
50
|
dataIndex: 'instrumentTemplateName',
|
|
50
51
|
key: 'instrumentTemplateName',
|
|
51
52
|
width: 120,
|
|
52
53
|
ellipsis: true
|
|
53
54
|
}, {
|
|
54
|
-
title: '
|
|
55
|
+
title: translateLocaleText("t('vtxzfmodal.name2')"),
|
|
55
56
|
dataIndex: 'taskName',
|
|
56
57
|
key: 'taskName',
|
|
57
58
|
width: 120,
|
|
58
59
|
ellipsis: true
|
|
59
60
|
}, {
|
|
60
|
-
title: '
|
|
61
|
+
title: translateLocaleText("t('vtxzfmodal.editField')"),
|
|
61
62
|
dataIndex: 'fieldName',
|
|
62
63
|
key: 'fieldName',
|
|
63
64
|
width: 100,
|
|
64
65
|
ellipsis: true
|
|
65
66
|
}, {
|
|
66
|
-
title: '
|
|
67
|
+
title: translateLocaleText("t('vtxzfmodal.editValue')"),
|
|
67
68
|
dataIndex: 'fromContent',
|
|
68
69
|
key: 'fromContent',
|
|
69
70
|
width: 110,
|
|
@@ -73,7 +74,7 @@ export default (function (props) {
|
|
|
73
74
|
return value;
|
|
74
75
|
}
|
|
75
76
|
}, {
|
|
76
|
-
title: '
|
|
77
|
+
title: translateLocaleText("t('vtxzfmodal.editValue2')"),
|
|
77
78
|
dataIndex: 'toContent',
|
|
78
79
|
key: 'toContent',
|
|
79
80
|
width: 110,
|
|
@@ -83,13 +84,13 @@ export default (function (props) {
|
|
|
83
84
|
return value;
|
|
84
85
|
}
|
|
85
86
|
}, {
|
|
86
|
-
title: '
|
|
87
|
+
title: translateLocaleText("t('vtxzfmodal.edit2')"),
|
|
87
88
|
dataIndex: 'changeStaffName',
|
|
88
89
|
key: 'changeStaffName',
|
|
89
90
|
width: 90,
|
|
90
91
|
ellipsis: true
|
|
91
92
|
}, {
|
|
92
|
-
title: '
|
|
93
|
+
title: translateLocaleText("t('vtxzfmodal.editHours')"),
|
|
93
94
|
dataIndex: 'changeTime',
|
|
94
95
|
key: 'changeTime',
|
|
95
96
|
width: 160,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
2
2
|
//样式定义在Base内
|
|
3
|
-
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
4
|
export default (function (props) {
|
|
5
5
|
var detail = props.detail;
|
|
6
6
|
var jdxx = [{
|
|
7
|
-
name: '
|
|
7
|
+
name: translateLocaleText("t('vtxzfmodal.currentPoint')"),
|
|
8
8
|
key: 'currentTask'
|
|
9
9
|
}, {
|
|
10
|
-
name: '
|
|
10
|
+
name: translateLocaleText("t('vtxzfmodal.currentPointHours')"),
|
|
11
11
|
key: 'currentTaskUseTime'
|
|
12
12
|
}, {
|
|
13
|
-
name: '
|
|
13
|
+
name: translateLocaleText("t('common.startTime')"),
|
|
14
14
|
key: 'currentTaskStartTime'
|
|
15
15
|
}, {
|
|
16
|
-
name: '
|
|
16
|
+
name: translateLocaleText("t('vtxzfmodal.hours9')"),
|
|
17
17
|
key: 'caseUseTime'
|
|
18
18
|
}];
|
|
19
19
|
return /*#__PURE__*/_jsxs("div", {
|
|
20
20
|
className: "zf-base-right",
|
|
21
21
|
children: [/*#__PURE__*/_jsx("div", {
|
|
22
22
|
className: "zf-base-title",
|
|
23
|
-
children: "
|
|
23
|
+
children: translateLocaleText("t('vtxzfmodal.point4')")
|
|
24
24
|
}), /*#__PURE__*/_jsx("div", {
|
|
25
25
|
className: "zf-base-info",
|
|
26
26
|
children: /*#__PURE__*/_jsx("div", {
|
package/lib/vtx-zg-modal/api.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MapIcon } from '@vtx/map-icon';
|
|
2
2
|
import { request } from '@vtx/utils';
|
|
3
3
|
import { useRequest } from 'ahooks';
|
|
4
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
4
5
|
var BaseService = {
|
|
5
6
|
useBaseDetail: function useBaseDetail(id) {
|
|
6
7
|
var _info$geometryInfo, _info$geometryInfo2, _lngLats$split, _lngLats$split2, _lngLats$split3, _info$geometryInfo3;
|
|
@@ -18,55 +19,55 @@ var BaseService = {
|
|
|
18
19
|
loading = _useRequest.loading;
|
|
19
20
|
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
20
21
|
var baseInfo = [{
|
|
21
|
-
label: '
|
|
22
|
+
label: translateLocaleText("t('vtxzgmodal.problemSource')"),
|
|
22
23
|
key: 'problemFromStr',
|
|
23
24
|
value: info === null || info === void 0 ? void 0 : info.problemFromStr
|
|
24
25
|
}, {
|
|
25
|
-
label: '
|
|
26
|
+
label: translateLocaleText("t('vtxzgmodal.majorCategory')"),
|
|
26
27
|
key: 'parentCategoryName',
|
|
27
28
|
value: info === null || info === void 0 ? void 0 : info.parentCategoryName
|
|
28
29
|
}, {
|
|
29
|
-
label: '
|
|
30
|
+
label: translateLocaleText("t('vtxzgmodal.problemCategory')"),
|
|
30
31
|
key: 'problemCategoryName',
|
|
31
32
|
value: info === null || info === void 0 ? void 0 : info.problemCategoryName
|
|
32
33
|
}, {
|
|
33
|
-
label: '
|
|
34
|
+
label: translateLocaleText("t('vtxzgmodal.object')"),
|
|
34
35
|
key: 'checkResourceName',
|
|
35
36
|
value: info === null || info === void 0 ? void 0 : info.checkResourceName
|
|
36
37
|
}, {
|
|
37
|
-
label: '
|
|
38
|
+
label: translateLocaleText("t('vtxzgmodal.reporter')"),
|
|
38
39
|
key: 'reportStaffName',
|
|
39
40
|
value: info === null || info === void 0 ? void 0 : info.reportStaffName
|
|
40
41
|
}, {
|
|
41
|
-
label: '
|
|
42
|
+
label: translateLocaleText("t('vtxzgmodal.hours')"),
|
|
42
43
|
key: 'reportDateTimeStr',
|
|
43
44
|
value: info === null || info === void 0 ? void 0 : info.reportDateTimeStr
|
|
44
45
|
}, {
|
|
45
|
-
label: '
|
|
46
|
+
label: translateLocaleText("t('vtxzgmodal.hours2')"),
|
|
46
47
|
key: 'endDateTimeStr',
|
|
47
48
|
value: info === null || info === void 0 ? void 0 : info.endDateTimeStr
|
|
48
49
|
}, {
|
|
49
|
-
label: '
|
|
50
|
+
label: translateLocaleText("t('vtxzgmodal.tender')"),
|
|
50
51
|
key: 'tenderName',
|
|
51
52
|
value: info === null || info === void 0 ? void 0 : info.tenderName
|
|
52
53
|
}, {
|
|
53
|
-
label: '
|
|
54
|
+
label: translateLocaleText("t('vtxzgmodal.administrativeDivision')"),
|
|
54
55
|
key: 'divisionName',
|
|
55
56
|
value: info === null || info === void 0 ? void 0 : info.divisionName,
|
|
56
57
|
width: '100%'
|
|
57
58
|
}, {
|
|
58
|
-
label: '
|
|
59
|
+
label: translateLocaleText("t('vtxzgmodal.problemDescription')"),
|
|
59
60
|
key: 'memo',
|
|
60
61
|
value: info === null || info === void 0 ? void 0 : info.memo,
|
|
61
62
|
width: '100%'
|
|
62
63
|
}, {
|
|
63
|
-
label: '
|
|
64
|
+
label: translateLocaleText("t('vtxzgmodal.photo')"),
|
|
64
65
|
key: 'photos',
|
|
65
66
|
value: info === null || info === void 0 ? void 0 : info.photos,
|
|
66
67
|
componentType: 'IMAGE',
|
|
67
68
|
width: '100%'
|
|
68
69
|
}, {
|
|
69
|
-
label: '
|
|
70
|
+
label: translateLocaleText("t('vtxzgmodal.problemLocation')"),
|
|
70
71
|
key: 'address',
|
|
71
72
|
value: info === null || info === void 0 ? void 0 : info.address,
|
|
72
73
|
width: '100%'
|
|
@@ -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: '计量信息'
|