@vtx/modals2 6.0.0-beta.2 → 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 +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 +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
|
@@ -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 { MapIcon } from '@vtx/map-icon';
|
|
8
8
|
import * as VtxMapIcon from '@vtx/map-icon';
|
|
9
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
9
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
10
10
|
console.log(VtxMapIcon, 'VtxMapIcon');
|
|
11
11
|
import { getUrlParam, getVtxToken, request } from '@vtx/utils';
|
|
12
12
|
import { useRequest } from 'ahooks';
|
|
@@ -4,7 +4,7 @@ import dayjs from 'dayjs';
|
|
|
4
4
|
import { VmEmpty } from "../../../_components";
|
|
5
5
|
import useSettings from "../../../_hooks/useSettings";
|
|
6
6
|
import { BaseService } from "../../api";
|
|
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 Lcfx = function Lcfx(props) {
|
|
10
10
|
var _useSettings = useSettings(),
|
|
@@ -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
|
*/
|
|
@@ -29,7 +29,7 @@ import onlinePerson from "../../imgs/onlinePerson.png";
|
|
|
29
29
|
import onlinePersonDark from "../../imgs/onlinePerson_dark.png";
|
|
30
30
|
import schdulePerson from "../../imgs/schdulePerson.png";
|
|
31
31
|
import schdulePersonDark from "../../imgs/schdulePerson_dark.png";
|
|
32
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
32
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
33
33
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
34
34
|
var BaseInfo = function BaseInfo(props) {
|
|
35
35
|
var id = props.id,
|
|
@@ -20,6 +20,7 @@ import VmHeader from "./Header";
|
|
|
20
20
|
import { getTenantById, getUmsConfig } from "./service";
|
|
21
21
|
import "./style";
|
|
22
22
|
import VmTabs from "./Tabs";
|
|
23
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
23
24
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
24
25
|
var getTabContent = function getTabContent(contents, tabKey) {
|
|
25
26
|
if (!tabKey) {
|
|
@@ -184,7 +185,7 @@ var VmBaseModal = function VmBaseModal(props) {
|
|
|
184
185
|
}
|
|
185
186
|
}
|
|
186
187
|
setIframeModalInfo({
|
|
187
|
-
title: type === 'car' ? '
|
|
188
|
+
title: type === 'car' ? translateLocaleText("t('vtxbasemodal.vehicleTrack')") : translateLocaleText("t('vtxbasemodal.personTrack')"),
|
|
188
189
|
visible: true,
|
|
189
190
|
src: src
|
|
190
191
|
});
|
package/lib/vtx-car-modal/api.js
CHANGED
|
@@ -1144,6 +1144,396 @@ export var MaintenanceService = {
|
|
|
1144
1144
|
return {
|
|
1145
1145
|
maintenanceRes: (maintenanceRes === null || maintenanceRes === void 0 ? void 0 : maintenanceRes.data) || []
|
|
1146
1146
|
};
|
|
1147
|
+
},
|
|
1148
|
+
useWaterSummary: function useWaterSummary(carId, startDate, endDate) {
|
|
1149
|
+
var _useRequest49 = useRequest(function () {
|
|
1150
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/waterSummary"), {
|
|
1151
|
+
body: {
|
|
1152
|
+
carId: carId,
|
|
1153
|
+
startDate: startDate,
|
|
1154
|
+
endDate: endDate
|
|
1155
|
+
}
|
|
1156
|
+
});
|
|
1157
|
+
}, {
|
|
1158
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1159
|
+
}),
|
|
1160
|
+
waterSummary = _useRequest49.data,
|
|
1161
|
+
loading = _useRequest49.loading;
|
|
1162
|
+
return {
|
|
1163
|
+
loading: loading,
|
|
1164
|
+
waterSummary: (waterSummary === null || waterSummary === void 0 ? void 0 : waterSummary.data) || []
|
|
1165
|
+
};
|
|
1166
|
+
},
|
|
1167
|
+
useWaterRecord: function useWaterRecord(carId, startTime, endTime, sorter) {
|
|
1168
|
+
var _useRequest50 = useRequest(function () {
|
|
1169
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carWater/page"), {
|
|
1170
|
+
body: {
|
|
1171
|
+
carId: carId,
|
|
1172
|
+
startTime: startTime,
|
|
1173
|
+
endTime: endTime,
|
|
1174
|
+
sorter: sorter
|
|
1175
|
+
}
|
|
1176
|
+
});
|
|
1177
|
+
}, {
|
|
1178
|
+
refreshDeps: [carId, startTime, endTime, sorter]
|
|
1179
|
+
}),
|
|
1180
|
+
waterRecordSummary = _useRequest50.data,
|
|
1181
|
+
loading = _useRequest50.loading;
|
|
1182
|
+
return {
|
|
1183
|
+
loading: loading,
|
|
1184
|
+
recordRes: (waterRecordSummary === null || waterRecordSummary === void 0 ? void 0 : waterRecordSummary.data) || {}
|
|
1185
|
+
};
|
|
1186
|
+
},
|
|
1187
|
+
useWaterTypeSummary: function useWaterTypeSummary(carId, startDate, endDate) {
|
|
1188
|
+
var _waterTypeSummary$dat;
|
|
1189
|
+
var _useRequest51 = useRequest(function () {
|
|
1190
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/waterTypeSummary"), {
|
|
1191
|
+
body: {
|
|
1192
|
+
carId: carId,
|
|
1193
|
+
startDate: startDate,
|
|
1194
|
+
endDate: endDate
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
}, {
|
|
1198
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1199
|
+
}),
|
|
1200
|
+
waterTypeSummary = _useRequest51.data,
|
|
1201
|
+
loading = _useRequest51.loading;
|
|
1202
|
+
return {
|
|
1203
|
+
loading: loading,
|
|
1204
|
+
waterTypeSummary: (waterTypeSummary === null || waterTypeSummary === void 0 || (_waterTypeSummary$dat = waterTypeSummary.data) === null || _waterTypeSummary$dat === void 0 ? void 0 : _waterTypeSummary$dat.map(function (ele) {
|
|
1205
|
+
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
1206
|
+
name: ele.waterTypeName,
|
|
1207
|
+
value: ele.waterAmount
|
|
1208
|
+
});
|
|
1209
|
+
})) || []
|
|
1210
|
+
};
|
|
1211
|
+
},
|
|
1212
|
+
useEleSummary: function useEleSummary(carId, startDate, endDate) {
|
|
1213
|
+
var _useRequest52 = useRequest(function () {
|
|
1214
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/chargeSummary"), {
|
|
1215
|
+
body: {
|
|
1216
|
+
carId: carId,
|
|
1217
|
+
startDate: startDate,
|
|
1218
|
+
endDate: endDate
|
|
1219
|
+
}
|
|
1220
|
+
});
|
|
1221
|
+
}, {
|
|
1222
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1223
|
+
}),
|
|
1224
|
+
eleSummary = _useRequest52.data,
|
|
1225
|
+
loading = _useRequest52.loading;
|
|
1226
|
+
return {
|
|
1227
|
+
loading: loading,
|
|
1228
|
+
eleSummary: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.data) || []
|
|
1229
|
+
};
|
|
1230
|
+
},
|
|
1231
|
+
useEleRecord: function useEleRecord(carId, startTime, endTime, sorter) {
|
|
1232
|
+
var _useRequest53 = useRequest(function () {
|
|
1233
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carCharge/page"), {
|
|
1234
|
+
body: {
|
|
1235
|
+
carId: carId,
|
|
1236
|
+
startTime: startTime,
|
|
1237
|
+
endTime: endTime,
|
|
1238
|
+
sorter: sorter
|
|
1239
|
+
}
|
|
1240
|
+
});
|
|
1241
|
+
}, {
|
|
1242
|
+
refreshDeps: [carId, startTime, endTime, sorter]
|
|
1243
|
+
}),
|
|
1244
|
+
eleRecordSummary = _useRequest53.data,
|
|
1245
|
+
loading = _useRequest53.loading;
|
|
1246
|
+
return {
|
|
1247
|
+
loading: loading,
|
|
1248
|
+
recordRes: (eleRecordSummary === null || eleRecordSummary === void 0 ? void 0 : eleRecordSummary.data) || {}
|
|
1249
|
+
};
|
|
1250
|
+
},
|
|
1251
|
+
useEleTypeSummary: function useEleTypeSummary(carId, startDate, endDate) {
|
|
1252
|
+
var _eleTypeSummary$data;
|
|
1253
|
+
var _useRequest54 = useRequest(function () {
|
|
1254
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/chargePeriodSummary"), {
|
|
1255
|
+
body: {
|
|
1256
|
+
carId: carId,
|
|
1257
|
+
startDate: startDate,
|
|
1258
|
+
endDate: endDate
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1261
|
+
}, {
|
|
1262
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1263
|
+
}),
|
|
1264
|
+
eleTypeSummary = _useRequest54.data,
|
|
1265
|
+
loading = _useRequest54.loading;
|
|
1266
|
+
return {
|
|
1267
|
+
loading: loading,
|
|
1268
|
+
eleTypeSummary: (eleTypeSummary === null || eleTypeSummary === void 0 || (_eleTypeSummary$data = eleTypeSummary.data) === null || _eleTypeSummary$data === void 0 ? void 0 : _eleTypeSummary$data.map(function (ele) {
|
|
1269
|
+
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
1270
|
+
name: ele.chargePeriodName,
|
|
1271
|
+
value: ele.chargeCount
|
|
1272
|
+
});
|
|
1273
|
+
})) || []
|
|
1274
|
+
};
|
|
1275
|
+
},
|
|
1276
|
+
useOilSummary: function useOilSummary(carId, startDate, endDate) {
|
|
1277
|
+
var _useRequest55 = useRequest(function () {
|
|
1278
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/oilSummary"), {
|
|
1279
|
+
body: {
|
|
1280
|
+
carId: carId,
|
|
1281
|
+
startDate: startDate,
|
|
1282
|
+
endDate: endDate
|
|
1283
|
+
}
|
|
1284
|
+
});
|
|
1285
|
+
}, {
|
|
1286
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1287
|
+
}),
|
|
1288
|
+
oilSummary = _useRequest55.data,
|
|
1289
|
+
loading = _useRequest55.loading;
|
|
1290
|
+
return {
|
|
1291
|
+
loading: loading,
|
|
1292
|
+
oilSummary: (oilSummary === null || oilSummary === void 0 ? void 0 : oilSummary.data) || []
|
|
1293
|
+
};
|
|
1294
|
+
},
|
|
1295
|
+
useOilRecord: function useOilRecord(carId, startTime, endTime, sorter) {
|
|
1296
|
+
var _useRequest56 = useRequest(function () {
|
|
1297
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carOil/page"), {
|
|
1298
|
+
body: {
|
|
1299
|
+
carId: carId,
|
|
1300
|
+
startTime: startTime,
|
|
1301
|
+
endTime: endTime,
|
|
1302
|
+
sorter: sorter
|
|
1303
|
+
}
|
|
1304
|
+
});
|
|
1305
|
+
}, {
|
|
1306
|
+
refreshDeps: [carId, startTime, endTime, sorter]
|
|
1307
|
+
}),
|
|
1308
|
+
oilRecordSummary = _useRequest56.data,
|
|
1309
|
+
loading = _useRequest56.loading;
|
|
1310
|
+
return {
|
|
1311
|
+
loading: loading,
|
|
1312
|
+
recordRes: (oilRecordSummary === null || oilRecordSummary === void 0 ? void 0 : oilRecordSummary.data) || {}
|
|
1313
|
+
};
|
|
1314
|
+
},
|
|
1315
|
+
useOilTypeSummary: function useOilTypeSummary(carId, startDate, endDate) {
|
|
1316
|
+
var _oilTypeSummary$data;
|
|
1317
|
+
var _useRequest57 = useRequest(function () {
|
|
1318
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/oilPeriodSummary"), {
|
|
1319
|
+
body: {
|
|
1320
|
+
carId: carId,
|
|
1321
|
+
startDate: startDate,
|
|
1322
|
+
endDate: endDate
|
|
1323
|
+
}
|
|
1324
|
+
});
|
|
1325
|
+
}, {
|
|
1326
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1327
|
+
}),
|
|
1328
|
+
oilTypeSummary = _useRequest57.data,
|
|
1329
|
+
loading = _useRequest57.loading;
|
|
1330
|
+
return {
|
|
1331
|
+
loading: loading,
|
|
1332
|
+
oilUseTypeSummary: (oilTypeSummary === null || oilTypeSummary === void 0 || (_oilTypeSummary$data = oilTypeSummary.data) === null || _oilTypeSummary$data === void 0 ? void 0 : _oilTypeSummary$data.map(function (ele) {
|
|
1333
|
+
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
1334
|
+
name: ele.oilPeriodName,
|
|
1335
|
+
value: ele.oilCount
|
|
1336
|
+
});
|
|
1337
|
+
})) || []
|
|
1338
|
+
};
|
|
1339
|
+
},
|
|
1340
|
+
// 保险
|
|
1341
|
+
useInsuranceSummary: function useInsuranceSummary(carId, startDate, endDate) {
|
|
1342
|
+
var _useRequest58 = useRequest(function () {
|
|
1343
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/insuranceSummary"), {
|
|
1344
|
+
body: {
|
|
1345
|
+
carId: carId,
|
|
1346
|
+
startDate: startDate,
|
|
1347
|
+
endDate: endDate
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1350
|
+
}, {
|
|
1351
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1352
|
+
}),
|
|
1353
|
+
insuranceSummary = _useRequest58.data,
|
|
1354
|
+
loading = _useRequest58.loading;
|
|
1355
|
+
return {
|
|
1356
|
+
loading: loading,
|
|
1357
|
+
insuranceSummary: insuranceSummary === null || insuranceSummary === void 0 ? void 0 : insuranceSummary.data
|
|
1358
|
+
};
|
|
1359
|
+
},
|
|
1360
|
+
useCurrentInsurance: function useCurrentInsurance(carId, startDate, endDate) {
|
|
1361
|
+
var _useRequest59 = useRequest(function () {
|
|
1362
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/currentInsurance"), {
|
|
1363
|
+
body: {
|
|
1364
|
+
carId: carId,
|
|
1365
|
+
startDate: startDate,
|
|
1366
|
+
endDate: endDate
|
|
1367
|
+
}
|
|
1368
|
+
});
|
|
1369
|
+
}, {
|
|
1370
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1371
|
+
}),
|
|
1372
|
+
currentInsurance = _useRequest59.data,
|
|
1373
|
+
loading = _useRequest59.loading;
|
|
1374
|
+
return {
|
|
1375
|
+
loading: loading,
|
|
1376
|
+
currentInsurance: currentInsurance === null || currentInsurance === void 0 ? void 0 : currentInsurance.data
|
|
1377
|
+
};
|
|
1378
|
+
},
|
|
1379
|
+
// 年检
|
|
1380
|
+
useInspectSummary: function useInspectSummary(carId, startDate, endDate) {
|
|
1381
|
+
var _useRequest60 = useRequest(function () {
|
|
1382
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/inspectSummary"), {
|
|
1383
|
+
body: {
|
|
1384
|
+
carId: carId,
|
|
1385
|
+
startDate: startDate,
|
|
1386
|
+
endDate: endDate
|
|
1387
|
+
}
|
|
1388
|
+
});
|
|
1389
|
+
}, {
|
|
1390
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1391
|
+
}),
|
|
1392
|
+
inspectSummary = _useRequest60.data;
|
|
1393
|
+
return {
|
|
1394
|
+
inspectSummary: inspectSummary === null || inspectSummary === void 0 ? void 0 : inspectSummary.data
|
|
1395
|
+
};
|
|
1396
|
+
},
|
|
1397
|
+
useCurrentSummary: function useCurrentSummary(carId, startDate, endDate) {
|
|
1398
|
+
var _useRequest61 = useRequest(function () {
|
|
1399
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/currentInspect"), {
|
|
1400
|
+
body: {
|
|
1401
|
+
carId: carId,
|
|
1402
|
+
startDate: startDate,
|
|
1403
|
+
endDate: endDate
|
|
1404
|
+
}
|
|
1405
|
+
});
|
|
1406
|
+
}, {
|
|
1407
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1408
|
+
}),
|
|
1409
|
+
currentInspect = _useRequest61.data;
|
|
1410
|
+
return {
|
|
1411
|
+
currentInspect: currentInspect === null || currentInspect === void 0 ? void 0 : currentInspect.data
|
|
1412
|
+
};
|
|
1413
|
+
},
|
|
1414
|
+
// 维保类型
|
|
1415
|
+
useMaintainTypeSummary: function useMaintainTypeSummary(carId, startDate, endDate) {
|
|
1416
|
+
var _maintainTypeSummary$;
|
|
1417
|
+
var _useRequest62 = useRequest(function () {
|
|
1418
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/maintainTypeSummary"), {
|
|
1419
|
+
body: {
|
|
1420
|
+
carId: carId,
|
|
1421
|
+
startDate: startDate,
|
|
1422
|
+
endDate: endDate
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
}, {
|
|
1426
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1427
|
+
}),
|
|
1428
|
+
maintainTypeSummary = _useRequest62.data;
|
|
1429
|
+
return {
|
|
1430
|
+
maintainTypeSummary: maintainTypeSummary === null || maintainTypeSummary === void 0 || (_maintainTypeSummary$ = maintainTypeSummary.data) === null || _maintainTypeSummary$ === void 0 ? void 0 : _maintainTypeSummary$.map(function (ele) {
|
|
1431
|
+
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
1432
|
+
name: ele.maintainTypeName,
|
|
1433
|
+
value: ele.maintainMoney
|
|
1434
|
+
});
|
|
1435
|
+
})
|
|
1436
|
+
};
|
|
1437
|
+
},
|
|
1438
|
+
//折旧
|
|
1439
|
+
useDepreciationSummary: function useDepreciationSummary(carId, startDate, endDate) {
|
|
1440
|
+
var _useRequest63 = useRequest(function () {
|
|
1441
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/depreciationInfo"), {
|
|
1442
|
+
body: {
|
|
1443
|
+
carId: carId,
|
|
1444
|
+
startDate: startDate,
|
|
1445
|
+
endDate: endDate
|
|
1446
|
+
}
|
|
1447
|
+
});
|
|
1448
|
+
}, {
|
|
1449
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1450
|
+
}),
|
|
1451
|
+
depreciationSummary = _useRequest63.data;
|
|
1452
|
+
return {
|
|
1453
|
+
depreciationSummary: depreciationSummary === null || depreciationSummary === void 0 ? void 0 : depreciationSummary.data
|
|
1454
|
+
};
|
|
1455
|
+
},
|
|
1456
|
+
// 事故
|
|
1457
|
+
useAccidentSummary: function useAccidentSummary(carId, startDate, endDate) {
|
|
1458
|
+
var _useRequest64 = useRequest(function () {
|
|
1459
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/accidentSummary"), {
|
|
1460
|
+
body: {
|
|
1461
|
+
carId: carId,
|
|
1462
|
+
startDate: startDate,
|
|
1463
|
+
endDate: endDate
|
|
1464
|
+
}
|
|
1465
|
+
});
|
|
1466
|
+
}, {
|
|
1467
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1468
|
+
}),
|
|
1469
|
+
accidentSummary = _useRequest64.data;
|
|
1470
|
+
return {
|
|
1471
|
+
accidentSummary: accidentSummary === null || accidentSummary === void 0 ? void 0 : accidentSummary.data
|
|
1472
|
+
};
|
|
1473
|
+
},
|
|
1474
|
+
useAccidentTypeSummary: function useAccidentTypeSummary(carId, startDate, endDate) {
|
|
1475
|
+
var _accidentTypeSummary$;
|
|
1476
|
+
var _useRequest65 = useRequest(function () {
|
|
1477
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/accidentTypeSummary"), {
|
|
1478
|
+
body: {
|
|
1479
|
+
carId: carId,
|
|
1480
|
+
startDate: startDate,
|
|
1481
|
+
endDate: endDate
|
|
1482
|
+
}
|
|
1483
|
+
});
|
|
1484
|
+
}, {
|
|
1485
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1486
|
+
}),
|
|
1487
|
+
accidentTypeSummary = _useRequest65.data;
|
|
1488
|
+
return {
|
|
1489
|
+
accidentTypeSummary: accidentTypeSummary === null || accidentTypeSummary === void 0 || (_accidentTypeSummary$ = accidentTypeSummary.data) === null || _accidentTypeSummary$ === void 0 ? void 0 : _accidentTypeSummary$.map(function (ele) {
|
|
1490
|
+
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
1491
|
+
name: ele.accidentTypeName,
|
|
1492
|
+
value: ele.accidentCount
|
|
1493
|
+
});
|
|
1494
|
+
})
|
|
1495
|
+
};
|
|
1496
|
+
},
|
|
1497
|
+
// 违章
|
|
1498
|
+
useViolationSummary: function useViolationSummary(carId, startDate, endDate) {
|
|
1499
|
+
var _useRequest66 = useRequest(function () {
|
|
1500
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/violationSummary"), {
|
|
1501
|
+
body: {
|
|
1502
|
+
carId: carId,
|
|
1503
|
+
startDate: startDate,
|
|
1504
|
+
endDate: endDate
|
|
1505
|
+
}
|
|
1506
|
+
});
|
|
1507
|
+
}, {
|
|
1508
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1509
|
+
}),
|
|
1510
|
+
violationSummary = _useRequest66.data;
|
|
1511
|
+
return {
|
|
1512
|
+
violationSummary: violationSummary === null || violationSummary === void 0 ? void 0 : violationSummary.data
|
|
1513
|
+
};
|
|
1514
|
+
},
|
|
1515
|
+
useViolationTypeSummary: function useViolationTypeSummary(carId, startDate, endDate) {
|
|
1516
|
+
var _violationTypeSummary;
|
|
1517
|
+
var _useRequest67 = useRequest(function () {
|
|
1518
|
+
return http.get("".concat(prefix, "/cloud/clwb/api/v101/carPopup/violationTypeSummary"), {
|
|
1519
|
+
body: {
|
|
1520
|
+
carId: carId,
|
|
1521
|
+
startDate: startDate,
|
|
1522
|
+
endDate: endDate
|
|
1523
|
+
}
|
|
1524
|
+
});
|
|
1525
|
+
}, {
|
|
1526
|
+
refreshDeps: [carId, startDate, endDate]
|
|
1527
|
+
}),
|
|
1528
|
+
violationTypeSummary = _useRequest67.data;
|
|
1529
|
+
return {
|
|
1530
|
+
violationTypeSummary: violationTypeSummary === null || violationTypeSummary === void 0 || (_violationTypeSummary = violationTypeSummary.data) === null || _violationTypeSummary === void 0 ? void 0 : _violationTypeSummary.map(function (ele) {
|
|
1531
|
+
return _objectSpread(_objectSpread({}, ele), {}, {
|
|
1532
|
+
name: ele.violationType,
|
|
1533
|
+
value: ele.violationCount
|
|
1534
|
+
});
|
|
1535
|
+
})
|
|
1536
|
+
};
|
|
1147
1537
|
}
|
|
1148
1538
|
};
|
|
1149
1539
|
|
|
@@ -1168,7 +1558,7 @@ export var JzljService = {
|
|
|
1168
1558
|
startDate = _ref23.startDate,
|
|
1169
1559
|
endDate = _ref23.endDate,
|
|
1170
1560
|
url = _ref23.url;
|
|
1171
|
-
var
|
|
1561
|
+
var _useRequest68 = useRequest(function () {
|
|
1172
1562
|
return http.get("".concat(prefix, "/cloud/jzlj/web/api/gis/real/time/carBaseInfo"), {
|
|
1173
1563
|
body: {
|
|
1174
1564
|
id: id,
|
|
@@ -1180,7 +1570,7 @@ export var JzljService = {
|
|
|
1180
1570
|
}, {
|
|
1181
1571
|
refreshDeps: [id, startDate, endDate, url]
|
|
1182
1572
|
}),
|
|
1183
|
-
zlOtherInfoRes =
|
|
1573
|
+
zlOtherInfoRes = _useRequest68.data;
|
|
1184
1574
|
return {
|
|
1185
1575
|
zlOtherInfoData: (zlOtherInfoRes === null || zlOtherInfoRes === void 0 ? void 0 : zlOtherInfoRes.data) || {}
|
|
1186
1576
|
};
|
|
@@ -1191,7 +1581,7 @@ export var JzljService = {
|
|
|
1191
1581
|
var id = _ref24.id,
|
|
1192
1582
|
startDate = _ref24.startDate,
|
|
1193
1583
|
endDate = _ref24.endDate;
|
|
1194
|
-
var
|
|
1584
|
+
var _useRequest69 = useRequest(function () {
|
|
1195
1585
|
return http.get("".concat(prefix, "/cloud/gps-reborn/report/dailyCarRun/list"), {
|
|
1196
1586
|
body: {
|
|
1197
1587
|
carIds: id,
|
|
@@ -1202,7 +1592,7 @@ export var JzljService = {
|
|
|
1202
1592
|
}, {
|
|
1203
1593
|
refreshDeps: [id, startDate, endDate]
|
|
1204
1594
|
}),
|
|
1205
|
-
dailyCarRunRes =
|
|
1595
|
+
dailyCarRunRes = _useRequest69.data;
|
|
1206
1596
|
return {
|
|
1207
1597
|
dailyCarRunData: dailyCarRunRes !== null && dailyCarRunRes !== void 0 && (_dailyCarRunRes$data = dailyCarRunRes.data) !== null && _dailyCarRunRes$data !== void 0 && _dailyCarRunRes$data.length ? (dailyCarRunRes === null || dailyCarRunRes === void 0 || (_dailyCarRunRes$data2 = dailyCarRunRes.data) === null || _dailyCarRunRes$data2 === void 0 ? void 0 : _dailyCarRunRes$data2[0]) || {} : {}
|
|
1208
1598
|
};
|
|
@@ -1212,7 +1602,7 @@ export var JzljService = {
|
|
|
1212
1602
|
var id = _ref25.id,
|
|
1213
1603
|
startDate = _ref25.startDate,
|
|
1214
1604
|
endDate = _ref25.endDate;
|
|
1215
|
-
var
|
|
1605
|
+
var _useRequest70 = useRequest(function () {
|
|
1216
1606
|
return http.get("".concat(prefix, "/cloud/jzlj/web/dz/kanban/carWorkAnalyse"), {
|
|
1217
1607
|
body: {
|
|
1218
1608
|
id: id,
|
|
@@ -1223,8 +1613,8 @@ export var JzljService = {
|
|
|
1223
1613
|
}, {
|
|
1224
1614
|
refreshDeps: [id, startDate, endDate]
|
|
1225
1615
|
}),
|
|
1226
|
-
yxfxRes =
|
|
1227
|
-
loading =
|
|
1616
|
+
yxfxRes = _useRequest70.data,
|
|
1617
|
+
loading = _useRequest70.loading;
|
|
1228
1618
|
return {
|
|
1229
1619
|
yxfxData: (yxfxRes === null || yxfxRes === void 0 ? void 0 : yxfxRes.data) || [],
|
|
1230
1620
|
loading: loading
|
|
@@ -1260,7 +1650,7 @@ export var JzljService = {
|
|
|
1260
1650
|
},
|
|
1261
1651
|
// 建筑垃圾枚举
|
|
1262
1652
|
fetchJzljEnum: function fetchJzljEnum(enumName) {
|
|
1263
|
-
var
|
|
1653
|
+
var _useRequest71 = useRequest(function () {
|
|
1264
1654
|
return http.get("/cloud/jzlj/common/loadEnumValue", {
|
|
1265
1655
|
body: {
|
|
1266
1656
|
enumName: enumName
|
|
@@ -1269,21 +1659,21 @@ export var JzljService = {
|
|
|
1269
1659
|
}, {
|
|
1270
1660
|
refreshDeps: [enumName]
|
|
1271
1661
|
}),
|
|
1272
|
-
|
|
1273
|
-
data =
|
|
1662
|
+
_useRequest71$data = _useRequest71.data,
|
|
1663
|
+
data = _useRequest71$data === void 0 ? {} : _useRequest71$data;
|
|
1274
1664
|
return (data === null || data === void 0 ? void 0 : data.data) || [];
|
|
1275
1665
|
},
|
|
1276
1666
|
// 字段配置
|
|
1277
1667
|
fieldConfig: function fieldConfig() {
|
|
1278
|
-
var
|
|
1668
|
+
var _useRequest72 = useRequest(function () {
|
|
1279
1669
|
return http.get("/cloud/jzlj/web/field/config/list?ledgerType=CZHZBA", {
|
|
1280
1670
|
body: {}
|
|
1281
1671
|
});
|
|
1282
1672
|
}, {
|
|
1283
1673
|
refreshDeps: []
|
|
1284
1674
|
}),
|
|
1285
|
-
|
|
1286
|
-
data =
|
|
1675
|
+
_useRequest72$data = _useRequest72.data,
|
|
1676
|
+
data = _useRequest72$data === void 0 ? {} : _useRequest72$data;
|
|
1287
1677
|
return (data === null || data === void 0 ? void 0 : data.data) || [];
|
|
1288
1678
|
},
|
|
1289
1679
|
// 联单-分页
|
|
@@ -1367,7 +1757,7 @@ export var JzljService = {
|
|
|
1367
1757
|
var carId = _ref33.carId,
|
|
1368
1758
|
startDate = _ref33.startDate,
|
|
1369
1759
|
endDate = _ref33.endDate;
|
|
1370
|
-
var
|
|
1760
|
+
var _useRequest73 = useRequest(function () {
|
|
1371
1761
|
return http.get("/cloud/jzlj/web/dz/kanban/carAlarmTypeCountSummaryInfo", {
|
|
1372
1762
|
body: {
|
|
1373
1763
|
carId: carId,
|
|
@@ -1379,7 +1769,7 @@ export var JzljService = {
|
|
|
1379
1769
|
}, {
|
|
1380
1770
|
refreshDeps: [carId, startDate, endDate]
|
|
1381
1771
|
}),
|
|
1382
|
-
alarmSummaryRes =
|
|
1772
|
+
alarmSummaryRes = _useRequest73.data;
|
|
1383
1773
|
return {
|
|
1384
1774
|
alarmSummaryData: (alarmSummaryRes === null || alarmSummaryRes === void 0 ? void 0 : alarmSummaryRes.data) || {}
|
|
1385
1775
|
};
|
|
@@ -1389,7 +1779,7 @@ export var JzljService = {
|
|
|
1389
1779
|
var id = _ref34.id,
|
|
1390
1780
|
startDate = _ref34.startDate,
|
|
1391
1781
|
endDate = _ref34.endDate;
|
|
1392
|
-
var
|
|
1782
|
+
var _useRequest74 = useRequest(function () {
|
|
1393
1783
|
return http.get("/cloud/jzlj/web/api/gis/real/time/carOrderAlarmAnalyse", {
|
|
1394
1784
|
body: {
|
|
1395
1785
|
id: id,
|
|
@@ -1400,7 +1790,7 @@ export var JzljService = {
|
|
|
1400
1790
|
}, {
|
|
1401
1791
|
refreshDeps: [id, startDate, endDate]
|
|
1402
1792
|
}),
|
|
1403
|
-
alarmTrendRes =
|
|
1793
|
+
alarmTrendRes = _useRequest74.data;
|
|
1404
1794
|
return {
|
|
1405
1795
|
alarmTrendData: (alarmTrendRes === null || alarmTrendRes === void 0 ? void 0 : alarmTrendRes.data) || []
|
|
1406
1796
|
};
|
|
@@ -1409,14 +1799,14 @@ export var JzljService = {
|
|
|
1409
1799
|
useUnit: function useUnit() {
|
|
1410
1800
|
var _data$data3, _unitStr;
|
|
1411
1801
|
var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
|
|
1412
|
-
var
|
|
1802
|
+
var _useRequest75 = useRequest(function () {
|
|
1413
1803
|
return http.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
|
|
1414
1804
|
body: {}
|
|
1415
1805
|
});
|
|
1416
1806
|
}, {
|
|
1417
1807
|
refreshDeps: [groupCode]
|
|
1418
1808
|
}),
|
|
1419
|
-
data =
|
|
1809
|
+
data = _useRequest75.data;
|
|
1420
1810
|
var obj = {};
|
|
1421
1811
|
var originalData = data === null || data === void 0 || (_data$data3 = data.data) === null || _data$data3 === void 0 ? void 0 : _data$data3[groupCode];
|
|
1422
1812
|
for (var group in originalData) {
|
|
@@ -1437,7 +1827,7 @@ export var JzljService = {
|
|
|
1437
1827
|
},
|
|
1438
1828
|
// 处置证字段配置
|
|
1439
1829
|
useCzzFields: function useCzzFields() {
|
|
1440
|
-
var
|
|
1830
|
+
var _useRequest76 = useRequest(function () {
|
|
1441
1831
|
return http.get("/cloud/jzlj/web/field/config/list", {
|
|
1442
1832
|
body: {
|
|
1443
1833
|
ledgerType: 'CZHZBA'
|
|
@@ -1446,7 +1836,7 @@ export var JzljService = {
|
|
|
1446
1836
|
}, {
|
|
1447
1837
|
refreshDeps: []
|
|
1448
1838
|
}),
|
|
1449
|
-
res =
|
|
1839
|
+
res = _useRequest76.data;
|
|
1450
1840
|
var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
1451
1841
|
var visibleList = dataList.filter(function (item) {
|
|
1452
1842
|
var _item$functionKeys;
|
|
@@ -1458,7 +1848,7 @@ export var JzljService = {
|
|
|
1458
1848
|
},
|
|
1459
1849
|
// 联单字段配置
|
|
1460
1850
|
useLdFields: function useLdFields() {
|
|
1461
|
-
var
|
|
1851
|
+
var _useRequest77 = useRequest(function () {
|
|
1462
1852
|
return http.get("/cloud/jzlj/web/field/config/list", {
|
|
1463
1853
|
body: {
|
|
1464
1854
|
ledgerType: 'CLYSLD'
|
|
@@ -1467,7 +1857,7 @@ export var JzljService = {
|
|
|
1467
1857
|
}, {
|
|
1468
1858
|
refreshDeps: []
|
|
1469
1859
|
}),
|
|
1470
|
-
res =
|
|
1860
|
+
res = _useRequest77.data;
|
|
1471
1861
|
var dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
1472
1862
|
var visibleList = dataList.filter(function (item) {
|
|
1473
1863
|
var _item$functionKeys2;
|
|
@@ -1483,14 +1873,14 @@ export var JzljService = {
|
|
|
1483
1873
|
export var useUnit = function useUnit() {
|
|
1484
1874
|
var _data$data4, _unitStr2;
|
|
1485
1875
|
var groupCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'XTPZ';
|
|
1486
|
-
var
|
|
1876
|
+
var _useRequest78 = useRequest(function () {
|
|
1487
1877
|
return request.get("/cloud/jzlj/web/api/tenant/system/config/getConfig", {
|
|
1488
1878
|
data: {}
|
|
1489
1879
|
});
|
|
1490
1880
|
}, {
|
|
1491
1881
|
refreshDeps: [groupCode]
|
|
1492
1882
|
}),
|
|
1493
|
-
data =
|
|
1883
|
+
data = _useRequest78.data;
|
|
1494
1884
|
var obj = {};
|
|
1495
1885
|
var originalData = data === null || data === void 0 || (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : _data$data4[groupCode];
|
|
1496
1886
|
for (var group in originalData) {
|
|
@@ -27,7 +27,7 @@ import runIcon from "../../imgs/factor/run.png";
|
|
|
27
27
|
import speedIcon from "../../imgs/factor/speed.png";
|
|
28
28
|
import { CarContext } from "../../index";
|
|
29
29
|
import "./index.less";
|
|
30
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
30
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
31
31
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
32
32
|
var INFO_LABEL_MAP = {
|
|
33
33
|
belongUnitName: "t('vtxcarmodal.belongUnit')",
|
|
@@ -15,7 +15,7 @@ import { useContext } from 'react';
|
|
|
15
15
|
import { VmTable, VmWrapper } from "../../../../_components";
|
|
16
16
|
import { CcService } from "../../../api";
|
|
17
17
|
import { CarContext } from "../../../index";
|
|
18
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
18
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
var List = function List(props) {
|
|
21
21
|
var _useContext = useContext(CarContext),
|
|
@@ -4,7 +4,7 @@ import { useContext } from 'react';
|
|
|
4
4
|
import { VmLineCharts, VmPieCharts, VmWrapper } from "../../../../_components";
|
|
5
5
|
import { CcService } from "../../../api";
|
|
6
6
|
import { CarContext } from "../../../index";
|
|
7
|
-
import { translateLocaleText } from "./../../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
9
|
var StaticInfo = function StaticInfo(_ref) {
|
|
10
10
|
var startDate = _ref.startDate,
|