@vtx/modals2 6.0.0-beta.1 → 6.0.0-beta.3
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 +3 -4
- 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 +8 -8
- 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 +3 -3
- 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 +23 -3
- 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
|
@@ -9,7 +9,7 @@ import { Col, Row } from 'antd';
|
|
|
9
9
|
import dayjs from 'dayjs';
|
|
10
10
|
import { VmFactor, VmProgress } from "../../../../_components";
|
|
11
11
|
import useSettings from "../../../../_hooks/useSettings";
|
|
12
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
12
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
export default function (props) {
|
|
15
15
|
var _useSettings = useSettings(),
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -17,10 +17,10 @@ import { VmCustom, VmIframeModal, VmVideo } from "../_components";
|
|
|
17
17
|
import useGetChannels from "../_hooks/useGetChannels";
|
|
18
18
|
import useGetConfig from "../_hooks/useGetConfig";
|
|
19
19
|
import VtxBaseModal from "../vtx-base-modal";
|
|
20
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
20
21
|
import { BaseService, OilService } from "./api";
|
|
21
22
|
import { Cc, Common, JXH, Jzlj, Ljsy, Ljzy } from "./content";
|
|
22
23
|
import "./style";
|
|
23
|
-
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
24
24
|
// 总览信息
|
|
25
25
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
26
26
|
var TABS_BASE = 'base';
|
|
@@ -32,6 +32,14 @@ var TABS_ALARM = 'alarm';
|
|
|
32
32
|
var TABS_STATIC = 'static';
|
|
33
33
|
// 水耗信息
|
|
34
34
|
var TABS_WATER = 'water';
|
|
35
|
+
// 用水信息
|
|
36
|
+
var TABS_WATER_USE = 'water-use';
|
|
37
|
+
// 用电信息
|
|
38
|
+
var TABS_ELE_USE = 'ele-use';
|
|
39
|
+
// 加油信息
|
|
40
|
+
var TABS_OIL_USE = 'oil-use';
|
|
41
|
+
// 运营信息
|
|
42
|
+
var TABS_OPERATION = 'operation';
|
|
35
43
|
// 油耗信息
|
|
36
44
|
var TABS_OIL = 'oil';
|
|
37
45
|
// 维保信息
|
|
@@ -190,6 +198,18 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
190
198
|
}, {
|
|
191
199
|
key: TABS_JXH_ALARM,
|
|
192
200
|
title: translateLocaleText("t('vtxqyrymodal.alarmInformation')")
|
|
201
|
+
}, {
|
|
202
|
+
key: TABS_WATER_USE,
|
|
203
|
+
title: translateLocaleText("t('vtxcarmodal.waterUseInformation')")
|
|
204
|
+
}, {
|
|
205
|
+
key: TABS_ELE_USE,
|
|
206
|
+
title: translateLocaleText("t('vtxcarmodal.eleUseInformation')")
|
|
207
|
+
}, {
|
|
208
|
+
key: TABS_OIL_USE,
|
|
209
|
+
title: translateLocaleText("t('vtxcarmodal.oilUseInformation')")
|
|
210
|
+
}, {
|
|
211
|
+
key: TABS_OPERATION,
|
|
212
|
+
title: translateLocaleText("t('vtxcarmodal.operationInformation')")
|
|
193
213
|
}];
|
|
194
214
|
} else if (actionType.includes('ACTION_CC')) {
|
|
195
215
|
tabs = [{
|
|
@@ -252,7 +272,7 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
252
272
|
}, [info === null || info === void 0 ? void 0 : info.actionType]);
|
|
253
273
|
var contents = (_contents = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_BASE, /*#__PURE__*/_jsx(Common.BaseInfo, {})), TABS_STATIC, /*#__PURE__*/_jsx(Common.StaticInfo, {})), TABS_ALARM, /*#__PURE__*/_jsx(Common.AlarmInfo, {})), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
|
|
254
274
|
channels: channels
|
|
255
|
-
})), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})),
|
|
275
|
+
})), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})), TABS_WATER_USE, /*#__PURE__*/_jsx(Common.WaterUse, {})), TABS_ELE_USE, /*#__PURE__*/_jsx(Common.EleUse, {})), TABS_OIL_USE, /*#__PURE__*/_jsx(Common.OilUse, {})), TABS_OPERATION, /*#__PURE__*/_jsx(Common.OperationAnalysis, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_MAINTENANCE, /*#__PURE__*/_jsx(Common.Maintenance, {})), TABS_DETAIL, /*#__PURE__*/_jsx(Common.DetailInfo, {})), TABS_DEVICE, /*#__PURE__*/_jsx(Common.DeviceInfo, {})), TABS_JXH_BASE, /*#__PURE__*/_jsx(JXH.BaseInfo, {})), TABS_JXH_STATIC, /*#__PURE__*/_jsx(JXH.StaticInfo, {})), TABS_JXH_WORK, /*#__PURE__*/_jsx(JXH.WorkRecord, {})), TABS_JXH_ALARM, /*#__PURE__*/_jsx(JXH.AlarmInfo, {})), TABS_JXH_BASE_HW_2, /*#__PURE__*/_jsx(JXH.Hw2BaseInfo, {})), TABS_JXH_STATIC_HW_2, /*#__PURE__*/_jsx(JXH.Hw2StaticInfo, {})), TABS_JXH_WORK_HW_2, /*#__PURE__*/_jsx(JXH.Hw2WorkRecord, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_JXH_ALARM_HW_2, /*#__PURE__*/_jsx(JXH.Hw2AlarmInfo, {})), TABS_LJSY_BASE, /*#__PURE__*/_jsx(Ljsy.BaseInfo, {})), TABS_LJSY_STATIC, /*#__PURE__*/_jsx(Ljsy.StaticInfo, {})), TABS_LJSY_WORK, /*#__PURE__*/_jsx(Ljsy.WorkRecord, {})), TABS_LJSY_ALARM, /*#__PURE__*/_jsx(Ljsy.AlarmInfo, {})), TABS_CC_BASE, /*#__PURE__*/_jsx(Cc.BaseInfo, {})), TABS_CC_ORDER, /*#__PURE__*/_jsx(Cc.OrderInfo, {})), TABS_CC_STATIC, /*#__PURE__*/_jsx(Cc.StaticInfo, {})), TABS_CC_WORK, /*#__PURE__*/_jsx(Cc.WorkRecord, {})), TABS_CC_ALARM, /*#__PURE__*/_jsx(Cc.AlarmInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_LJZY_BASE, /*#__PURE__*/_jsx(Ljzy.BaseInfo, {})), TABS_LJZY_STATIC, /*#__PURE__*/_jsx(Ljzy.StaticInfo, {})), TABS_LJZY_WORK, /*#__PURE__*/_jsx(Ljzy.WorkRecord, {})), TABS_JZLJ_CAR_BASE, /*#__PURE__*/_jsx(Jzlj.BaseInfo, {})), TABS_JZLJ_CAR_DISPOSE, /*#__PURE__*/_jsx(Jzlj.Dispose, {})), TABS_JZLJ_CAR_COLLECTION, /*#__PURE__*/_jsx(Jzlj.Collection, {})), TABS_JZLJ_CAR_ALARM, /*#__PURE__*/_jsx(Jzlj.Alarm, {})), TABS_JZLJ_CAR_RUNNING_CALENDAR, /*#__PURE__*/_jsx(Jzlj.RunCalendar, {})));
|
|
256
276
|
var _useGetConfig = useGetConfig(code, tabs),
|
|
257
277
|
tabsData = _useGetConfig.tabsData;
|
|
258
278
|
var tabsList = useMemo(function () {
|
|
@@ -317,7 +337,7 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
317
337
|
theme: theme,
|
|
318
338
|
visible: visible,
|
|
319
339
|
onCancel: onCancel,
|
|
320
|
-
tabs:
|
|
340
|
+
tabs: tabs,
|
|
321
341
|
tabChose: tabChose,
|
|
322
342
|
startDate: startDate,
|
|
323
343
|
endDate: endDate,
|
|
@@ -16,7 +16,7 @@ import { useContext, useState } from 'react';
|
|
|
16
16
|
import { VmTable, VmWrapper } from "../../../_components";
|
|
17
17
|
import { AlarmService } from "../../api";
|
|
18
18
|
import { CcCpContext } from "../../index";
|
|
19
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
var TABLE_SCROLL_X = 980;
|
|
22
22
|
var alarmTabs = [{
|
|
@@ -3,7 +3,7 @@ import { useContext } from 'react';
|
|
|
3
3
|
import { VmEmpty, VmLineCharts } from "../../../_components";
|
|
4
4
|
import { AlarmService } from "../../api";
|
|
5
5
|
import { CcCpContext } from "../../index";
|
|
6
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
6
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
var AlarmTrend = function AlarmTrend(_ref) {
|
|
9
9
|
var startDate = _ref.startDate,
|
|
@@ -4,7 +4,7 @@ import { useContext } from 'react';
|
|
|
4
4
|
import { VmEmpty, VmPieCharts } from "../../../_components";
|
|
5
5
|
import { AlarmService } from "../../api";
|
|
6
6
|
import { CcCpContext } from "../../index";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
var AlarmTypeAnalysis = function AlarmTypeAnalysis(_ref) {
|
|
10
10
|
var startDate = _ref.startDate,
|
|
@@ -2,7 +2,7 @@ import { Col, Row } from 'antd';
|
|
|
2
2
|
import { VmWrapper } from "../../../_components";
|
|
3
3
|
import AlarmTrend from "./AlarmTrend";
|
|
4
4
|
import AlarmTypeAnalysis from "./AlarmTypeAnalysis";
|
|
5
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
5
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
var StaticInfo = function StaticInfo(_ref) {
|
|
8
8
|
var startDate = _ref.startDate,
|
|
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../_components/vm-filter";
|
|
|
12
12
|
import useSettings from "../../../_hooks/useSettings";
|
|
13
13
|
import AlarmRecord from "./AlarmRecord";
|
|
14
14
|
import StaticInfo from "./StaticInfo";
|
|
15
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
15
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
var AlarmInfo = function AlarmInfo() {
|
|
18
18
|
var _useSettings = useSettings(),
|
|
@@ -10,7 +10,7 @@ import { VmFactor, VmProgress, VmWrapper } from "../../../_components";
|
|
|
10
10
|
import useSettings from "../../../_hooks/useSettings";
|
|
11
11
|
import { BasicService } from "../../../vtx-cc-cp-modal/api";
|
|
12
12
|
import { CcCpContext } from "../../index";
|
|
13
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
var AllWork = function AllWork() {
|
|
16
16
|
var _useSettings = useSettings(),
|
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
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; }
|
|
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
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
8
8
|
import { VmInfoCollection, VmMap } from "../../../_components";
|
|
9
9
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
var Info = function Info(_ref) {
|
|
@@ -4,7 +4,7 @@ import { VmInfoCollection, VmTag } from "../../../_components";
|
|
|
4
4
|
import { BasicService } from "../../../vtx-cc-cp-modal/api";
|
|
5
5
|
import { CcCpContext } from "../../index";
|
|
6
6
|
import "./index.less";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
9
9
|
var Rules = function Rules(_ref) {
|
|
10
10
|
var id = _ref.id;
|
|
@@ -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
|
import { useSetState } from 'ahooks';
|
|
15
15
|
import { useContext } from 'react';
|
|
16
16
|
import { VmTable, VmTag } from "../../../_components";
|
|
@@ -17,7 +17,7 @@ import useSettings from "../../../_hooks/useSettings";
|
|
|
17
17
|
import { BasicService } from "../../api";
|
|
18
18
|
import { CcCpContext } from "../../index";
|
|
19
19
|
import "./index.less";
|
|
20
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
20
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
21
21
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
22
22
|
var CalendarContent = function CalendarContent(_ref) {
|
|
23
23
|
var isCollect = _ref.isCollect,
|
|
@@ -73,7 +73,7 @@ var CalendarContent = function CalendarContent(_ref) {
|
|
|
73
73
|
children: [/*#__PURE__*/_jsx("div", {
|
|
74
74
|
children: collectItem !== null && collectItem !== void 0 && collectItem.weighTime ? dayjs(collectItem.weighTime).format('HH:mm:ss') : '--' || '--'
|
|
75
75
|
}), /*#__PURE__*/_jsx(VmTag, {
|
|
76
|
-
title: '
|
|
76
|
+
title: translateLocaleText("t('vtxrestaurantmodal.collected')"),
|
|
77
77
|
type: 'green'
|
|
78
78
|
})]
|
|
79
79
|
}), /*#__PURE__*/_jsxs("div", {
|
|
@@ -81,13 +81,13 @@ var CalendarContent = function CalendarContent(_ref) {
|
|
|
81
81
|
style: {
|
|
82
82
|
height: 14
|
|
83
83
|
},
|
|
84
|
-
children: [collectItem === null || collectItem === void 0 ? void 0 : collectItem.trashNum, "
|
|
84
|
+
children: [collectItem === null || collectItem === void 0 ? void 0 : collectItem.trashNum, translateLocaleText("t('common.unit.bucket')"), " / ", collectItem === null || collectItem === void 0 ? void 0 : collectItem.netWeight, "kg"]
|
|
85
85
|
}), /*#__PURE__*/_jsx("div", {
|
|
86
86
|
className: 'cc_restaurant_calendar-content-item',
|
|
87
87
|
children: collectItem === null || collectItem === void 0 ? void 0 : collectItem.carCode
|
|
88
88
|
})]
|
|
89
89
|
}) : null, isEmpty(collectList) && isAfter && isCollect ? /*#__PURE__*/_jsx(VmTag, {
|
|
90
|
-
title: '
|
|
90
|
+
title: translateLocaleText("t('vtxrestaurantmodal.notCollected')"),
|
|
91
91
|
type: 'yellow',
|
|
92
92
|
style: {
|
|
93
93
|
width: '100%'
|
|
@@ -3,7 +3,7 @@ import { useContext } from 'react';
|
|
|
3
3
|
import { VmEmpty, VmLineCharts } from "../../../_components";
|
|
4
4
|
import { ExceptionService } from "../../api";
|
|
5
5
|
import { CcCpContext } from "../../index";
|
|
6
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
6
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
var ExceptionTrend = function ExceptionTrend(_ref) {
|
|
9
9
|
var startDate = _ref.startDate,
|
|
@@ -4,7 +4,7 @@ import { useContext } from 'react';
|
|
|
4
4
|
import { VmEmpty, VmPieCharts } from "../../../_components";
|
|
5
5
|
import { ExceptionService } from "../../api";
|
|
6
6
|
import { CcCpContext } from "../../index";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
var ExceptionTypeAnalysis = function ExceptionTypeAnalysis(_ref) {
|
|
10
10
|
var startDate = _ref.startDate,
|
|
@@ -16,7 +16,7 @@ import { useContext } from 'react';
|
|
|
16
16
|
import { VmTable, VmWrapper } from "../../../_components";
|
|
17
17
|
import { ExceptionService } from "../../api";
|
|
18
18
|
import { CcCpContext } from "../../index";
|
|
19
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
var TABLE_SCROLL_X = 970;
|
|
22
22
|
var columns = [{
|
|
@@ -2,7 +2,7 @@ import { Col, Row } from 'antd';
|
|
|
2
2
|
import { VmWrapper } from "../../../_components";
|
|
3
3
|
import ExceptionTrend from "./ExceptionTrend";
|
|
4
4
|
import ExceptionTypeAnalysis from "./ExceptionTypeAnalysis";
|
|
5
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
5
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
var StaticInfo = function StaticInfo(_ref) {
|
|
8
8
|
var startDate = _ref.startDate,
|
|
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../_components/vm-filter";
|
|
|
12
12
|
import useSettings from "../../../_hooks/useSettings";
|
|
13
13
|
import ExeceptionRecord from "./ExeceptionRecord";
|
|
14
14
|
import StaticInfo from "./StaticInfo";
|
|
15
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
15
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
var ExeceptionInfo = function ExeceptionInfo() {
|
|
18
18
|
var _useSettings = useSettings(),
|
|
@@ -15,7 +15,7 @@ import { useContext } from 'react';
|
|
|
15
15
|
import { VmTable, VmWrapper } from "../../../_components";
|
|
16
16
|
import { BasicService } from "../../../vtx-cc-cp-modal/api";
|
|
17
17
|
import { CcCpContext } from "../../index";
|
|
18
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
18
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
19
19
|
import "./index.less";
|
|
20
20
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
21
21
|
var TABLE_SCROLL_X = 1180;
|
|
@@ -4,7 +4,7 @@ import { useContext } from 'react';
|
|
|
4
4
|
import { VmEmpty, VmLineCharts } from "../../../_components";
|
|
5
5
|
import { BasicService } from "../../api";
|
|
6
6
|
import { CcCpContext } from "../../index";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
8
8
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
9
9
|
var Ljcsl = function Ljcsl(_ref) {
|
|
10
10
|
var startDay = _ref.startDay,
|
|
@@ -11,7 +11,7 @@ import useSettings from "../../../_hooks/useSettings";
|
|
|
11
11
|
import { BasicService } from "../../api";
|
|
12
12
|
import { CcCpContext } from "../../index";
|
|
13
13
|
import "../BaseInfo/index.less";
|
|
14
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
14
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
16
|
var SummaryInfo = function SummaryInfo(_ref) {
|
|
17
17
|
var startDay = _ref.startDay,
|
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
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; }
|
|
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
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
8
8
|
import { useSetState } from 'ahooks';
|
|
9
9
|
import { Col, Row } from 'antd';
|
|
10
10
|
import dayjs from 'dayjs';
|
|
@@ -20,7 +20,7 @@ import VtxCarModal from "../vtx-car-modal";
|
|
|
20
20
|
import VtxRestaurantModal from "../vtx-restaurant-modal";
|
|
21
21
|
import { AlarmInfo, BaseInfo, Calendar, ExceptionInfo, Restaurant, SyInfo } from "./components";
|
|
22
22
|
import "./style";
|
|
23
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
23
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
24
24
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
var TABS_BASE = 'base';
|
|
26
26
|
var TABS_SY = 'sy';
|
|
@@ -8,7 +8,7 @@ import { useContext } from 'react';
|
|
|
8
8
|
import { VmTable } from "../../../_components";
|
|
9
9
|
import { BasicService } from "../../api";
|
|
10
10
|
import { CcUnitContext } from "../../index";
|
|
11
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
11
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
var CollectRecord = function CollectRecord(_ref) {
|
|
14
14
|
var id = _ref.id,
|
|
@@ -10,7 +10,7 @@ import { useState } from 'react';
|
|
|
10
10
|
import { VmWrapper } from "../../../_components";
|
|
11
11
|
import CollectRecord from "./CollectRecord";
|
|
12
12
|
import Factory from "./Factory";
|
|
13
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
var DetailList = function DetailList(_ref) {
|
|
16
16
|
var id = _ref.id,
|
|
@@ -8,7 +8,7 @@ import { useContext } from 'react';
|
|
|
8
8
|
import { VmTable } from "../../../_components";
|
|
9
9
|
import { BasicService } from "../../api";
|
|
10
10
|
import { CcUnitContext } from "../../index";
|
|
11
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
11
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
var Factory = function Factory(_ref) {
|
|
14
14
|
var id = _ref.id,
|
|
@@ -16,7 +16,7 @@ import dayjs from 'dayjs';
|
|
|
16
16
|
import { VmFactor, VmWrapper } from "../../../_components";
|
|
17
17
|
import useSettings from "../../../_hooks/useSettings";
|
|
18
18
|
import { BasicService } from "../../api";
|
|
19
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
var Statistics = function Statistics(_ref) {
|
|
22
22
|
var id = _ref.id,
|
|
@@ -10,7 +10,7 @@ import { VmInfoCollection, VmMap, VmWrapper } from "../../../_components";
|
|
|
10
10
|
import DetailList from "./DetailList";
|
|
11
11
|
import "./index.less";
|
|
12
12
|
import Statistics from "./Statistics";
|
|
13
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
var BaseInfo = function BaseInfo(_ref) {
|
|
16
16
|
var _info$location;
|
|
@@ -16,7 +16,7 @@ import { useContext } from 'react';
|
|
|
16
16
|
import { VmFilter, VmTable, VmWrapper } from "../../../_components";
|
|
17
17
|
import { BasicService } from "../../api";
|
|
18
18
|
import { CcUnitContext } from "../../index";
|
|
19
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
var CarList = function CarList(_ref) {
|
|
22
22
|
var id = _ref.id;
|
|
@@ -17,7 +17,7 @@ import { VmFactor, VmWrapper } from "../../../_components";
|
|
|
17
17
|
import useSettings from "../../../_hooks/useSettings";
|
|
18
18
|
import { BasicService } from "../../api";
|
|
19
19
|
import CollectRecord from "../BaseInfo/CollectRecord";
|
|
20
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
20
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
21
21
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
22
|
var Collection = function Collection(_ref) {
|
|
23
23
|
var id = _ref.id,
|
|
@@ -7,7 +7,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
7
7
|
import { getVtxToken } from '@vtx/utils';
|
|
8
8
|
import { Image } from 'antd';
|
|
9
9
|
import { VmInfoCollection, VmMap, VmWrapper } from "../../../_components";
|
|
10
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
10
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
11
11
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
var DetailInfo = function DetailInfo(_ref) {
|
|
13
13
|
var _info$location;
|
|
@@ -20,7 +20,7 @@ import { VmBarCharts, VmFactor, VmWrapper } from "../../../_components";
|
|
|
20
20
|
import useSettings from "../../../_hooks/useSettings";
|
|
21
21
|
import { BasicService } from "../../api";
|
|
22
22
|
import FactoryRecord from "../BaseInfo/Factory";
|
|
23
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
23
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
24
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
var Factory = function Factory(_ref) {
|
|
26
26
|
var id = _ref.id,
|
|
@@ -16,7 +16,7 @@ import { useContext } from 'react';
|
|
|
16
16
|
import { VmFilter, VmTable, VmWrapper } from "../../../_components";
|
|
17
17
|
import { BasicService } from "../../api";
|
|
18
18
|
import { CcUnitContext } from "../../index";
|
|
19
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
var RestaurantList = function RestaurantList(_ref) {
|
|
22
22
|
var id = _ref.id,
|
|
@@ -19,7 +19,7 @@ import VtxRestaurantModal from "../vtx-restaurant-modal";
|
|
|
19
19
|
import { BasicService } from "./api";
|
|
20
20
|
import { BaseInfo, CarList, Collection, DetailInfo, Factory, RestaurantList } from "./components";
|
|
21
21
|
import "./style";
|
|
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
|
var TABS_BASE = 'base';
|
|
25
25
|
var TABS_RESTAURANT = 'restaurant';
|
package/lib/vtx-cp-modal/api.js
CHANGED
|
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
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 { request } from '@vtx/utils';
|
|
8
8
|
import { useRequest } from 'ahooks';
|
|
9
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
9
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
10
10
|
var BaseService = {
|
|
11
11
|
useBaseDetail: function useBaseDetail(id, coordType) {
|
|
12
12
|
var _useRequest = useRequest(function () {
|