@vtx/modals2 6.0.0-beta.4 → 6.0.0-beta.6
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/index.js +1 -0
- package/lib/_components/vm-appraisal-info/api.js +55 -0
- package/lib/_components/vm-appraisal-info/imgs/count.png +0 -0
- package/lib/_components/vm-appraisal-info/imgs/count_light.png +0 -0
- package/lib/_components/vm-appraisal-info/imgs/subtract.png +0 -0
- package/lib/_components/vm-appraisal-info/imgs/subtract_light.png +0 -0
- package/lib/_components/vm-appraisal-info/index.js +230 -0
- package/lib/_components/vm-appraisal-info/index.less +7 -0
- 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 +1 -1
- package/lib/_components/vm-filter/index.js +1 -1
- package/lib/_components/vm-filter/style/index.less +7 -11
- package/lib/_components/vm-info-collection/index.js +1 -1
- package/lib/_components/vm-map/index.js +1 -1
- package/lib/_components/vm-progress/index.js +1 -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 +35 -3
- package/lib/_components/vm-table/index.js +1 -1
- package/lib/_components/vm-tag/index.js +1 -1
- package/lib/_components/vm-title/index.js +1 -1
- package/lib/_components/vm-video/HistoryGrid.js +2 -0
- package/lib/_components/vm-video/RealtimeGrid.js +2 -0
- package/lib/_components/vm-video/index.js +46 -19
- package/lib/_components/vm-wrapper/index.js +1 -1
- package/lib/_hooks/useGetChannels.js +20 -6
- package/lib/_util/http.js +27 -1
- package/lib/_util/index.js +1 -1
- package/lib/locales/en.json +1516 -1516
- package/lib/locales/zh-CN.json +1516 -1516
- 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/Tabs/index.js +2 -1
- package/lib/vtx-base-modal/index.js +1 -1
- package/lib/vtx-car-modal/components/Info/index.js +2 -2
- 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 +20 -8
- 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 +18 -6
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -169
- 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 +10 -5
- 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/index.js +1 -1
- 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 +1 -1
- 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 +3 -3
- package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cp-modal/index.js +13 -13
- package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-default-modal/index.js +8 -7
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
- package/lib/vtx-df-modal/index.js +4 -14
- 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 -205
- 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 +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +1 -1
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +1 -1
- 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 +10 -2
- 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 +9 -2
- 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 +7 -4
- package/lib/vtx-road-modal/utils/url.js +12 -0
- 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 +3 -3
- 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 +19 -4
- 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 +3 -3
- 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 +24 -5
- 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 +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +1 -1
- 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 +7 -13
- package/package.json +1 -1
|
@@ -1,205 +1 @@
|
|
|
1
|
-
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
8
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
10
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
11
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
12
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
14
|
-
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; }
|
|
15
|
-
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; } }
|
|
16
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
18
|
-
/**
|
|
19
|
-
* 考核信息-列表
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
import { VtxImage } from '@vtx/components';
|
|
23
|
-
import { useSetState } from 'ahooks';
|
|
24
|
-
import dayjs from 'dayjs';
|
|
25
|
-
import { VmFactor, VmFilter, VmTable, VmWrapper } from "../../../_components";
|
|
26
|
-
import useSettings from "../../../_hooks/useSettings";
|
|
27
|
-
import { BaseService, ReocrdService } from "../../api2";
|
|
28
|
-
import "./index.less";
|
|
29
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
|
-
var List = function List(props) {
|
|
31
|
-
var _useSettings = useSettings(),
|
|
32
|
-
isDark = _useSettings.isDark;
|
|
33
|
-
var id = props.id;
|
|
34
|
-
var _useSetState = useSetState({
|
|
35
|
-
pagination: {
|
|
36
|
-
current: 1,
|
|
37
|
-
pageSize: 10,
|
|
38
|
-
total: 0
|
|
39
|
-
},
|
|
40
|
-
startDate: dayjs().startOf('M'),
|
|
41
|
-
endDate: dayjs(),
|
|
42
|
-
checkActivityCode: '1',
|
|
43
|
-
sort: ''
|
|
44
|
-
}),
|
|
45
|
-
_useSetState2 = _slicedToArray(_useSetState, 2),
|
|
46
|
-
state = _useSetState2[0],
|
|
47
|
-
setState = _useSetState2[1];
|
|
48
|
-
var pagination = state.pagination,
|
|
49
|
-
startDate = state.startDate,
|
|
50
|
-
endDate = state.endDate,
|
|
51
|
-
checkActivityCode = state.checkActivityCode,
|
|
52
|
-
sort = state.sort;
|
|
53
|
-
var _BaseService$useKhInf = BaseService.useKhInfo(id, startDate.format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), checkActivityCode === '1' ? '' : checkActivityCode),
|
|
54
|
-
khRes = _BaseService$useKhInf.khRes;
|
|
55
|
-
var _ReocrdService$useRec = ReocrdService.useRecordInfo(id, startDate.format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), checkActivityCode === '1' ? '' : checkActivityCode, pagination.current - 1, sort),
|
|
56
|
-
records = _ReocrdService$useRec.records,
|
|
57
|
-
loading = _ReocrdService$useRec.loading;
|
|
58
|
-
var columns = [{
|
|
59
|
-
title: translateLocaleText("t('vtxkhmodal.image')"),
|
|
60
|
-
dataIndex: 'photos',
|
|
61
|
-
key: 'photos',
|
|
62
|
-
width: 120,
|
|
63
|
-
render: function render(text) {
|
|
64
|
-
var photos = JSON.parse(text || '[]');
|
|
65
|
-
var a = [].concat(_toConsumableArray(photos), _toConsumableArray(photos), _toConsumableArray(photos), _toConsumableArray(photos));
|
|
66
|
-
return (photos === null || photos === void 0 ? void 0 : photos.length) > 0 ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
|
|
67
|
-
children: a.map(function (ele, index) {
|
|
68
|
-
return /*#__PURE__*/_jsx(VtxImage, {
|
|
69
|
-
src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(ele.id),
|
|
70
|
-
style: {
|
|
71
|
-
width: 80,
|
|
72
|
-
height: 80,
|
|
73
|
-
visibility: index > 0 ? 'hidden' : 'visible'
|
|
74
|
-
},
|
|
75
|
-
alt: ele.name
|
|
76
|
-
}, index);
|
|
77
|
-
})
|
|
78
|
-
}) : '--';
|
|
79
|
-
}
|
|
80
|
-
}, {
|
|
81
|
-
title: translateLocaleText("t('vtxkhmodal.hours')"),
|
|
82
|
-
dataIndex: 'checkDate',
|
|
83
|
-
key: 'checkDate',
|
|
84
|
-
width: 150,
|
|
85
|
-
ellipsis: true
|
|
86
|
-
}, {
|
|
87
|
-
title: translateLocaleText("t('vtxkhmodal.assessmentActivity')"),
|
|
88
|
-
dataIndex: 'checkActivityName',
|
|
89
|
-
key: 'checkActivityName',
|
|
90
|
-
width: 200
|
|
91
|
-
}, {
|
|
92
|
-
title: translateLocaleText("t('vtxkhmodal.assessor')"),
|
|
93
|
-
dataIndex: 'checkUserName',
|
|
94
|
-
key: 'checkUserName'
|
|
95
|
-
}, {
|
|
96
|
-
title: translateLocaleText("t('vtxkhmodal.group')"),
|
|
97
|
-
dataIndex: 'ruleGroupName',
|
|
98
|
-
key: 'ruleGroupName'
|
|
99
|
-
}, {
|
|
100
|
-
title: translateLocaleText("t('vtxkhmodal.assessmentStandard')"),
|
|
101
|
-
dataIndex: 'ruleName',
|
|
102
|
-
key: 'ruleName',
|
|
103
|
-
width: 150
|
|
104
|
-
}, {
|
|
105
|
-
title: translateLocaleText("t('vtxkhmodal.score')"),
|
|
106
|
-
dataIndex: 'deductPoints',
|
|
107
|
-
key: 'deductPoints',
|
|
108
|
-
align: 'right'
|
|
109
|
-
}];
|
|
110
|
-
var pageChange = function pageChange(page) {
|
|
111
|
-
setState({
|
|
112
|
-
pagination: _objectSpread(_objectSpread({}, pagination), {}, {
|
|
113
|
-
current: page
|
|
114
|
-
})
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
var tableProps = {
|
|
118
|
-
pagination: _objectSpread(_objectSpread({}, pagination), {}, {
|
|
119
|
-
total: records.total,
|
|
120
|
-
defaultPageSize: 10,
|
|
121
|
-
onChange: pageChange
|
|
122
|
-
}),
|
|
123
|
-
height: 384,
|
|
124
|
-
loading: loading,
|
|
125
|
-
dataSource: records.rows,
|
|
126
|
-
onChange: function onChange(_pagination, _filters, sorter) {
|
|
127
|
-
if (sorter.order) {
|
|
128
|
-
var order = sorter.order === 'ascend' ? 'asc' : 'desc';
|
|
129
|
-
setState({
|
|
130
|
-
sort: "".concat(sorter.field, ",").concat(order)
|
|
131
|
-
});
|
|
132
|
-
} else {
|
|
133
|
-
setState({
|
|
134
|
-
sort: ''
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
var filterChange = function filterChange(dateValue) {
|
|
140
|
-
setState({
|
|
141
|
-
startDate: dateValue[0],
|
|
142
|
-
endDate: dateValue[1]
|
|
143
|
-
});
|
|
144
|
-
};
|
|
145
|
-
return /*#__PURE__*/_jsxs(VmWrapper, {
|
|
146
|
-
title: translateLocaleText("t('vtxkhmodal.details')"),
|
|
147
|
-
filterType: "rangePicker",
|
|
148
|
-
dateValue: [startDate, endDate],
|
|
149
|
-
filterChange: filterChange,
|
|
150
|
-
extraLeft: /*#__PURE__*/_jsx(VmFilter.VMSelect, {
|
|
151
|
-
options: [{
|
|
152
|
-
value: '1',
|
|
153
|
-
label: translateLocaleText("t('export.all')")
|
|
154
|
-
}, {
|
|
155
|
-
value: 'RCDC',
|
|
156
|
-
label: translateLocaleText("t('vtxkhmodal.day')")
|
|
157
|
-
}, {
|
|
158
|
-
value: 'ZXDC',
|
|
159
|
-
label: translateLocaleText("t('vtxkhmodal.specialSupervision')")
|
|
160
|
-
}, {
|
|
161
|
-
value: 'DSFCP',
|
|
162
|
-
label: translateLocaleText("t('vtxkhmodal.thirdPartyEvaluation')")
|
|
163
|
-
}, {
|
|
164
|
-
value: 'RCXC',
|
|
165
|
-
label: translateLocaleText("t('vtxkhmodal.day2')")
|
|
166
|
-
}],
|
|
167
|
-
style: {
|
|
168
|
-
width: 132
|
|
169
|
-
},
|
|
170
|
-
value: checkActivityCode,
|
|
171
|
-
onChange: function onChange(e) {
|
|
172
|
-
return setState({
|
|
173
|
-
checkActivityCode: e
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
}),
|
|
177
|
-
children: [/*#__PURE__*/_jsx("div", {
|
|
178
|
-
className: "kh-record-summary",
|
|
179
|
-
children: [{
|
|
180
|
-
name: translateLocaleText("t('vtxkhmodal.times')"),
|
|
181
|
-
value: khRes === null || khRes === void 0 ? void 0 : khRes.monthCheckTims,
|
|
182
|
-
key: 'count',
|
|
183
|
-
unit: translateLocaleText("t('common.timesUnit')"),
|
|
184
|
-
fontType: 'blue'
|
|
185
|
-
}, {
|
|
186
|
-
name: translateLocaleText("t('vtxkhmodal.totalDeductedPoints')"),
|
|
187
|
-
value: khRes === null || khRes === void 0 ? void 0 : khRes.monthDeductPoint,
|
|
188
|
-
key: 'subtract',
|
|
189
|
-
unit: translateLocaleText("t('vtxkhmodal.scoreUnit')"),
|
|
190
|
-
fontType: 'red'
|
|
191
|
-
}].map(function (ele) {
|
|
192
|
-
return /*#__PURE__*/_jsx(VmFactor, _objectSpread(_objectSpread({}, ele), {}, {
|
|
193
|
-
img: require("../../imgs/".concat(ele.key).concat(isDark ? '' : '_light', ".png")),
|
|
194
|
-
unitStyle: {
|
|
195
|
-
fontSize: 14
|
|
196
|
-
}
|
|
197
|
-
}), ele.key);
|
|
198
|
-
})
|
|
199
|
-
}), /*#__PURE__*/_jsx(VmTable, _objectSpread({
|
|
200
|
-
columns: columns,
|
|
201
|
-
rowKey: "id"
|
|
202
|
-
}, tableProps))]
|
|
203
|
-
});
|
|
204
|
-
};
|
|
205
|
-
export default List;
|
|
1
|
+
export { default } from "../../../_components/vm-appraisal-info";
|
|
@@ -2,7 +2,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
2
2
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
3
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
4
4
|
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); }
|
|
5
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
5
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
6
6
|
/**
|
|
7
7
|
* 考核弹窗
|
|
8
8
|
*/
|
|
@@ -8,7 +8,7 @@ import { MapIcon } from '@vtx/map-icon';
|
|
|
8
8
|
import { getVtxToken, request } from '@vtx/utils';
|
|
9
9
|
import { useRequest } from 'ahooks';
|
|
10
10
|
import useSettings from "../_hooks/useSettings";
|
|
11
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
11
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
12
12
|
var BaseService = {
|
|
13
13
|
useBaseInfo: function useBaseInfo(id) {
|
|
14
14
|
var _useRequest = useRequest(function () {
|
|
@@ -9,7 +9,7 @@ import VtxBaseModal from "../vtx-base-modal";
|
|
|
9
9
|
import { AlarmInfo, Attendance, BaseInfo, Calendar, Equipment } from "../vtx-staff-modal/components";
|
|
10
10
|
import "../vtx-staff-modal/style";
|
|
11
11
|
import { BaseService } from "./api";
|
|
12
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
12
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
var TABS_BASE = 'base';
|
|
15
15
|
var TABS_CALENDAR = 'calendar';
|
|
@@ -2,7 +2,7 @@ import { useContext } from 'react';
|
|
|
2
2
|
import { VmTable, VmTag, VmWrapper } from "../../../_components";
|
|
3
3
|
import { AlarmService } from "../../api";
|
|
4
4
|
import { RestaurantContext } from "../../index";
|
|
5
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
5
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
var columns = [{
|
|
8
8
|
title: translateLocaleText("t('vtxcccpmodal.type3')"),
|
|
@@ -3,7 +3,7 @@ import { useContext } from 'react';
|
|
|
3
3
|
import { VmEmpty, VmLineCharts } from "../../../_components";
|
|
4
4
|
import { AlarmService } from "../../api";
|
|
5
5
|
import { RestaurantContext } from "../../index";
|
|
6
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
6
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
var AlarmTrend = function AlarmTrend(_ref) {
|
|
9
9
|
var startDate = _ref.startDate,
|
|
@@ -3,7 +3,7 @@ import { useContext } from 'react';
|
|
|
3
3
|
import { VmEmpty, VmPieCharts } from "../../../_components";
|
|
4
4
|
import { AlarmService } from "../../api";
|
|
5
5
|
import { RestaurantContext } from "../../index";
|
|
6
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
6
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
var AlarmTypeAnalysis = function AlarmTypeAnalysis(_ref) {
|
|
9
9
|
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.js";
|
|
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.js";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
var AlarmInfo = function AlarmInfo() {
|
|
18
18
|
var _useSettings = useSettings(),
|
|
@@ -4,7 +4,7 @@ import { VmInfoCollection, VmTag } from "../../../_components";
|
|
|
4
4
|
import { BasicService } from "../../api";
|
|
5
5
|
import { RestaurantContext } from "../../index";
|
|
6
6
|
import "./index.less";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
9
|
var CollectRule = function CollectRule() {
|
|
10
10
|
var _useContext = useContext(RestaurantContext),
|
|
@@ -4,7 +4,7 @@ import { VmTable } from "../../../_components";
|
|
|
4
4
|
import { BasicService } from "../../api";
|
|
5
5
|
import { RestaurantContext } from "../../index";
|
|
6
6
|
import "./index.less";
|
|
7
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
7
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
var DetailList = function DetailList(_ref) {
|
|
10
10
|
var startDay = _ref.startDay,
|
|
@@ -17,7 +17,7 @@ import { VmInfoCollection, VmMap } from "../../../_components";
|
|
|
17
17
|
import { BasicService } from "../../api";
|
|
18
18
|
import { getFormItem } from "../../config";
|
|
19
19
|
import { RestaurantContext } from "../../index";
|
|
20
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
20
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
21
21
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
22
|
var Info = function Info() {
|
|
23
23
|
var _data$location;
|
|
@@ -10,7 +10,7 @@ import { VmFactor } from "../../../_components";
|
|
|
10
10
|
import useSettings from "../../../_hooks/useSettings";
|
|
11
11
|
import { BasicService } from "../../api";
|
|
12
12
|
import { RestaurantContext } from "../../index";
|
|
13
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
13
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
var Summary = function Summary(_ref) {
|
|
16
16
|
var startDay = _ref.startDay,
|
|
@@ -9,7 +9,7 @@ import dayjs from 'dayjs';
|
|
|
9
9
|
import { VmWrapper } from "../../../_components";
|
|
10
10
|
import DetailList from "./DetailList";
|
|
11
11
|
import Summary from "./Summary";
|
|
12
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
12
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
var SummaryStatistics = function SummaryStatistics() {
|
|
15
15
|
var _useSetState = useSetState({
|
|
@@ -6,7 +6,7 @@ import { RestaurantContext } from "../../index";
|
|
|
6
6
|
import CollectRule from "./CollectRule";
|
|
7
7
|
import Info from "./Info";
|
|
8
8
|
import SummaryStatistics from "./SummaryStatistics";
|
|
9
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
9
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
var Basic = function Basic() {
|
|
12
12
|
var _data$contract;
|
|
@@ -17,7 +17,7 @@ import useSettings from "../../../_hooks/useSettings";
|
|
|
17
17
|
import { BasicService } from "../../api";
|
|
18
18
|
import { RestaurantContext } from "../../index";
|
|
19
19
|
import "./index.less";
|
|
20
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
20
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
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,
|
|
@@ -12,7 +12,7 @@ import { VmTitle, VmWrapper } from "../../../_components";
|
|
|
12
12
|
import { RestaurantContext } from "../../index";
|
|
13
13
|
import DetailList from "../Basic/DetailList";
|
|
14
14
|
import Summary from "../Basic/Summary";
|
|
15
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
15
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
var Collection = function Collection() {
|
|
18
18
|
var _useSetState = useSetState({
|
|
@@ -11,7 +11,7 @@ import { VmInfoCollection, VmTable, VmTitle, VmWrapper } from "../../../_compone
|
|
|
11
11
|
import VtxBaseModal from "../../../vtx-base-modal";
|
|
12
12
|
import { BasicService } from "../../api";
|
|
13
13
|
import { RestaurantContext } from "../../index";
|
|
14
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
14
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
15
15
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
16
|
var Content = function Content(_ref) {
|
|
17
17
|
var id = _ref.id;
|
|
@@ -21,7 +21,7 @@ import { getContactList } from "../../api";
|
|
|
21
21
|
import { signColorMap } from "../../config";
|
|
22
22
|
import { RestaurantContext } from "../../index";
|
|
23
23
|
import ContactDetail from "./ContactDetail";
|
|
24
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
24
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
25
25
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
26
26
|
var SignAndContract = function SignAndContract() {
|
|
27
27
|
var _info$contract;
|
|
@@ -22,7 +22,7 @@ import { BasicService } from "./api";
|
|
|
22
22
|
import { Alarm, Basic, Calendar, Collection, DetailInfo, SignAndContract } from "./components";
|
|
23
23
|
import "./style";
|
|
24
24
|
import { VmCustom } from "../_components";
|
|
25
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
25
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
26
26
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
27
|
var TABS_BASE = 'base';
|
|
28
28
|
var TABS_DETAIL = 'detail';
|
|
@@ -18,7 +18,7 @@ import dayjs from 'dayjs';
|
|
|
18
18
|
import _, { keyBy } from 'lodash';
|
|
19
19
|
import np from 'number-precision';
|
|
20
20
|
import http from "../_util/http";
|
|
21
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
21
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
22
22
|
var workTypeColors = ['blue', 'green', 'yellow', 'purple', 'orange'];
|
|
23
23
|
export var BaseService = {
|
|
24
24
|
useBaseInfo: function useBaseInfo(id, hasRule) {
|
|
@@ -2,7 +2,7 @@ import classnames from 'classnames';
|
|
|
2
2
|
import { isEmpty } from 'lodash';
|
|
3
3
|
import { VmEmpty } from "../../../_components";
|
|
4
4
|
import useSettings from "../../../_hooks/useSettings";
|
|
5
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
5
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
var Rules = function Rules(_ref) {
|
|
8
8
|
var rules = _ref.rules,
|
|
@@ -19,7 +19,8 @@ import { useState } from 'react';
|
|
|
19
19
|
import { VmEmpty, VmProgress, VmTable, VmTag, VmWrapper } from "../../../_components";
|
|
20
20
|
import useSettings from "../../../_hooks/useSettings";
|
|
21
21
|
import { BaseService } from "../../api";
|
|
22
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
22
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
23
|
+
import { buildIframeQuery } from "../../utils/url";
|
|
23
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
25
|
var Work = function Work(props) {
|
|
25
26
|
var id = props.id,
|
|
@@ -127,7 +128,14 @@ var Work = function Work(props) {
|
|
|
127
128
|
if (prefixList.length === 2) {
|
|
128
129
|
prefix = "/".concat(prefixList[0]);
|
|
129
130
|
}
|
|
130
|
-
var
|
|
131
|
+
var query = buildIframeQuery(location.href.split('?')[1], {
|
|
132
|
+
carId: record.carId,
|
|
133
|
+
theme: theme === 'blue' ? 'dark' : theme,
|
|
134
|
+
startTime: dayjs(date).format('YYYY-MM-DD 00:00:00'),
|
|
135
|
+
endTime: dayjs(date).format('YYYY-MM-DD 23:59:59'),
|
|
136
|
+
roadId: record.roadId
|
|
137
|
+
});
|
|
138
|
+
var src = "".concat(prefix, "/carHistory/#/zyqsHistory?").concat(query);
|
|
131
139
|
setIframeModalInfo({
|
|
132
140
|
title: translateLocaleText("t('vtxroadmodal.vehicleTrack')"),
|
|
133
141
|
visible: true,
|
|
@@ -13,7 +13,7 @@ import "./index.less";
|
|
|
13
13
|
import Rules from "./Rules";
|
|
14
14
|
import Work from "./Work";
|
|
15
15
|
import { BaseService } from "../../api";
|
|
16
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
16
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
18
|
var BaseInfo = function BaseInfo(_ref) {
|
|
19
19
|
var _info$lngLats, _jcssInfo$geometryInf;
|
|
@@ -20,7 +20,7 @@ import darkWorkMileageIcon from "../../imgs/calendar/dark_green_mileage.png";
|
|
|
20
20
|
import darkMileageIcon from "../../imgs/calendar/dark_mileage.png";
|
|
21
21
|
import lightWorkMileageIcon from "../../imgs/calendar/green_mileage.png";
|
|
22
22
|
import lightMileageIcon from "../../imgs/calendar/mileage.png";
|
|
23
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
23
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
24
24
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
var Calendar = function Calendar(_ref) {
|
|
26
26
|
var id = _ref.id;
|
|
@@ -18,7 +18,8 @@ import { useMemo, useState } from 'react';
|
|
|
18
18
|
import { VmBarCharts, VmEmpty, VmProgress, VmTable, VmTag, VmWrapper } from "../../../_components";
|
|
19
19
|
import useSettings from "../../../_hooks/useSettings";
|
|
20
20
|
import { LaneService } from "../../api";
|
|
21
|
-
import {
|
|
21
|
+
import { buildIframeQuery } from "../../utils/url";
|
|
22
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
22
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
24
|
export var getPercentInfo = function getPercentInfo(percent) {
|
|
24
25
|
var colorList = ['#D9D9D9', '#D9D9D9'];
|
|
@@ -220,7 +221,13 @@ var Work = function Work(props) {
|
|
|
220
221
|
if (prefixList.length === 2) {
|
|
221
222
|
prefix = "/".concat(prefixList[0]);
|
|
222
223
|
}
|
|
223
|
-
var
|
|
224
|
+
var query = buildIframeQuery(location.href.split('?')[1], {
|
|
225
|
+
carId: record.workCarId,
|
|
226
|
+
theme: theme === 'blue' ? 'dark' : theme,
|
|
227
|
+
startTime: dayjs(date).format('YYYY-MM-DD 00:00:00'),
|
|
228
|
+
endTime: dayjs(date).format('YYYY-MM-DD 23:59:59')
|
|
229
|
+
});
|
|
230
|
+
var src = "".concat(prefix, "/carHistory/#/zyqsLaneHistory?").concat(query);
|
|
224
231
|
setIframeModalInfo({
|
|
225
232
|
title: translateLocaleText("t('vtxroadmodal.vehicleTrack')"),
|
|
226
233
|
visible: true,
|
|
@@ -6,7 +6,7 @@ import { LaneService } from "../../api";
|
|
|
6
6
|
import "./index.less";
|
|
7
7
|
import Rules from "./Rules";
|
|
8
8
|
import Work from "./Work";
|
|
9
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
9
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
var BaseInfo = function BaseInfo(_ref) {
|
|
12
12
|
var _info$lngLats, _jcssInfo$geometryInf;
|
|
@@ -21,7 +21,7 @@ import darkWorkMileageIcon from "../../imgs/calendar/dark_green_mileage.png";
|
|
|
21
21
|
import darkMileageIcon from "../../imgs/calendar/dark_mileage.png";
|
|
22
22
|
import lightWorkMileageIcon from "../../imgs/calendar/green_mileage.png";
|
|
23
23
|
import lightMileageIcon from "../../imgs/calendar/mileage.png";
|
|
24
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
24
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
25
25
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
26
|
var Calendar = function Calendar(_ref) {
|
|
27
27
|
var id = _ref.id;
|
|
@@ -15,7 +15,7 @@ import { VMSelect } from "../../../_components/vm-filter";
|
|
|
15
15
|
import useSettings from "../../../_hooks/useSettings";
|
|
16
16
|
import { LaneService } from "../../api";
|
|
17
17
|
import "./index.less";
|
|
18
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
18
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
19
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
20
|
var Statistical = function Statistical(_ref) {
|
|
21
21
|
var id = _ref.id;
|
|
@@ -14,7 +14,7 @@ import { VmBarCharts, VmFactor, VmLineCharts, VmWrapper } from "../../../_compon
|
|
|
14
14
|
import useSettings from "../../../_hooks/useSettings";
|
|
15
15
|
import { BaseService } from "../../api";
|
|
16
16
|
import "./index.less";
|
|
17
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
17
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
19
|
var Statistical = function Statistical(_ref) {
|
|
20
20
|
var id = _ref.id;
|
|
@@ -12,12 +12,13 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { useSetState } from 'ahooks';
|
|
14
14
|
import { VmIframeModal } from "../_components";
|
|
15
|
+
import Appraisal, { insertAppraisalTab } from "../_components/vm-appraisal-info";
|
|
15
16
|
import useGetConfig from "../_hooks/useGetConfig";
|
|
16
17
|
import VtxBaseModal from "../vtx-base-modal";
|
|
17
18
|
import { BaseService } from "./api";
|
|
18
19
|
import { BaseInfo, Calendar, Statistical, LaneBaseInfo, LaneStatistical, LaneCalendar } from "./components";
|
|
19
20
|
import "./style/index";
|
|
20
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
21
|
+
import { translateLocaleText } from "./../hooks/useTranslation.js";
|
|
21
22
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
23
|
var TABS_BASE = 'base';
|
|
23
24
|
var TABS_STATIC = 'statistical';
|
|
@@ -25,8 +26,8 @@ var TABS_CALENDAR = 'calendar';
|
|
|
25
26
|
var TABS_LANE_BASE = 'lane-base';
|
|
26
27
|
var TABS_LANE_STATIC = 'lane-statistical';
|
|
27
28
|
var TABS_LANE_CALENDAR = 'lane-calendar';
|
|
29
|
+
var TABS_APPRAISAL = 'appraisal';
|
|
28
30
|
var VtxRoadModal = function VtxRoadModal(props) {
|
|
29
|
-
var _contents;
|
|
30
31
|
var id = props.id,
|
|
31
32
|
title = props.title,
|
|
32
33
|
subTitle = props.subTitle,
|
|
@@ -84,7 +85,9 @@ var VtxRoadModal = function VtxRoadModal(props) {
|
|
|
84
85
|
var laneCalendarContent = /*#__PURE__*/_jsx(LaneCalendar, {
|
|
85
86
|
id: id
|
|
86
87
|
});
|
|
87
|
-
var contents =
|
|
88
|
+
var contents = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TABS_BASE, baseContent), TABS_STATIC, statisticalContent), TABS_CALENDAR, calendarContent), TABS_LANE_BASE, laneBaseContent), TABS_LANE_STATIC, laneStatisticalContent), TABS_LANE_CALENDAR, laneCalendarContent), TABS_APPRAISAL, /*#__PURE__*/_jsx(Appraisal, {
|
|
89
|
+
id: id
|
|
90
|
+
}));
|
|
88
91
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
89
92
|
children: [visible && /*#__PURE__*/_jsx(VtxBaseModal, {
|
|
90
93
|
title: title,
|
|
@@ -93,7 +96,7 @@ var VtxRoadModal = function VtxRoadModal(props) {
|
|
|
93
96
|
theme: theme,
|
|
94
97
|
visible: visible,
|
|
95
98
|
onCancel: onCancel,
|
|
96
|
-
tabs: tabsData,
|
|
99
|
+
tabs: insertAppraisalTab(tabsData),
|
|
97
100
|
tabChose: tabChose,
|
|
98
101
|
startDate: startDate,
|
|
99
102
|
endDate: endDate,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var buildIframeQuery = function buildIframeQuery() {
|
|
2
|
+
var routeQuery = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
3
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
4
|
+
var searchParams = new URLSearchParams(routeQuery || '');
|
|
5
|
+
Object.keys(params).forEach(function (key) {
|
|
6
|
+
var value = params[key];
|
|
7
|
+
if (value !== undefined && value !== null) {
|
|
8
|
+
searchParams.set(key, value);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return searchParams.toString().replace(/\+/g, '%20');
|
|
12
|
+
};
|
|
@@ -9,7 +9,7 @@ import { useState } from 'react';
|
|
|
9
9
|
import { VmFilter, VmPieCharts, VmTitle } from "../../../_components";
|
|
10
10
|
import { alarmService } from "../../api";
|
|
11
11
|
import "./index.less";
|
|
12
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
12
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
var FSSD = function FSSD(_ref) {
|
|
15
15
|
var _ref$classPrefix = _ref.classPrefix,
|
|
@@ -7,7 +7,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
7
7
|
import ReactEcharts from 'echarts-for-react';
|
|
8
8
|
import groupBy from 'lodash/groupBy';
|
|
9
9
|
import useSettings from "../../../_hooks/useSettings";
|
|
10
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
10
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
var xAxis = _toConsumableArray(new Array(24)).map(function (_, index) {
|
|
13
13
|
return add0(index);
|