@vtx/modals2 6.0.0-beta.2 → 6.0.0-beta.4
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/lib/_components/vm-calendar/index.js +1 -1
- package/lib/_components/vm-empty/index.js +1 -1
- package/lib/_components/vm-factor/index.js +2 -1
- package/lib/_components/vm-filter/index.js +1 -1
- package/lib/_components/vm-info-collection/index.js +3 -2
- package/lib/_components/vm-map/index.js +1 -1
- package/lib/_components/vm-progress/index.js +2 -1
- package/lib/_components/vm-repair-maintain/RmInfoSummary.js +1 -1
- package/lib/_components/vm-repair-maintain/RmMonthTrend.js +1 -1
- package/lib/_components/vm-repair-maintain/RmRecord.js +1 -1
- package/lib/_components/vm-repair-maintain/RmType.js +1 -1
- package/lib/_components/vm-repair-maintain/index.js +1 -1
- package/lib/_components/vm-table/index.js +1 -1
- package/lib/_components/vm-tag/index.js +2 -1
- package/lib/_components/vm-title/index.js +2 -1
- package/lib/_components/vm-video/index.js +1 -1
- package/lib/_components/vm-wrapper/index.js +2 -2
- package/lib/_components/vm-wrapper/style/index.less +4 -2
- package/lib/_util/http.js +6 -5
- package/lib/_util/index.js +6 -5
- package/lib/locales/en.json +1516 -1377
- package/lib/locales/zh-CN.json +1516 -1377
- package/lib/vtx-area-modal/api.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-base-modal/index.js +2 -1
- package/lib/vtx-car-modal/api.js +415 -25
- package/lib/vtx-car-modal/components/Info/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/EleUse/index.js +206 -0
- package/lib/vtx-car-modal/content/Common/EleUse/index.less +19 -0
- package/lib/vtx-car-modal/content/Common/Maintenance/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilUse/index.js +218 -0
- package/lib/vtx-car-modal/content/Common/OilUse/index.less +19 -0
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +376 -0
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -0
- package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/WaterUse/index.js +196 -0
- package/lib/vtx-car-modal/content/Common/WaterUse/index.less +19 -0
- package/lib/vtx-car-modal/content/Common/index.js +9 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +1 -1
- package/lib/vtx-car-modal/imgs/czb_bg.png +0 -0
- package/lib/vtx-car-modal/imgs/czb_bg_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/bglyh.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/bglyh_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdpc.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdpc_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/dccdje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/dccdje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jscs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jscs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsl.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsl_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jspc.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jspc_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jycs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jycs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyl.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyl_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ljwbcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ljwbcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/njzfy.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/njzfy_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/qzxze.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/qzxze_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgfy.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgfy_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/syxze.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/syxze_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wbzfy.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wbzfy_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkf.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkf_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkfee.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkfee_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/xslc.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/xslc_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ydcb.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ydcb_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yhcb.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yhcb_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yscb.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yscb_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/zjl.png +0 -0
- package/lib/vtx-car-modal/imgs/zjl_dark.png +0 -0
- package/lib/vtx-car-modal/index.js +22 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +4 -4
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +1 -1
- package/lib/vtx-cc-unit-modal/index.js +1 -1
- package/lib/vtx-cp-modal/api.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cp-modal/index.js +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-default-modal/index.js +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +1 -1
- package/lib/vtx-device-modal/index.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
- package/lib/vtx-df-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Table.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
- package/lib/vtx-df-modal/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/index.js +1 -1
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-ysqy-modal/index.js +1 -1
- package/lib/vtx-kh-modal/api2.js +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-kh-modal/components/Record/index.js +1 -1
- package/lib/vtx-kh-modal/index.js +1 -1
- package/lib/vtx-qyry-modal/api.js +1 -1
- package/lib/vtx-qyry-modal/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +4 -4
- package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +51 -34
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +4 -4
- package/lib/vtx-restaurant-modal/index.js +1 -1
- package/lib/vtx-road-modal/api.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-road-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +1 -1
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +1 -1
- package/lib/vtx-road-modal/components/LaneCalendar/index.js +1 -1
- package/lib/vtx-road-modal/components/LaneStatistical/index.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
- package/lib/vtx-road-modal/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/index.js +1 -1
- package/lib/vtx-shxq-modal/api.js +1 -1
- package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +1 -1
- package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/index.js +1 -1
- package/lib/vtx-staff-modal/api.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-staff-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.js +1 -1
- package/lib/vtx-staff-modal/index.js +1 -1
- package/lib/vtx-tfd-modal/api.js +1 -1
- package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +1 -1
- package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +1 -1
- package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-wr-modal/components/Appraise/index.js +1 -1
- package/lib/vtx-wr-modal/components/Base/Jbxx.js +1 -1
- package/lib/vtx-wr-modal/components/Base/Ptss.js +1 -1
- package/lib/vtx-wr-modal/components/Base/Sjjg.js +1 -1
- package/lib/vtx-wr-modal/components/Base/index.js +1 -1
- package/lib/vtx-wr-modal/components/Build/index.js +1 -1
- package/lib/vtx-wr-modal/components/File/index.js +1 -1
- package/lib/vtx-wr-modal/components/Score/index.js +1 -1
- package/lib/vtx-wr-modal/index.js +1 -1
- package/lib/vtx-zf-modal/components/Base/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +4 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +5 -4
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +7 -6
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +6 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +7 -6
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +12 -7
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +6 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +10 -5
- package/lib/vtx-zf-modal/components/File/index.js +1 -1
- package/lib/vtx-zf-modal/components/Process/index.js +1 -1
- package/lib/vtx-zf-modal/components/Record/index.js +1 -1
- package/lib/vtx-zf-modal/components/Right/index.js +1 -1
- package/lib/vtx-zg-modal/api.js +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-zg-modal/index.js +1 -1
- package/lib/vtx-zzz-modal/index.js +3 -3
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ import zhCN from 'antd/es/calendar/locale/zh_CN.js';
|
|
|
16
16
|
import BlockA from "../../_imgs/block_alarm.png";
|
|
17
17
|
import BlockN from "../../_imgs/block_normal.png";
|
|
18
18
|
import { transformRgb } from "../../_util";
|
|
19
|
-
import { getRuntimeLanguage } from "./../../hooks/useTranslation.
|
|
19
|
+
import { getRuntimeLanguage } from "./../../hooks/useTranslation.ts";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
var prefix = 'vm-calendar';
|
|
22
22
|
function VmCalendar(props) {
|
|
@@ -5,7 +5,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import classnames from 'classnames';
|
|
8
|
-
import { translateLocaleText } from "./../../hooks/useTranslation.
|
|
8
|
+
import { translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
9
9
|
import useSettings from "../../_hooks/useSettings";
|
|
10
10
|
import no_chart from "./assets/no_chart.png";
|
|
11
11
|
import no_data from "./assets/no_data.png";
|
|
@@ -5,6 +5,7 @@ import _ from 'lodash';
|
|
|
5
5
|
import { Fragment } from 'react';
|
|
6
6
|
import useSettings from "../../_hooks/useSettings";
|
|
7
7
|
import { DownIcon, UpIcon } from "../../_util/iconSvgHtml";
|
|
8
|
+
import { translateLocaleText } from "../../hooks/useTranslation.ts";
|
|
8
9
|
import "./style";
|
|
9
10
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
11
|
export default function VmFactor(_ref) {
|
|
@@ -20,7 +21,7 @@ export default function VmFactor(_ref) {
|
|
|
20
21
|
compare = _ref.compare,
|
|
21
22
|
compareValue = _ref.compareValue,
|
|
22
23
|
_ref$compareName = _ref.compareName,
|
|
23
|
-
compareName = _ref$compareName === void 0 ? '
|
|
24
|
+
compareName = _ref$compareName === void 0 ? translateLocaleText("t('_components.comparedWithYesterday')") : _ref$compareName,
|
|
24
25
|
_ref$compareUnit = _ref.compareUnit,
|
|
25
26
|
compareUnit = _ref$compareUnit === void 0 ? '' : _ref$compareUnit,
|
|
26
27
|
_ref$isError = _ref.isError,
|
|
@@ -15,7 +15,7 @@ import { useDebounce } from 'ahooks';
|
|
|
15
15
|
import { DatePicker, Input, Select } from 'antd';
|
|
16
16
|
import enUS from 'antd/es/date-picker/locale/en_US';
|
|
17
17
|
import zhCN from 'antd/es/date-picker/locale/zh_CN';
|
|
18
|
-
import { getRuntimeLanguage, translateLocaleText } from "./../../hooks/useTranslation.
|
|
18
|
+
import { getRuntimeLanguage, translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
19
19
|
import { useEffect, useState } from 'react';
|
|
20
20
|
import useSettings from "../../_hooks/useSettings";
|
|
21
21
|
import "../../_util/setupDayjs";
|
|
@@ -12,6 +12,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
12
12
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
13
|
import { VtxImage, VtxUpload } from '@vtx/components';
|
|
14
14
|
import { isNumber } from 'lodash';
|
|
15
|
+
import { translateLocaleText } from "../../hooks/useTranslation.ts";
|
|
15
16
|
import "./style";
|
|
16
17
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
18
|
function InfoCollection(props) {
|
|
@@ -57,7 +58,7 @@ function InfoCollection(props) {
|
|
|
57
58
|
className: "ellipsis info-label-b-text",
|
|
58
59
|
children: [item.label, " \uFF1A"]
|
|
59
60
|
})
|
|
60
|
-
}), item.label === '
|
|
61
|
+
}), item.label === translateLocaleText("t('vtxrestaurantmodal.address')") || item.isAddress ? /*#__PURE__*/_jsx("div", {
|
|
61
62
|
className: "value",
|
|
62
63
|
style: style,
|
|
63
64
|
title: item.value || '',
|
|
@@ -123,7 +124,7 @@ var ValueDom = function ValueDom(componentType, value, isTitle) {
|
|
|
123
124
|
node = lngLats;
|
|
124
125
|
break;
|
|
125
126
|
case 'SWITCH':
|
|
126
|
-
node = value || (value ? '
|
|
127
|
+
node = value || (value ? translateLocaleText("t('common.yes')") : translateLocaleText("t('common.no')"));
|
|
127
128
|
break;
|
|
128
129
|
case 'GARBAGE_CAN':
|
|
129
130
|
var arr = [];
|
|
@@ -19,7 +19,7 @@ import proj4 from 'proj4';
|
|
|
19
19
|
import { useEffect, useRef, useState } from 'react';
|
|
20
20
|
import useSettings from "../../_hooks/useSettings";
|
|
21
21
|
import "./index.less";
|
|
22
|
-
import { translateLocaleText } from "./../../hooks/useTranslation.
|
|
22
|
+
import { translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
export default function VmOlMap(_ref) {
|
|
25
25
|
var _mapInfo$olProps, _points$data2, _polygons$data2, _newPoints$data3;
|
|
@@ -9,6 +9,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
9
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
10
|
import { Progress } from 'antd';
|
|
11
11
|
import useSettings from "../../_hooks/useSettings";
|
|
12
|
+
import { translateLocaleText } from "../../hooks/useTranslation.ts";
|
|
12
13
|
import "./style";
|
|
13
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
15
|
export function Line(props) {
|
|
@@ -52,7 +53,7 @@ var Circle = function Circle(props) {
|
|
|
52
53
|
_props$width2 = props.width,
|
|
53
54
|
width = _props$width2 === void 0 ? 120 : _props$width2,
|
|
54
55
|
_props$name = props.name,
|
|
55
|
-
name = _props$name === void 0 ? '
|
|
56
|
+
name = _props$name === void 0 ? translateLocaleText("t('_components.effectiveOperationRate')") : _props$name,
|
|
56
57
|
_props$unit = props.unit,
|
|
57
58
|
unit = _props$unit === void 0 ? '%' : _props$unit,
|
|
58
59
|
info = props.info,
|
|
@@ -7,7 +7,7 @@ import count from "./imgs/count.png";
|
|
|
7
7
|
import VmFactor from "../vm-factor";
|
|
8
8
|
import amountLight from "./imgs/amount_light.png";
|
|
9
9
|
import countLight from "./imgs/count_light.png";
|
|
10
|
-
import { translateLocaleText } from "./../../hooks/useTranslation.
|
|
10
|
+
import { translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
var RmInfoSummary = function RmInfoSummary(props) {
|
|
13
13
|
var data = props.data;
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import { translateLocaleText } from "./../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
8
8
|
/**
|
|
9
9
|
* 月度趋势分析
|
|
10
10
|
*/
|
|
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
11
|
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; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
-
import { translateLocaleText } from "./../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
14
14
|
/**
|
|
15
15
|
* 维保记录
|
|
16
16
|
*/
|
|
@@ -26,7 +26,7 @@ import zhCN from 'antd/es/locale/zh_CN';
|
|
|
26
26
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
27
27
|
import useSettings from "../../_hooks/useSettings";
|
|
28
28
|
import "./style";
|
|
29
|
-
import { getRuntimeLanguage, translateLocaleText } from "./../../hooks/useTranslation.
|
|
29
|
+
import { getRuntimeLanguage, translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
30
30
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
31
31
|
var VMTable = function VMTable(props) {
|
|
32
32
|
var _props$rowKey = props.rowKey,
|
|
@@ -5,13 +5,14 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import useSettings from "../../_hooks/useSettings";
|
|
8
|
+
import { translateLocaleText } from "../../hooks/useTranslation.ts";
|
|
8
9
|
import "./style";
|
|
9
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
11
|
export default function VmWrapper(props) {
|
|
11
12
|
var _useSettings = useSettings(),
|
|
12
13
|
isDark = _useSettings.isDark;
|
|
13
14
|
var _props$title = props.title,
|
|
14
|
-
title = _props$title === void 0 ? '
|
|
15
|
+
title = _props$title === void 0 ? translateLocaleText("t('_components.basicInformation')") : _props$title,
|
|
15
16
|
_props$type = props.type,
|
|
16
17
|
type = _props$type === void 0 ? 'blue' : _props$type,
|
|
17
18
|
_props$style = props.style,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import classnames from 'classnames';
|
|
2
2
|
import useSettings from "../../_hooks/useSettings";
|
|
3
3
|
import { ClockIcon } from "../../_util/iconSvgHtml";
|
|
4
|
+
import { translateLocaleText } from "../../hooks/useTranslation.ts";
|
|
4
5
|
import "./style";
|
|
5
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
7
|
export default function VmWrapper(props) {
|
|
7
8
|
var _useSettings = useSettings(),
|
|
8
9
|
isDark = _useSettings.isDark;
|
|
9
10
|
var _props$title = props.title,
|
|
10
|
-
title = _props$title === void 0 ? '
|
|
11
|
+
title = _props$title === void 0 ? translateLocaleText("t('_components.basicInformation')") : _props$title,
|
|
11
12
|
_props$time = props.time,
|
|
12
13
|
time = _props$time === void 0 ? '' : _props$time,
|
|
13
14
|
_props$border = props.border,
|
|
@@ -24,7 +24,7 @@ import { VmTabs } from "../vm-tabs";
|
|
|
24
24
|
import HistoryGrid from "./HistoryGrid";
|
|
25
25
|
import "./index.less";
|
|
26
26
|
import RealtimeGrid from "./RealtimeGrid";
|
|
27
|
-
import { translateLocaleText } from "./../../hooks/useTranslation.
|
|
27
|
+
import { translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
28
28
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
29
29
|
var VmVideo = function VmVideo(_ref) {
|
|
30
30
|
var _ref$channels = _ref.channels,
|
|
@@ -18,7 +18,7 @@ import useSettings from "../../_hooks/useSettings";
|
|
|
18
18
|
import { ChartIcon, DateIcon, ListIcon } from "../../_util/iconSvgHtml";
|
|
19
19
|
import VmFilter from "../vm-filter";
|
|
20
20
|
import "./style";
|
|
21
|
-
import { translateLocaleText } from "./../../hooks/useTranslation.
|
|
21
|
+
import { translateLocaleText } from "./../../hooks/useTranslation.ts";
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
23
|
var VMDatePicker = VmFilter.VMDatePicker,
|
|
24
24
|
VMMonthPicker = VmFilter.VMMonthPicker,
|
|
@@ -90,7 +90,7 @@ export default function VmWrapper(props) {
|
|
|
90
90
|
changeList.push({
|
|
91
91
|
key: 'chart',
|
|
92
92
|
icon: ListIcon,
|
|
93
|
-
name: '
|
|
93
|
+
name: translateLocaleText("t('_components.chart')")
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
if (showList) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--wborder-color: #f1f0f0;
|
|
5
5
|
--wfilter-bg: #f5f5f5;
|
|
6
6
|
--wtype-bg: #fff;
|
|
7
|
-
--tab-active-color: #
|
|
7
|
+
--tab-active-color: #1677ff;
|
|
8
8
|
|
|
9
9
|
&.dark {
|
|
10
10
|
--wbg-color: rgba(0, 155, 233, 10%);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--wborder-color: #1064a7;
|
|
13
13
|
--wfilter-bg: #0b588e;
|
|
14
14
|
--wtype-bg: #0168b0;
|
|
15
|
-
--tab-active-color: #
|
|
15
|
+
--tab-active-color: #009dff;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&-tabs-wrap {
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
&-head {
|
|
56
56
|
padding: 11px 16px;
|
|
57
57
|
border-bottom: 1px solid var(--wborder-color);
|
|
58
|
+
border-top-left-radius: 8px;
|
|
59
|
+
border-top-right-radius: 8px;
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
.extra {
|
package/lib/_util/http.js
CHANGED
|
@@ -15,6 +15,7 @@ import { message } from 'antd';
|
|
|
15
15
|
import isObject from 'lodash/isObject';
|
|
16
16
|
import pickBy from 'lodash/pickBy';
|
|
17
17
|
import qs from 'qs';
|
|
18
|
+
import { translateLocaleText } from "../hooks/useTranslation.ts";
|
|
18
19
|
var SECOND = 30;
|
|
19
20
|
var MILL_SECOND = 1000;
|
|
20
21
|
var baseUrlPrefix = process.env.PREFIX ? "/".concat(process.env.PREFIX) : '';
|
|
@@ -233,7 +234,7 @@ var Http = /*#__PURE__*/function () {
|
|
|
233
234
|
if (((_config = config) === null || _config === void 0 || (_config = _config.url) === null || _config === void 0 ? void 0 : _config.indexOf('zdjg/jg/data/getJgDataStatistics')) > -1 || ((_config2 = config) === null || _config2 === void 0 || (_config2 = _config2.url) === null || _config2 === void 0 ? void 0 : _config2.indexOf('/cloud/zd/base/api/cp/commonFactory')) > -1) {
|
|
234
235
|
return;
|
|
235
236
|
}
|
|
236
|
-
message.error(data.msg || '
|
|
237
|
+
message.error(data.msg || translateLocaleText("t('common.requestInfoError')"));
|
|
237
238
|
return;
|
|
238
239
|
}
|
|
239
240
|
}
|
|
@@ -257,18 +258,18 @@ var Http = /*#__PURE__*/function () {
|
|
|
257
258
|
var msg;
|
|
258
259
|
switch (error.response.status) {
|
|
259
260
|
case 404:
|
|
260
|
-
msg = '
|
|
261
|
+
msg = translateLocaleText("t('common.apiRequestNotFound404')");
|
|
261
262
|
break;
|
|
262
263
|
case 500:
|
|
263
|
-
msg = '
|
|
264
|
+
msg = translateLocaleText("t('common.serverApiException500')");
|
|
264
265
|
break;
|
|
265
266
|
default:
|
|
266
|
-
msg = '
|
|
267
|
+
msg = translateLocaleText("t('common.requestErrorRetry')");
|
|
267
268
|
break;
|
|
268
269
|
}
|
|
269
270
|
message.error(msg);
|
|
270
271
|
} else {
|
|
271
|
-
message.error('
|
|
272
|
+
message.error(translateLocaleText("t('common.serviceUnavailable')"));
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
275
|
|
package/lib/_util/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { translateLocaleText } from "../hooks/useTranslation.ts";
|
|
1
2
|
// 秒转化为时间的格式化字符串
|
|
2
3
|
export function secondToFormatTime(times) {
|
|
3
4
|
if (times <= 0) return '--';
|
|
4
5
|
var timeStr = '';
|
|
5
6
|
var remain = times;
|
|
6
7
|
var days = Math.floor(remain / (24 * 60 * 60));
|
|
7
|
-
if (days) timeStr += "".concat(days
|
|
8
|
+
if (days) timeStr += "".concat(days).concat(translateLocaleText("t('common.unit.day')"));
|
|
8
9
|
remain = remain % (24 * 60 * 60);
|
|
9
10
|
var hours = Math.floor(remain / (60 * 60));
|
|
10
11
|
if (hours) timeStr += "".concat(hours, "h");
|
|
@@ -42,7 +43,7 @@ export function secondToFormatTimeArray(times) {
|
|
|
42
43
|
var days = Math.floor(remain / (24 * 60 * 60));
|
|
43
44
|
if (days) timeList.push({
|
|
44
45
|
value: days,
|
|
45
|
-
unit: '
|
|
46
|
+
unit: translateLocaleText("t('common.unit.day')")
|
|
46
47
|
});
|
|
47
48
|
remain = remain % (24 * 60 * 60);
|
|
48
49
|
var hours = Math.floor(remain / (60 * 60));
|
|
@@ -69,7 +70,7 @@ export var getFieldRender = function getFieldRender(fields, info) {
|
|
|
69
70
|
fields.forEach(function (item) {
|
|
70
71
|
if ((info !== null && info !== void 0 && info[item.showKey] || item.showKey === 'tenderName') && !['address', 'divisionName', 'accUnitName', 'manageUnitName', 'description', 'panoramaLinkAddress'].includes(item.showKey)) {
|
|
71
72
|
list.push({
|
|
72
|
-
label: item.name,
|
|
73
|
+
label: item.showName || item.name,
|
|
73
74
|
key: item.showKey,
|
|
74
75
|
value: info === null || info === void 0 ? void 0 : info[item.showKey],
|
|
75
76
|
componentType: item.component.type
|
|
@@ -80,7 +81,7 @@ export var getFieldRender = function getFieldRender(fields, info) {
|
|
|
80
81
|
var _info$dataJson;
|
|
81
82
|
if (['address', 'divisionName', 'accUnitName', 'manageUnitName', 'description', 'panoramaLinkAddress'].includes(item.showKey)) {
|
|
82
83
|
list.push({
|
|
83
|
-
label: item.name,
|
|
84
|
+
label: item.showName || item.name,
|
|
84
85
|
key: item.showKey,
|
|
85
86
|
value: info === null || info === void 0 ? void 0 : info[item.showKey],
|
|
86
87
|
componentType: item.component.type
|
|
@@ -88,7 +89,7 @@ export var getFieldRender = function getFieldRender(fields, info) {
|
|
|
88
89
|
} else if (info !== null && info !== void 0 && (_info$dataJson = info.dataJson) !== null && _info$dataJson !== void 0 && _info$dataJson[item.showKey]) {
|
|
89
90
|
var _info$dataJson2;
|
|
90
91
|
list.push({
|
|
91
|
-
label: item.name,
|
|
92
|
+
label: item.showName || item.name,
|
|
92
93
|
key: item.showKey,
|
|
93
94
|
value: info === null || info === void 0 || (_info$dataJson2 = info.dataJson) === null || _info$dataJson2 === void 0 ? void 0 : _info$dataJson2[item.showKey],
|
|
94
95
|
componentType: item.component.type
|