@vtx/modals2 3.3.16 → 3.3.18
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/index.js +14 -0
- package/lib/index.js.map +1 -1
- package/lib/vm-info-collection/index.js +4 -1
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/Mix/index.js +4 -3
- package/lib/vtx-car-adm251-modal/components/Mix/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/index.js +4 -3
- package/lib/vtx-car-adm251-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/components/RunAna/index.js +3 -2
- package/lib/vtx-car-modal/components/RunAna/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js +13 -8
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal-temp/api.js +633 -0
- package/lib/vtx-car-modal-temp/api.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/Charts.js +198 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/List.js +186 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/List.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/index.css +45 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/index.js +126 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/AlarmInfo/index.less +38 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/Charts.js +81 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/TodayRun.js +85 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/TodayRun.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/TodayWorkJXH.js +67 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/TodayWorkJXH.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/TodayWorkLJSY.js +126 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/TodayWorkLJSY.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/Wgfx.js +116 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/Wgfx.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/WorkSummary.js +56 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/WorkSummary.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/WorkSummaryJxh.js +117 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/WorkSummaryJxh.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/ZyfxJXH.js +123 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/ZyfxJXH.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/ZyfxLJSY.js +147 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/ZyfxLJSY.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/index.css +280 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/index.js +252 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/BaseInfo/index.less +239 -0
- package/lib/vtx-car-modal-temp/components/Maintenance/index.css +39 -0
- package/lib/vtx-car-modal-temp/components/Maintenance/index.js +134 -0
- package/lib/vtx-car-modal-temp/components/Maintenance/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/Maintenance/index.less +34 -0
- package/lib/vtx-car-modal-temp/components/Mixsy/index.css +48 -0
- package/lib/vtx-car-modal-temp/components/Mixsy/index.js +277 -0
- package/lib/vtx-car-modal-temp/components/Mixsy/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/Mixsy/index.less +49 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/List.js +88 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/List.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/OilLIne.js +100 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/OilLIne.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/index.css +33 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/index.js +138 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/OilConsumption/index.less +36 -0
- package/lib/vtx-car-modal-temp/components/RunAna/index.css +6 -0
- package/lib/vtx-car-modal-temp/components/RunAna/index.js +130 -0
- package/lib/vtx-car-modal-temp/components/RunAna/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/RunAna/index.less +6 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/Charts.js +70 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/List.js +92 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/List.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/index.css +97 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/index.js +93 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/StaticInfo/index.less +75 -0
- package/lib/vtx-car-modal-temp/components/WaterConsumption/index.css +29 -0
- package/lib/vtx-car-modal-temp/components/WaterConsumption/index.js +116 -0
- package/lib/vtx-car-modal-temp/components/WaterConsumption/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/WaterConsumption/index.less +22 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/Wcl.js +128 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/Wcl.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/WorkJxh.js +309 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/WorkJxh.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/WorkLjsy.js +495 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/WorkLjsy.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/index.css +263 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/index.js +35 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/components/WorkInfo/index.less +220 -0
- package/lib/vtx-car-modal-temp/components/index.js +70 -0
- package/lib/vtx-car-modal-temp/components/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/imgs/bglyh.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/bglyh_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/calendar-hour.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/calendar-mile.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/car.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ccts.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ccts_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/dqsd.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/dqsd_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/dqsd_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/jrxs.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/jrxs_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/jrxs_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjdw.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjdw_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjdw_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjts.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjts_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjts_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjzl.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjzl_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsjzl_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_car.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_cp_fish.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_cp_name.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_cp_name_active.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_cp_name_un.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_diamond.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_diamond_active.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_left.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljsy_right.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljwgsc.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljwgsc_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljwgts.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ljwgts_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/outTime.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/outTime_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/outTime_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/pjwcl.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/pjwcl_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/pjwcl_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/position.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/position_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/position_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/realCarImg.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/refresh.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/refresh_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/refresh_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/runTime.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/runTime_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/runTime_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/syyl.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/syyl_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/warn.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/wcl.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/wcl_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/wcl_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/wgcs.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/wgcs_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/work_cp_bg.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/xslc.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/xslc_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/xslc_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ysdw.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ysdw_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ysdw_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ywcdw.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ywcdw_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/ywcdw_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zlc.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zlc_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zlc_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zld.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zld_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zld_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zsh.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zsh_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zycs.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zycs_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zycs_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zycssc.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zycssc_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zycssc_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zyh.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zyh_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zyl.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zyl_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zyl_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zylc.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zylc_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zylc_light.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zysc.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zysc_blue.png +0 -0
- package/lib/vtx-car-modal-temp/imgs/zysc_light.png +0 -0
- package/lib/vtx-car-modal-temp/index.js +156 -0
- package/lib/vtx-car-modal-temp/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/style/css.js +11 -0
- package/lib/vtx-car-modal-temp/style/css.js.map +1 -0
- package/lib/vtx-car-modal-temp/style/index.css +136 -0
- package/lib/vtx-car-modal-temp/style/index.js +11 -0
- package/lib/vtx-car-modal-temp/style/index.js.map +1 -0
- package/lib/vtx-car-modal-temp/style/index.less +6 -0
- package/lib/vtx-ljfl-tfd-modal-temp/api.js +601 -0
- package/lib/vtx-ljfl-tfd-modal-temp/api.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/OverView/index.css +55 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/OverView/index.js +124 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/OverView/index.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/OverView/index.less +49 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/TFRD/index.css +153 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/TFRD/index.js +238 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/TFRD/index.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/TFRD/index.less +15 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/WGXX/index.css +162 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/WGXX/index.js +341 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/WGXX/index.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/WGXX/index.less +22 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/index.js +28 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/index.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/video/index.css +140 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/video/index.js +32 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/video/index.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/components/video/index.less +10 -0
- package/lib/vtx-ljfl-tfd-modal-temp/config.js +80 -0
- package/lib/vtx-ljfl-tfd-modal-temp/config.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/BOTTLE.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/CAN.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/KRAFT_PAPER_BOX.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/NAPKIN.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/PLASTIC_BAG.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/avatar_empty.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/black-rank.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/bucket-cylj.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/bucket-khsw.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/bucket-qtlj.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/bucket-yhlj.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/camera.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/car_cy.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/car_khs.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/car_qt.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/car_yh.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/cy_car.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/cy_icon.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/cylj-bg.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/cylj.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/cywpd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/disconnect.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/error.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/fangzi.gif +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/garbage_default.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/getway.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/getwayBox.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/host.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/ht-tfd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/ht.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/khsw-bg.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/khsw.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/lamp.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/left-ddypz.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/left-tfdmd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/manage-bg-1.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/manage-bg-2.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/manage-gzcx.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/manage-hjgl.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/manage-hmd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/manage-wgmsr.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/manage-yyxj.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/my-tfd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/my.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/pie-chart-bg.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/point.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/qtlj-bg.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/qtlj.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/rank-bg.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/screen.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/tfd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/throwPoint.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/tingzi.gif +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/toukou.gif +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/twtf-tfd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/twtf.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/window.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/wpd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/wstf-tfd.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/wstf.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/yhlj-bg.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/imgs/yhlj.png +0 -0
- package/lib/vtx-ljfl-tfd-modal-temp/index.js +101 -0
- package/lib/vtx-ljfl-tfd-modal-temp/index.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/style/css.js +5 -0
- package/lib/vtx-ljfl-tfd-modal-temp/style/css.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/style/index.css +132 -0
- package/lib/vtx-ljfl-tfd-modal-temp/style/index.js +5 -0
- package/lib/vtx-ljfl-tfd-modal-temp/style/index.js.map +1 -0
- package/lib/vtx-ljfl-tfd-modal-temp/style/index.less +3 -0
- package/lib/vtx-ljfl-tfd-modal-temp/types.js +6 -0
- package/lib/vtx-ljfl-tfd-modal-temp/types.js.map +1 -0
- package/lib/vtx-wr-modal/index.js +12 -9
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-zyz-modal/components/BaseInfo/index.js +9 -2
- package/lib/vtx-zyz-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zyz-modal/components/Metering/index.css +0 -3
- package/lib/vtx-zyz-modal/components/Metering/index.js +5 -25
- package/lib/vtx-zyz-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-zyz-modal/components/Metering/index.less +3 -3
- package/lib/vtx-zyz-modal/index.js +6 -2
- package/lib/vtx-zyz-modal/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.throwRecordService = exports.throwFailPersonService = exports.throwFailBehaviorService = exports.queryPage = exports.query = exports.overViewService = exports.getViolateBehavior = exports.getLoadEnumValue = exports.getDivisionBusinessPackages = exports.deviceService = exports.alarmService = void 0;
|
|
7
|
+
var _tslib = require("tslib");
|
|
8
|
+
var _utils = require("@vtx/utils");
|
|
9
|
+
var _ahooks = require("ahooks");
|
|
10
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
11
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
12
|
+
var query = function query(url, params) {
|
|
13
|
+
var method = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'get';
|
|
14
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
15
|
+
var res;
|
|
16
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17
|
+
while (1) {
|
|
18
|
+
switch (_context.prev = _context.next) {
|
|
19
|
+
case 0:
|
|
20
|
+
_context.next = 2;
|
|
21
|
+
return _utils.request[method](url, {
|
|
22
|
+
data: params
|
|
23
|
+
});
|
|
24
|
+
case 2:
|
|
25
|
+
res = _context.sent;
|
|
26
|
+
return _context.abrupt("return", res === null || res === void 0 ? void 0 : res.data);
|
|
27
|
+
case 4:
|
|
28
|
+
case "end":
|
|
29
|
+
return _context.stop();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, _callee);
|
|
33
|
+
}));
|
|
34
|
+
};
|
|
35
|
+
exports.query = query;
|
|
36
|
+
var queryPage = function queryPage(url, params) {
|
|
37
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
38
|
+
var _a, _b, res;
|
|
39
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
40
|
+
while (1) {
|
|
41
|
+
switch (_context2.prev = _context2.next) {
|
|
42
|
+
case 0:
|
|
43
|
+
_context2.next = 2;
|
|
44
|
+
return _utils.request.get(url, {
|
|
45
|
+
data: params
|
|
46
|
+
});
|
|
47
|
+
case 2:
|
|
48
|
+
res = _context2.sent;
|
|
49
|
+
return _context2.abrupt("return", {
|
|
50
|
+
list: ((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.rows) || [],
|
|
51
|
+
total: ((_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.total) || 0
|
|
52
|
+
});
|
|
53
|
+
case 4:
|
|
54
|
+
case "end":
|
|
55
|
+
return _context2.stop();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}, _callee2);
|
|
59
|
+
}));
|
|
60
|
+
};
|
|
61
|
+
exports.queryPage = queryPage;
|
|
62
|
+
var PREFIX = '/cloud/sdyd/kanban/v2/popupCommon';
|
|
63
|
+
// 违规行为下拉
|
|
64
|
+
var getViolateBehavior = function getViolateBehavior() {
|
|
65
|
+
return query('/cloud/sdyd/common/loadEnumValue', {
|
|
66
|
+
enumCode: 'ThrowAberrantEnum'
|
|
67
|
+
}, 'post');
|
|
68
|
+
};
|
|
69
|
+
// 业务包枚举
|
|
70
|
+
exports.getViolateBehavior = getViolateBehavior;
|
|
71
|
+
var getLoadEnumValue = function getLoadEnumValue(throwPointId) {
|
|
72
|
+
var _useRequest = (0, _ahooks.useRequest)(function () {
|
|
73
|
+
return query('/cloud/sdyd/user/divisionBusinessPackages', {
|
|
74
|
+
throwPointId: throwPointId
|
|
75
|
+
});
|
|
76
|
+
}, {
|
|
77
|
+
ready: !!throwPointId,
|
|
78
|
+
refreshDeps: [throwPointId]
|
|
79
|
+
}),
|
|
80
|
+
data = _useRequest.data;
|
|
81
|
+
return data;
|
|
82
|
+
};
|
|
83
|
+
// 综合总览
|
|
84
|
+
exports.getLoadEnumValue = getLoadEnumValue;
|
|
85
|
+
var overViewService = {
|
|
86
|
+
// 投放点
|
|
87
|
+
throwPoints: function throwPoints(_ref) {
|
|
88
|
+
var throwPointId = _ref.throwPointId;
|
|
89
|
+
var _useRequest2 = (0, _ahooks.useRequest)(function () {
|
|
90
|
+
return query('/cloud/sdyd/throwPoint/list', {
|
|
91
|
+
throwPointId: throwPointId,
|
|
92
|
+
containsLongLat: true
|
|
93
|
+
});
|
|
94
|
+
}, {
|
|
95
|
+
ready: !!throwPointId,
|
|
96
|
+
refreshDeps: [throwPointId]
|
|
97
|
+
}),
|
|
98
|
+
data = _useRequest2.data;
|
|
99
|
+
return data;
|
|
100
|
+
},
|
|
101
|
+
// 投放点基本数据
|
|
102
|
+
estateStatistics: function estateStatistics(_ref2) {
|
|
103
|
+
var throwPointId = _ref2.throwPointId;
|
|
104
|
+
var _useRequest3 = (0, _ahooks.useRequest)(function () {
|
|
105
|
+
return query('/cloud/ljfljc/api/v101/throwPoint/queryById', {
|
|
106
|
+
id: throwPointId,
|
|
107
|
+
coordinateType: 'bd09'
|
|
108
|
+
});
|
|
109
|
+
}, {
|
|
110
|
+
ready: !!throwPointId,
|
|
111
|
+
refreshDeps: [throwPointId]
|
|
112
|
+
}),
|
|
113
|
+
data = _useRequest3.data;
|
|
114
|
+
return data;
|
|
115
|
+
},
|
|
116
|
+
// 投放热度按垃圾类型统计
|
|
117
|
+
throwSumByGarbageType: function throwSumByGarbageType(_ref3) {
|
|
118
|
+
var throwPointId = _ref3.throwPointId;
|
|
119
|
+
var _useRequest4 = (0, _ahooks.useRequest)(function () {
|
|
120
|
+
return query("".concat(PREFIX, "/throwSumByGarbageType"), {
|
|
121
|
+
throwPointId: throwPointId
|
|
122
|
+
});
|
|
123
|
+
}, {
|
|
124
|
+
refreshDeps: [throwPointId]
|
|
125
|
+
// pollingInterval: 5000
|
|
126
|
+
}),
|
|
127
|
+
data = _useRequest4.data;
|
|
128
|
+
return data;
|
|
129
|
+
},
|
|
130
|
+
// 投放热度按24h统计
|
|
131
|
+
throwSumByHour: function throwSumByHour(_ref4) {
|
|
132
|
+
var throwPointId = _ref4.throwPointId;
|
|
133
|
+
var _useRequest5 = (0, _ahooks.useRequest)(function () {
|
|
134
|
+
return query("".concat(PREFIX, "/throwSumByHour"), {
|
|
135
|
+
throwPointId: throwPointId
|
|
136
|
+
});
|
|
137
|
+
}, {
|
|
138
|
+
refreshDeps: [throwPointId]
|
|
139
|
+
}),
|
|
140
|
+
data = _useRequest5.data;
|
|
141
|
+
return data;
|
|
142
|
+
},
|
|
143
|
+
// 投放热度点位分布及一周趋势
|
|
144
|
+
throwSumByDayAndPoint: function throwSumByDayAndPoint(_ref5) {
|
|
145
|
+
var throwPointId = _ref5.throwPointId;
|
|
146
|
+
var _useRequest6 = (0, _ahooks.useRequest)(function () {
|
|
147
|
+
return query("".concat(PREFIX, "/throwSumByDayAndPointOneWeek"), {
|
|
148
|
+
throwPointId: throwPointId
|
|
149
|
+
});
|
|
150
|
+
}, {
|
|
151
|
+
refreshDeps: [throwPointId]
|
|
152
|
+
}),
|
|
153
|
+
data = _useRequest6.data;
|
|
154
|
+
return data;
|
|
155
|
+
},
|
|
156
|
+
// AI工单报事件类型分布
|
|
157
|
+
alarmSumByType: function alarmSumByType(_ref6) {
|
|
158
|
+
var throwPointId = _ref6.throwPointId,
|
|
159
|
+
businessPackage = _ref6.businessPackage,
|
|
160
|
+
beginTime = _ref6.beginTime,
|
|
161
|
+
endTime = _ref6.endTime;
|
|
162
|
+
var _useRequest7 = (0, _ahooks.useRequest)(function () {
|
|
163
|
+
return query("".concat(PREFIX, "/aiAlarmGroupByType"), {
|
|
164
|
+
throwPointId: throwPointId,
|
|
165
|
+
businessPackage: businessPackage,
|
|
166
|
+
beginTime: beginTime,
|
|
167
|
+
endTime: endTime
|
|
168
|
+
});
|
|
169
|
+
}, {
|
|
170
|
+
refreshDeps: [throwPointId, businessPackage, beginTime, endTime]
|
|
171
|
+
// pollingInterval: 5000
|
|
172
|
+
}),
|
|
173
|
+
data = _useRequest7.data;
|
|
174
|
+
return data;
|
|
175
|
+
},
|
|
176
|
+
// AI工单近一周趋势
|
|
177
|
+
alarmSumByDate: function alarmSumByDate(_ref7) {
|
|
178
|
+
var throwPointId = _ref7.throwPointId,
|
|
179
|
+
businessPackage = _ref7.businessPackage,
|
|
180
|
+
beginTime = _ref7.beginTime,
|
|
181
|
+
endTime = _ref7.endTime;
|
|
182
|
+
var _useRequest8 = (0, _ahooks.useRequest)(function () {
|
|
183
|
+
return query("".concat(PREFIX, "/aiAlarmGroupByTypeAndDayOneWeek"), {
|
|
184
|
+
throwPointId: throwPointId,
|
|
185
|
+
businessPackage: businessPackage,
|
|
186
|
+
beginTime: beginTime,
|
|
187
|
+
endTime: endTime
|
|
188
|
+
});
|
|
189
|
+
}, {
|
|
190
|
+
refreshDeps: [throwPointId, businessPackage, beginTime, endTime]
|
|
191
|
+
}),
|
|
192
|
+
data = _useRequest8.data;
|
|
193
|
+
return data;
|
|
194
|
+
},
|
|
195
|
+
// 运营管理
|
|
196
|
+
managementData: function managementData(_ref8) {
|
|
197
|
+
var throwPointId = _ref8.throwPointId;
|
|
198
|
+
var _useRequest9 = (0, _ahooks.useRequest)(function () {
|
|
199
|
+
return query("".concat(PREFIX, "/operationManagement"), {
|
|
200
|
+
throwPointId: throwPointId
|
|
201
|
+
});
|
|
202
|
+
}, {
|
|
203
|
+
refreshDeps: [throwPointId]
|
|
204
|
+
// pollingInterval: 5 * 60 * 1000
|
|
205
|
+
}),
|
|
206
|
+
data = _useRequest9.data;
|
|
207
|
+
return data;
|
|
208
|
+
},
|
|
209
|
+
// 工单处理效率
|
|
210
|
+
resolveEfficiency: function resolveEfficiency(_ref9) {
|
|
211
|
+
var throwPointId = _ref9.throwPointId,
|
|
212
|
+
businessPackage = _ref9.businessPackage,
|
|
213
|
+
beginTime = _ref9.beginTime,
|
|
214
|
+
endTime = _ref9.endTime;
|
|
215
|
+
var _useRequest10 = (0, _ahooks.useRequest)(function () {
|
|
216
|
+
return query("".concat(PREFIX, "/resolveEfficiency"), {
|
|
217
|
+
throwPointId: throwPointId,
|
|
218
|
+
businessPackage: businessPackage,
|
|
219
|
+
beginTime: beginTime,
|
|
220
|
+
endTime: endTime
|
|
221
|
+
});
|
|
222
|
+
}, {
|
|
223
|
+
refreshDeps: [throwPointId, businessPackage, beginTime, endTime]
|
|
224
|
+
//pollingInterval: 5000
|
|
225
|
+
}),
|
|
226
|
+
data = _useRequest10.data;
|
|
227
|
+
return data;
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
exports.overViewService = overViewService;
|
|
231
|
+
var getDivisionBusinessPackages = function getDivisionBusinessPackages(throwPointId) {
|
|
232
|
+
var _useRequest11 = (0, _ahooks.useRequest)(function () {
|
|
233
|
+
return query('/cloud/sdyd/user/divisionBusinessPackages', {
|
|
234
|
+
throwPointId: throwPointId
|
|
235
|
+
});
|
|
236
|
+
}, {
|
|
237
|
+
ready: !!throwPointId,
|
|
238
|
+
refreshDeps: [throwPointId]
|
|
239
|
+
}),
|
|
240
|
+
data = _useRequest11.data;
|
|
241
|
+
return data;
|
|
242
|
+
};
|
|
243
|
+
// 违规人公示
|
|
244
|
+
exports.getDivisionBusinessPackages = getDivisionBusinessPackages;
|
|
245
|
+
var throwFailPersonService = {
|
|
246
|
+
list: function list(_ref10) {
|
|
247
|
+
var beginTime = _ref10.beginTime,
|
|
248
|
+
endTime = _ref10.endTime,
|
|
249
|
+
_ref10$throwPointId = _ref10.throwPointId,
|
|
250
|
+
throwPointId = _ref10$throwPointId === void 0 ? '' : _ref10$throwPointId;
|
|
251
|
+
var _useRequest12 = (0, _ahooks.useRequest)(function () {
|
|
252
|
+
return query("".concat(PREFIX, "/throwFailPersonPage"), {
|
|
253
|
+
page: 0,
|
|
254
|
+
size: 999999,
|
|
255
|
+
beginTime: beginTime,
|
|
256
|
+
endTime: endTime,
|
|
257
|
+
throwPointId: throwPointId
|
|
258
|
+
});
|
|
259
|
+
}, {
|
|
260
|
+
ready: !!throwPointId,
|
|
261
|
+
refreshDeps: [throwPointId, beginTime, endTime]
|
|
262
|
+
}),
|
|
263
|
+
data = _useRequest12.data;
|
|
264
|
+
return data;
|
|
265
|
+
},
|
|
266
|
+
"export": function _export(_ref11) {
|
|
267
|
+
var beginTime = _ref11.beginTime,
|
|
268
|
+
endTime = _ref11.endTime,
|
|
269
|
+
_ref11$throwPointId = _ref11.throwPointId,
|
|
270
|
+
throwPointId = _ref11$throwPointId === void 0 ? '' : _ref11$throwPointId,
|
|
271
|
+
_ref11$throwFailIds = _ref11.throwFailIds,
|
|
272
|
+
throwFailIds = _ref11$throwFailIds === void 0 ? '' : _ref11$throwFailIds;
|
|
273
|
+
(0, _utils.downloadFile)("".concat(PREFIX, "/throwFailPersonExport"), {
|
|
274
|
+
data: {
|
|
275
|
+
beginTime: beginTime,
|
|
276
|
+
endTime: endTime,
|
|
277
|
+
throwPointId: throwPointId,
|
|
278
|
+
throwFailIds: throwFailIds
|
|
279
|
+
}
|
|
280
|
+
}, 'blob');
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
// 投放热度
|
|
284
|
+
exports.throwFailPersonService = throwFailPersonService;
|
|
285
|
+
var throwRecordService = {
|
|
286
|
+
count: function count(_ref12) {
|
|
287
|
+
var subjectId = _ref12.subjectId,
|
|
288
|
+
startTime = _ref12.startTime,
|
|
289
|
+
endTime = _ref12.endTime;
|
|
290
|
+
var _useRequest13 = (0, _ahooks.useRequest)(function () {
|
|
291
|
+
return query('/cloud/ljfljc/api/v101/trow/record/detail/sum', {
|
|
292
|
+
throwPointId: subjectId,
|
|
293
|
+
startTime: startTime,
|
|
294
|
+
endTime: endTime
|
|
295
|
+
});
|
|
296
|
+
}, {
|
|
297
|
+
ready: !!subjectId,
|
|
298
|
+
refreshDeps: [subjectId, startTime, endTime]
|
|
299
|
+
}),
|
|
300
|
+
data = _useRequest13.data;
|
|
301
|
+
return data;
|
|
302
|
+
},
|
|
303
|
+
violationCount: function violationCount(_ref13) {
|
|
304
|
+
var subjectId = _ref13.subjectId,
|
|
305
|
+
startTime = _ref13.startTime,
|
|
306
|
+
endTime = _ref13.endTime;
|
|
307
|
+
var _useRequest14 = (0, _ahooks.useRequest)(function () {
|
|
308
|
+
return query('/cloud/ljfljc/api/v101/violation/record/detail/violationDetailSummary', {
|
|
309
|
+
throwPointId: subjectId,
|
|
310
|
+
startTime: startTime,
|
|
311
|
+
endTime: endTime
|
|
312
|
+
});
|
|
313
|
+
}, {
|
|
314
|
+
ready: !!subjectId,
|
|
315
|
+
refreshDeps: [subjectId, startTime, endTime]
|
|
316
|
+
}),
|
|
317
|
+
data = _useRequest14.data;
|
|
318
|
+
var list = [{
|
|
319
|
+
garbageTypeName: "误时投放",
|
|
320
|
+
violationType: "误时投放",
|
|
321
|
+
violationCount: (data === null || data === void 0 ? void 0 : data.mistimeThrowNums) || 0
|
|
322
|
+
}, {
|
|
323
|
+
garbageTypeName: "桶外投放",
|
|
324
|
+
violationType: "桶外投放",
|
|
325
|
+
violationCount: (data === null || data === void 0 ? void 0 : data.bucketOutThrowNums) || 0
|
|
326
|
+
}, {
|
|
327
|
+
garbageTypeName: "垃圾混投",
|
|
328
|
+
violationType: "垃圾混投",
|
|
329
|
+
violationCount: (data === null || data === void 0 ? void 0 : data.mixedThrowNums) || 0
|
|
330
|
+
}, {
|
|
331
|
+
garbageTypeName: "未破袋",
|
|
332
|
+
violationType: "未破袋",
|
|
333
|
+
violationCount: (data === null || data === void 0 ? void 0 : data.unBrokenThrowNums) || 0
|
|
334
|
+
}];
|
|
335
|
+
return list;
|
|
336
|
+
},
|
|
337
|
+
violationExport: function violationExport(_ref14) {
|
|
338
|
+
var subjectId = _ref14.subjectId,
|
|
339
|
+
startTime = _ref14.startTime,
|
|
340
|
+
endTime = _ref14.endTime,
|
|
341
|
+
sort = _ref14.sort,
|
|
342
|
+
columnJson = _ref14.columnJson;
|
|
343
|
+
(0, _utils.downloadFile)('/cloud/ljfljc/api/v101/violation/record/detail/export', {
|
|
344
|
+
data: {
|
|
345
|
+
throwPointId: subjectId,
|
|
346
|
+
startTime: startTime,
|
|
347
|
+
endTime: endTime,
|
|
348
|
+
sort: sort,
|
|
349
|
+
columnJson: JSON.stringify(columnJson),
|
|
350
|
+
downloadAll: true
|
|
351
|
+
}
|
|
352
|
+
}, 'blob');
|
|
353
|
+
},
|
|
354
|
+
"export": function _export(_ref15) {
|
|
355
|
+
var subjectId = _ref15.subjectId,
|
|
356
|
+
startTime = _ref15.startTime,
|
|
357
|
+
endTime = _ref15.endTime,
|
|
358
|
+
sort = _ref15.sort,
|
|
359
|
+
columnJson = _ref15.columnJson;
|
|
360
|
+
(0, _utils.downloadFile)('/cloud/ljfljc/api/v101/trow/record/detail/export', {
|
|
361
|
+
data: {
|
|
362
|
+
throwPointId: subjectId,
|
|
363
|
+
startTime: startTime,
|
|
364
|
+
endTime: endTime,
|
|
365
|
+
sort: sort,
|
|
366
|
+
columnJson: JSON.stringify(columnJson),
|
|
367
|
+
downloadAll: true
|
|
368
|
+
}
|
|
369
|
+
}, 'blob');
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
// 违规行为
|
|
373
|
+
exports.throwRecordService = throwRecordService;
|
|
374
|
+
var throwFailBehaviorService = {
|
|
375
|
+
list: function list(_ref16) {
|
|
376
|
+
var startDatetime = _ref16.startDatetime,
|
|
377
|
+
endDatetime = _ref16.endDatetime,
|
|
378
|
+
_ref16$throwPointId = _ref16.throwPointId,
|
|
379
|
+
throwPointId = _ref16$throwPointId === void 0 ? '' : _ref16$throwPointId,
|
|
380
|
+
_ref16$throwAberrantC = _ref16.throwAberrantCode,
|
|
381
|
+
throwAberrantCode = _ref16$throwAberrantC === void 0 ? '' : _ref16$throwAberrantC;
|
|
382
|
+
var _useRequest15 = (0, _ahooks.useRequest)(function () {
|
|
383
|
+
return query('/cloud/sdyd/throwFail/list', {
|
|
384
|
+
startDatetime: startDatetime,
|
|
385
|
+
endDatetime: endDatetime,
|
|
386
|
+
throwPointId: throwPointId,
|
|
387
|
+
throwAberrantCode: throwAberrantCode,
|
|
388
|
+
auditStatusCode: 'PASSED',
|
|
389
|
+
sourceCodes: ' VIDEO,AI',
|
|
390
|
+
rectificationStatuses: 'TO_BE_RESOLVED,TO_BE_AUDITED,FAILED,PASSED'
|
|
391
|
+
});
|
|
392
|
+
}, {
|
|
393
|
+
ready: !!throwPointId,
|
|
394
|
+
refreshDeps: [startDatetime, endDatetime, throwPointId, throwAberrantCode]
|
|
395
|
+
}),
|
|
396
|
+
data = _useRequest15.data;
|
|
397
|
+
return data;
|
|
398
|
+
},
|
|
399
|
+
"export": function _export(_ref17) {
|
|
400
|
+
var startDatetime = _ref17.startDatetime,
|
|
401
|
+
endDatetime = _ref17.endDatetime,
|
|
402
|
+
_ref17$throwPointId = _ref17.throwPointId,
|
|
403
|
+
throwPointId = _ref17$throwPointId === void 0 ? '' : _ref17$throwPointId;
|
|
404
|
+
(0, _utils.downloadFile)("".concat(PREFIX, "/throwFailPersonExport"), {
|
|
405
|
+
data: {
|
|
406
|
+
startDatetime: startDatetime,
|
|
407
|
+
endDatetime: endDatetime,
|
|
408
|
+
throwPointId: throwPointId,
|
|
409
|
+
auditStatusCode: 'PASSED',
|
|
410
|
+
sourceCodes: ' VIDEO,AI'
|
|
411
|
+
}
|
|
412
|
+
}, 'blob');
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
exports.throwFailBehaviorService = throwFailBehaviorService;
|
|
416
|
+
var alarmService = {
|
|
417
|
+
tabs: function tabs(_ref18) {
|
|
418
|
+
var throwPointId = _ref18.throwPointId;
|
|
419
|
+
var _useRequest16 = (0, _ahooks.useRequest)(function () {
|
|
420
|
+
return query(' /cloud/sdyd/user/divisionBusinessPackages', {
|
|
421
|
+
throwPointId: throwPointId
|
|
422
|
+
});
|
|
423
|
+
}, {
|
|
424
|
+
refreshDeps: []
|
|
425
|
+
}),
|
|
426
|
+
data = _useRequest16.data;
|
|
427
|
+
return data;
|
|
428
|
+
},
|
|
429
|
+
// 黑榜
|
|
430
|
+
blackRank: function blackRank(_ref19) {
|
|
431
|
+
var thisAreaId = _ref19.thisAreaId,
|
|
432
|
+
areaDimension = _ref19.areaDimension,
|
|
433
|
+
businessPackage = _ref19.businessPackage;
|
|
434
|
+
var _useRequest17 = (0, _ahooks.useRequest)(function () {
|
|
435
|
+
return query('/cloud/sdyd/kanban/v2/center/operationResultBlackRanking', {
|
|
436
|
+
thisAreaId: thisAreaId,
|
|
437
|
+
areaDimension: areaDimension,
|
|
438
|
+
businessPackage: businessPackage
|
|
439
|
+
});
|
|
440
|
+
}, {
|
|
441
|
+
refreshDeps: [thisAreaId, areaDimension, businessPackage]
|
|
442
|
+
// pollingInterval: 5 * 50 * 1000
|
|
443
|
+
}),
|
|
444
|
+
data = _useRequest17.data;
|
|
445
|
+
return data;
|
|
446
|
+
},
|
|
447
|
+
// 落地包-一周分布
|
|
448
|
+
aiAlarmGroupByTypeAndHourOneWeek: function aiAlarmGroupByTypeAndHourOneWeek(_ref20) {
|
|
449
|
+
var throwPointId = _ref20.throwPointId,
|
|
450
|
+
beginTime = _ref20.beginTime,
|
|
451
|
+
endTime = _ref20.endTime,
|
|
452
|
+
businessPackage = _ref20.businessPackage;
|
|
453
|
+
var _useRequest18 = (0, _ahooks.useRequest)(function () {
|
|
454
|
+
return query("".concat(PREFIX, "/aiAlarmGroupByTypeAndHourOneWeek"), {
|
|
455
|
+
beginTime: beginTime,
|
|
456
|
+
endTime: endTime,
|
|
457
|
+
throwPointId: throwPointId,
|
|
458
|
+
businessPackage: businessPackage
|
|
459
|
+
});
|
|
460
|
+
}, {
|
|
461
|
+
refreshDeps: [beginTime, endTime, throwPointId, businessPackage]
|
|
462
|
+
// pollingInterval: 5000
|
|
463
|
+
}),
|
|
464
|
+
data = _useRequest18.data;
|
|
465
|
+
var obj = {};
|
|
466
|
+
if (data === null || data === void 0 ? void 0 : data.length) {
|
|
467
|
+
data.forEach(function (item) {
|
|
468
|
+
if (!obj[item.date]) {
|
|
469
|
+
obj[item.date] = {
|
|
470
|
+
count: item.count,
|
|
471
|
+
date: item.date
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
obj[item.date].count += item.count;
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
return Object.values(obj);
|
|
478
|
+
},
|
|
479
|
+
// 分类质量-厨余未破袋,混合投放占比
|
|
480
|
+
chuyuFail: function chuyuFail(_ref21) {
|
|
481
|
+
var throwPointId = _ref21.throwPointId,
|
|
482
|
+
beginTime = _ref21.beginTime,
|
|
483
|
+
endTime = _ref21.endTime;
|
|
484
|
+
var _useRequest19 = (0, _ahooks.useRequest)(function () {
|
|
485
|
+
return query("".concat(PREFIX, "/chuyuFail"), {
|
|
486
|
+
beginTime: beginTime,
|
|
487
|
+
endTime: endTime,
|
|
488
|
+
throwPointId: throwPointId
|
|
489
|
+
});
|
|
490
|
+
}, {
|
|
491
|
+
refreshDeps: [beginTime, endTime, throwPointId]
|
|
492
|
+
// pollingInterval: 5000
|
|
493
|
+
}),
|
|
494
|
+
data = _useRequest19.data;
|
|
495
|
+
return data;
|
|
496
|
+
},
|
|
497
|
+
// 分类质量-混投垃圾排行
|
|
498
|
+
mixSumRank: function mixSumRank(_ref22) {
|
|
499
|
+
var throwPointId = _ref22.throwPointId,
|
|
500
|
+
beginTime = _ref22.beginTime,
|
|
501
|
+
endTime = _ref22.endTime;
|
|
502
|
+
var _useRequest20 = (0, _ahooks.useRequest)(function () {
|
|
503
|
+
return query("".concat(PREFIX, "/mixedThrowSumByGarbageType"), {
|
|
504
|
+
beginTime: beginTime,
|
|
505
|
+
endTime: endTime,
|
|
506
|
+
throwPointId: throwPointId
|
|
507
|
+
});
|
|
508
|
+
}, {
|
|
509
|
+
refreshDeps: [beginTime, endTime, throwPointId]
|
|
510
|
+
}),
|
|
511
|
+
data = _useRequest20.data;
|
|
512
|
+
return data;
|
|
513
|
+
},
|
|
514
|
+
// 满溢-处理效率
|
|
515
|
+
myEfficiency: function myEfficiency(_ref23) {
|
|
516
|
+
var throwPointId = _ref23.throwPointId,
|
|
517
|
+
beginTime = _ref23.beginTime,
|
|
518
|
+
endTime = _ref23.endTime;
|
|
519
|
+
var _useRequest21 = (0, _ahooks.useRequest)(function () {
|
|
520
|
+
return query("".concat(PREFIX, "/overflowResolveEfficiency"), {
|
|
521
|
+
beginTime: beginTime,
|
|
522
|
+
endTime: endTime,
|
|
523
|
+
throwPointId: throwPointId
|
|
524
|
+
});
|
|
525
|
+
}, {
|
|
526
|
+
refreshDeps: [beginTime, endTime, throwPointId]
|
|
527
|
+
}),
|
|
528
|
+
data = _useRequest21.data;
|
|
529
|
+
return data;
|
|
530
|
+
},
|
|
531
|
+
// 满溢-垃圾类型占比
|
|
532
|
+
mySumByGarbageType: function mySumByGarbageType(_ref24) {
|
|
533
|
+
var throwPointId = _ref24.throwPointId,
|
|
534
|
+
beginTime = _ref24.beginTime,
|
|
535
|
+
endTime = _ref24.endTime;
|
|
536
|
+
var _useRequest22 = (0, _ahooks.useRequest)(function () {
|
|
537
|
+
return query("".concat(PREFIX, "/overflowSumByGarbageType"), {
|
|
538
|
+
beginTime: beginTime,
|
|
539
|
+
endTime: endTime,
|
|
540
|
+
throwPointId: throwPointId
|
|
541
|
+
});
|
|
542
|
+
}, {
|
|
543
|
+
refreshDeps: [beginTime, endTime, throwPointId]
|
|
544
|
+
}),
|
|
545
|
+
data = _useRequest22.data;
|
|
546
|
+
return data;
|
|
547
|
+
},
|
|
548
|
+
// 满溢-一周趋势变化
|
|
549
|
+
mySumByGarbageTypeAndDay: function mySumByGarbageTypeAndDay(_ref25) {
|
|
550
|
+
var throwPointId = _ref25.throwPointId,
|
|
551
|
+
beginTime = _ref25.beginTime,
|
|
552
|
+
endTime = _ref25.endTime;
|
|
553
|
+
var _useRequest23 = (0, _ahooks.useRequest)(function () {
|
|
554
|
+
return query("".concat(PREFIX, "/overflowSumByGarbageTypeAndDay"), {
|
|
555
|
+
beginTime: beginTime,
|
|
556
|
+
endTime: endTime,
|
|
557
|
+
throwPointId: throwPointId
|
|
558
|
+
});
|
|
559
|
+
}, {
|
|
560
|
+
refreshDeps: [beginTime, endTime, throwPointId]
|
|
561
|
+
}),
|
|
562
|
+
data = _useRequest23.data;
|
|
563
|
+
return data;
|
|
564
|
+
},
|
|
565
|
+
// 满溢-时段分布
|
|
566
|
+
mySumByGarbageTypeAndPeriod: function mySumByGarbageTypeAndPeriod(_ref26) {
|
|
567
|
+
var throwPointId = _ref26.throwPointId,
|
|
568
|
+
beginTime = _ref26.beginTime,
|
|
569
|
+
endTime = _ref26.endTime;
|
|
570
|
+
var _useRequest24 = (0, _ahooks.useRequest)(function () {
|
|
571
|
+
return query("".concat(PREFIX, "/overflowSumByGarbageTypeAndPeriod"), {
|
|
572
|
+
beginTime: beginTime,
|
|
573
|
+
endTime: endTime,
|
|
574
|
+
throwPointId: throwPointId
|
|
575
|
+
});
|
|
576
|
+
}, {
|
|
577
|
+
refreshDeps: [beginTime, endTime, throwPointId]
|
|
578
|
+
}),
|
|
579
|
+
data = _useRequest24.data;
|
|
580
|
+
return data;
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
exports.alarmService = alarmService;
|
|
584
|
+
var deviceService = {
|
|
585
|
+
throwPointDeviceStatusTopology: function throwPointDeviceStatusTopology(_ref27) {
|
|
586
|
+
var throwPointId = _ref27.throwPointId,
|
|
587
|
+
tenantId = _ref27.tenantId;
|
|
588
|
+
var _useRequest25 = (0, _ahooks.useRequest)(function () {
|
|
589
|
+
return query('/cloud/sdyd/throwPoint/intelligent/throwPointDeviceStatusTopology', {
|
|
590
|
+
throwPointId: throwPointId,
|
|
591
|
+
tenantId: tenantId
|
|
592
|
+
});
|
|
593
|
+
}, {
|
|
594
|
+
refreshDeps: []
|
|
595
|
+
}),
|
|
596
|
+
data = _useRequest25.data;
|
|
597
|
+
return data;
|
|
598
|
+
}
|
|
599
|
+
};
|
|
600
|
+
exports.deviceService = deviceService;
|
|
601
|
+
//# sourceMappingURL=api.js.map
|