@vtx/modals2 2.5.0
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/README.md +33 -0
- package/lib/index.js +126 -0
- package/lib/index.js.map +1 -0
- package/lib/style/css.js +16 -0
- package/lib/style/css.js.map +1 -0
- package/lib/style/index.css +84 -0
- package/lib/style/index.js +16 -0
- package/lib/style/index.js.map +1 -0
- package/lib/style/index.less +8 -0
- package/lib/style/themes/dark.css +84 -0
- package/lib/style/themes/dark.less +69 -0
- package/lib/style/themes/default.css +32 -0
- package/lib/style/themes/default.less +34 -0
- package/lib/style/themes/index.css +84 -0
- package/lib/style/themes/index.less +1 -0
- package/lib/typings.d.ts +15 -0
- package/lib/util/index.js +25 -0
- package/lib/util/index.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmRecord.js +119 -0
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +167 -0
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmTrend.js +229 -0
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -0
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +111 -0
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -0
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +89 -0
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -0
- package/lib/vm-alarm-info/Components/index.css +39 -0
- package/lib/vm-alarm-info/Components/index.less +40 -0
- package/lib/vm-alarm-info/api.js +172 -0
- package/lib/vm-alarm-info/api.js.map +1 -0
- package/lib/vm-alarm-info/index.js +90 -0
- package/lib/vm-alarm-info/index.js.map +1 -0
- package/lib/vm-alarm-info/style/css.js +4 -0
- package/lib/vm-alarm-info/style/css.js.map +1 -0
- package/lib/vm-alarm-info/style/index.css +19 -0
- package/lib/vm-alarm-info/style/index.js +4 -0
- package/lib/vm-alarm-info/style/index.js.map +1 -0
- package/lib/vm-alarm-info/style/index.less +16 -0
- package/lib/vm-alarm-situation/api.js +87 -0
- package/lib/vm-alarm-situation/api.js.map +1 -0
- package/lib/vm-alarm-situation/index.js +214 -0
- package/lib/vm-alarm-situation/index.js.map +1 -0
- package/lib/vm-alarm-situation/style/css.js +4 -0
- package/lib/vm-alarm-situation/style/css.js.map +1 -0
- package/lib/vm-alarm-situation/style/index.css +78 -0
- package/lib/vm-alarm-situation/style/index.js +4 -0
- package/lib/vm-alarm-situation/style/index.js.map +1 -0
- package/lib/vm-alarm-situation/style/index.less +67 -0
- package/lib/vm-alarm-situation-pt/api.js +75 -0
- package/lib/vm-alarm-situation-pt/api.js.map +1 -0
- package/lib/vm-alarm-situation-pt/index.js +146 -0
- package/lib/vm-alarm-situation-pt/index.js.map +1 -0
- package/lib/vm-alarm-situation-pt/style/css.js +4 -0
- package/lib/vm-alarm-situation-pt/style/css.js.map +1 -0
- package/lib/vm-alarm-situation-pt/style/index.css +79 -0
- package/lib/vm-alarm-situation-pt/style/index.js +4 -0
- package/lib/vm-alarm-situation-pt/style/index.js.map +1 -0
- package/lib/vm-alarm-situation-pt/style/index.less +65 -0
- package/lib/vm-analysis-comparison/api.js +178 -0
- package/lib/vm-analysis-comparison/api.js.map +1 -0
- package/lib/vm-analysis-comparison/index.js +370 -0
- package/lib/vm-analysis-comparison/index.js.map +1 -0
- package/lib/vm-analysis-comparison/style/css.js +4 -0
- package/lib/vm-analysis-comparison/style/css.js.map +1 -0
- package/lib/vm-analysis-comparison/style/index.css +13 -0
- package/lib/vm-analysis-comparison/style/index.js +4 -0
- package/lib/vm-analysis-comparison/style/index.js.map +1 -0
- package/lib/vm-analysis-comparison/style/index.less +12 -0
- package/lib/vm-appraisal-info/AppraisalBase.js +57 -0
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -0
- package/lib/vm-appraisal-info/AppraisalTop5.js +69 -0
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -0
- package/lib/vm-appraisal-info/List.js +59 -0
- package/lib/vm-appraisal-info/List.js.map +1 -0
- package/lib/vm-appraisal-info/ListKh.js +156 -0
- package/lib/vm-appraisal-info/ListKh.js.map +1 -0
- package/lib/vm-appraisal-info/ListZg.js +161 -0
- package/lib/vm-appraisal-info/ListZg.js.map +1 -0
- package/lib/vm-appraisal-info/Wtlx.js +96 -0
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -0
- package/lib/vm-appraisal-info/Zgxxhz.js +47 -0
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -0
- package/lib/vm-appraisal-info/api.js +164 -0
- package/lib/vm-appraisal-info/api.js.map +1 -0
- package/lib/vm-appraisal-info/imgs/1.png +0 -0
- package/lib/vm-appraisal-info/imgs/2.png +0 -0
- package/lib/vm-appraisal-info/imgs/3.png +0 -0
- package/lib/vm-appraisal-info/imgs/4.png +0 -0
- package/lib/vm-appraisal-info/imgs/5.png +0 -0
- package/lib/vm-appraisal-info/imgs/chart.png +0 -0
- package/lib/vm-appraisal-info/imgs/chart_active.png +0 -0
- package/lib/vm-appraisal-info/imgs/chart_active_light.png +0 -0
- package/lib/vm-appraisal-info/imgs/kfyz.png +0 -0
- package/lib/vm-appraisal-info/imgs/kfyz_light.png +0 -0
- package/lib/vm-appraisal-info/imgs/khcs.png +0 -0
- package/lib/vm-appraisal-info/imgs/khcs_light.png +0 -0
- package/lib/vm-appraisal-info/imgs/list.png +0 -0
- package/lib/vm-appraisal-info/imgs/list_active.png +0 -0
- package/lib/vm-appraisal-info/imgs/list_active_light.png +0 -0
- package/lib/vm-appraisal-info/imgs/ljkf.png +0 -0
- package/lib/vm-appraisal-info/imgs/ljkf_light.png +0 -0
- package/lib/vm-appraisal-info/imgs/wtlx.png +0 -0
- package/lib/vm-appraisal-info/imgs/wtlx_light.png +0 -0
- package/lib/vm-appraisal-info/imgs/zggd.png +0 -0
- package/lib/vm-appraisal-info/imgs/zggd_light.png +0 -0
- package/lib/vm-appraisal-info/index.js +135 -0
- package/lib/vm-appraisal-info/index.js.map +1 -0
- package/lib/vm-appraisal-info/style/css.js +4 -0
- package/lib/vm-appraisal-info/style/css.js.map +1 -0
- package/lib/vm-appraisal-info/style/index.css +148 -0
- package/lib/vm-appraisal-info/style/index.js +4 -0
- package/lib/vm-appraisal-info/style/index.js.map +1 -0
- package/lib/vm-appraisal-info/style/index.less +122 -0
- package/lib/vm-base-list/OpenArrow.js +48 -0
- package/lib/vm-base-list/OpenArrow.js.map +1 -0
- package/lib/vm-base-list/index.js +86 -0
- package/lib/vm-base-list/index.js.map +1 -0
- package/lib/vm-base-list/style/css.js +4 -0
- package/lib/vm-base-list/style/css.js.map +1 -0
- package/lib/vm-base-list/style/index.css +41 -0
- package/lib/vm-base-list/style/index.js +4 -0
- package/lib/vm-base-list/style/index.js.map +1 -0
- package/lib/vm-base-list/style/index.less +39 -0
- package/lib/vm-button/index.js +27 -0
- package/lib/vm-button/index.js.map +1 -0
- package/lib/vm-button/style/css.js +4 -0
- package/lib/vm-button/style/css.js.map +1 -0
- package/lib/vm-button/style/index.css +26 -0
- package/lib/vm-button/style/index.js +4 -0
- package/lib/vm-button/style/index.js.map +1 -0
- package/lib/vm-button/style/index.less +20 -0
- package/lib/vm-charts/Distribute1.js +137 -0
- package/lib/vm-charts/Distribute1.js.map +1 -0
- package/lib/vm-charts/Gauge1.js +149 -0
- package/lib/vm-charts/Gauge1.js.map +1 -0
- package/lib/vm-charts/Line.js +215 -0
- package/lib/vm-charts/Line.js.map +1 -0
- package/lib/vm-charts/Line1.js +96 -0
- package/lib/vm-charts/Line1.js.map +1 -0
- package/lib/vm-charts/Pie.js +117 -0
- package/lib/vm-charts/Pie.js.map +1 -0
- package/lib/vm-charts/index.css +20 -0
- package/lib/vm-charts/index.js +42 -0
- package/lib/vm-charts/index.js.map +1 -0
- package/lib/vm-charts/index.less +30 -0
- package/lib/vm-checkbox/index.js +34 -0
- package/lib/vm-checkbox/index.js.map +1 -0
- package/lib/vm-checkbox/style/css.js +4 -0
- package/lib/vm-checkbox/style/css.js.map +1 -0
- package/lib/vm-checkbox/style/index.css +25 -0
- package/lib/vm-checkbox/style/index.js +4 -0
- package/lib/vm-checkbox/style/index.js.map +1 -0
- package/lib/vm-checkbox/style/index.less +25 -0
- package/lib/vm-container/index.js +35 -0
- package/lib/vm-container/index.js.map +1 -0
- package/lib/vm-container/style/css.js +4 -0
- package/lib/vm-container/style/css.js.map +1 -0
- package/lib/vm-container/style/index.css +30 -0
- package/lib/vm-container/style/index.js +4 -0
- package/lib/vm-container/style/index.js.map +1 -0
- package/lib/vm-container/style/index.less +28 -0
- package/lib/vm-correlation-comparison/api.js +237 -0
- package/lib/vm-correlation-comparison/api.js.map +1 -0
- package/lib/vm-correlation-comparison/index.js +309 -0
- package/lib/vm-correlation-comparison/index.js.map +1 -0
- package/lib/vm-correlation-comparison/style/css.js +4 -0
- package/lib/vm-correlation-comparison/style/css.js.map +1 -0
- package/lib/vm-correlation-comparison/style/index.css +19 -0
- package/lib/vm-correlation-comparison/style/index.js +4 -0
- package/lib/vm-correlation-comparison/style/index.js.map +1 -0
- package/lib/vm-correlation-comparison/style/index.less +13 -0
- package/lib/vm-empty/index.js +45 -0
- package/lib/vm-empty/index.js.map +1 -0
- package/lib/vm-empty/style/css.js +4 -0
- package/lib/vm-empty/style/css.js.map +1 -0
- package/lib/vm-empty/style/index.css +30 -0
- package/lib/vm-empty/style/index.js +4 -0
- package/lib/vm-empty/style/index.js.map +1 -0
- package/lib/vm-empty/style/index.less +23 -0
- package/lib/vm-filter/index.js +163 -0
- package/lib/vm-filter/index.js.map +1 -0
- package/lib/vm-filter/style/css.js +4 -0
- package/lib/vm-filter/style/css.js.map +1 -0
- package/lib/vm-filter/style/index.css +138 -0
- package/lib/vm-filter/style/index.js +4 -0
- package/lib/vm-filter/style/index.js.map +1 -0
- package/lib/vm-filter/style/index.less +165 -0
- package/lib/vm-hooks/useSettings.js +35 -0
- package/lib/vm-hooks/useSettings.js.map +1 -0
- package/lib/vm-iframe-modal/index.js +41 -0
- package/lib/vm-iframe-modal/index.js.map +1 -0
- package/lib/vm-iframe-modal/style/css.js +4 -0
- package/lib/vm-iframe-modal/style/css.js.map +1 -0
- package/lib/vm-iframe-modal/style/index.css +10 -0
- package/lib/vm-iframe-modal/style/index.js +4 -0
- package/lib/vm-iframe-modal/style/index.js.map +1 -0
- package/lib/vm-iframe-modal/style/index.less +8 -0
- package/lib/vm-image-text/index.js +42 -0
- package/lib/vm-image-text/index.js.map +1 -0
- package/lib/vm-image-text/style/css.js +4 -0
- package/lib/vm-image-text/style/css.js.map +1 -0
- package/lib/vm-image-text/style/index.css +33 -0
- package/lib/vm-image-text/style/index.js +4 -0
- package/lib/vm-image-text/style/index.js.map +1 -0
- package/lib/vm-image-text/style/index.less +30 -0
- package/lib/vm-info-collection/index.js +45 -0
- package/lib/vm-info-collection/index.js.map +1 -0
- package/lib/vm-info-collection/style/css.js +4 -0
- package/lib/vm-info-collection/style/css.js.map +1 -0
- package/lib/vm-info-collection/style/index.css +50 -0
- package/lib/vm-info-collection/style/index.js +4 -0
- package/lib/vm-info-collection/style/index.js.map +1 -0
- package/lib/vm-info-collection/style/index.less +38 -0
- package/lib/vm-map/index.js +252 -0
- package/lib/vm-map/index.js.map +1 -0
- package/lib/vm-map/mapStyle.js +4730 -0
- package/lib/vm-map/mapStyle.js.map +1 -0
- package/lib/vm-modal-table/index.js +35 -0
- package/lib/vm-modal-table/index.js.map +1 -0
- package/lib/vm-modal-table/style/css.js +4 -0
- package/lib/vm-modal-table/style/css.js.map +1 -0
- package/lib/vm-modal-table/style/index.css +20 -0
- package/lib/vm-modal-table/style/index.js +4 -0
- package/lib/vm-modal-table/style/index.js.map +1 -0
- package/lib/vm-modal-table/style/index.less +23 -0
- package/lib/vm-nodata/imgs/chart.png +0 -0
- package/lib/vm-nodata/imgs/default.png +0 -0
- package/lib/vm-nodata/index.js +26 -0
- package/lib/vm-nodata/index.js.map +1 -0
- package/lib/vm-radio/index.js +29 -0
- package/lib/vm-radio/index.js.map +1 -0
- package/lib/vm-radio/style/css.js +4 -0
- package/lib/vm-radio/style/css.js.map +1 -0
- package/lib/vm-radio/style/index.css +21 -0
- package/lib/vm-radio/style/index.js +4 -0
- package/lib/vm-radio/style/index.js.map +1 -0
- package/lib/vm-radio/style/index.less +26 -0
- package/lib/vm-real-time-monitor/api.js +194 -0
- package/lib/vm-real-time-monitor/api.js.map +1 -0
- package/lib/vm-real-time-monitor/index.js +368 -0
- package/lib/vm-real-time-monitor/index.js.map +1 -0
- package/lib/vm-real-time-monitor/style/css.js +4 -0
- package/lib/vm-real-time-monitor/style/css.js.map +1 -0
- package/lib/vm-real-time-monitor/style/index.css +12 -0
- package/lib/vm-real-time-monitor/style/index.js +4 -0
- package/lib/vm-real-time-monitor/style/index.js.map +1 -0
- package/lib/vm-real-time-monitor/style/index.less +12 -0
- package/lib/vm-repair-maintain/RmInfoSummary.js +62 -0
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -0
- package/lib/vm-repair-maintain/RmMonthTrend.js +104 -0
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -0
- package/lib/vm-repair-maintain/RmRecord.js +156 -0
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -0
- package/lib/vm-repair-maintain/RmType.js +104 -0
- package/lib/vm-repair-maintain/RmType.js.map +1 -0
- package/lib/vm-repair-maintain/api.js +95 -0
- package/lib/vm-repair-maintain/api.js.map +1 -0
- package/lib/vm-repair-maintain/imgs/amount.png +0 -0
- package/lib/vm-repair-maintain/imgs/amount_light.png +0 -0
- package/lib/vm-repair-maintain/imgs/count.png +0 -0
- package/lib/vm-repair-maintain/imgs/count_light.png +0 -0
- package/lib/vm-repair-maintain/index.js +56 -0
- package/lib/vm-repair-maintain/index.js.map +1 -0
- package/lib/vm-repair-maintain/style/css.js +4 -0
- package/lib/vm-repair-maintain/style/css.js.map +1 -0
- package/lib/vm-repair-maintain/style/index.css +119 -0
- package/lib/vm-repair-maintain/style/index.js +4 -0
- package/lib/vm-repair-maintain/style/index.js.map +1 -0
- package/lib/vm-repair-maintain/style/index.less +108 -0
- package/lib/vm-round-content/index.js +70 -0
- package/lib/vm-round-content/index.js.map +1 -0
- package/lib/vm-round-content/style/css.js +4 -0
- package/lib/vm-round-content/style/css.js.map +1 -0
- package/lib/vm-round-content/style/index.css +38 -0
- package/lib/vm-round-content/style/index.js +4 -0
- package/lib/vm-round-content/style/index.js.map +1 -0
- package/lib/vm-round-content/style/index.less +33 -0
- package/lib/vm-row-col/index.js +28 -0
- package/lib/vm-row-col/index.js.map +1 -0
- package/lib/vm-row-col/style/css.js +4 -0
- package/lib/vm-row-col/style/css.js.map +1 -0
- package/lib/vm-row-col/style/index.css +0 -0
- package/lib/vm-row-col/style/index.js +4 -0
- package/lib/vm-row-col/style/index.js.map +1 -0
- package/lib/vm-row-col/style/index.less +0 -0
- package/lib/vm-select-device/index.js +90 -0
- package/lib/vm-select-device/index.js.map +1 -0
- package/lib/vm-select-device/style/css.js +4 -0
- package/lib/vm-select-device/style/css.js.map +1 -0
- package/lib/vm-select-device/style/index.css +16 -0
- package/lib/vm-select-device/style/index.js +4 -0
- package/lib/vm-select-device/style/index.js.map +1 -0
- package/lib/vm-select-device/style/index.less +16 -0
- package/lib/vm-sub-tabs/index.js +43 -0
- package/lib/vm-sub-tabs/index.js.map +1 -0
- package/lib/vm-sub-tabs/style/css.js +4 -0
- package/lib/vm-sub-tabs/style/css.js.map +1 -0
- package/lib/vm-sub-tabs/style/index.css +91 -0
- package/lib/vm-sub-tabs/style/index.js +4 -0
- package/lib/vm-sub-tabs/style/index.js.map +1 -0
- package/lib/vm-sub-tabs/style/index.less +119 -0
- package/lib/vm-sub-title/imgs/bg.png +0 -0
- package/lib/vm-sub-title/imgs/bg_light.png +0 -0
- package/lib/vm-sub-title/index.js +28 -0
- package/lib/vm-sub-title/index.js.map +1 -0
- package/lib/vm-sub-title/style/css.js +4 -0
- package/lib/vm-sub-title/style/css.js.map +1 -0
- package/lib/vm-sub-title/style/index.css +23 -0
- package/lib/vm-sub-title/style/index.js +4 -0
- package/lib/vm-sub-title/style/index.js.map +1 -0
- package/lib/vm-sub-title/style/index.less +23 -0
- package/lib/vm-table/index.js +206 -0
- package/lib/vm-table/index.js.map +1 -0
- package/lib/vm-table/style/css.js +4 -0
- package/lib/vm-table/style/css.js.map +1 -0
- package/lib/vm-table/style/index.css +176 -0
- package/lib/vm-table/style/index.js +4 -0
- package/lib/vm-table/style/index.js.map +1 -0
- package/lib/vm-table/style/index.less +224 -0
- package/lib/vm-time-line/index.js +25 -0
- package/lib/vm-time-line/index.js.map +1 -0
- package/lib/vm-time-line/style/css.js +4 -0
- package/lib/vm-time-line/style/css.js.map +1 -0
- package/lib/vm-time-line/style/index.css +0 -0
- package/lib/vm-time-line/style/index.js +4 -0
- package/lib/vm-time-line/style/index.js.map +1 -0
- package/lib/vm-time-line/style/index.less +0 -0
- package/lib/vm-video/api.js +30 -0
- package/lib/vm-video/api.js.map +1 -0
- package/lib/vm-video/index.css +92 -0
- package/lib/vm-video/index.js +37 -0
- package/lib/vm-video/index.js.map +1 -0
- package/lib/vm-video/index.less +10 -0
- package/lib/vtx-base-info/imgs/tab_bg_light.png +0 -0
- package/lib/vtx-base-info/index.js +54 -0
- package/lib/vtx-base-info/index.js.map +1 -0
- package/lib/vtx-base-info/style/css.js +4 -0
- package/lib/vtx-base-info/style/css.js.map +1 -0
- package/lib/vtx-base-info/style/index.css +69 -0
- package/lib/vtx-base-info/style/index.js +4 -0
- package/lib/vtx-base-info/style/index.js.map +1 -0
- package/lib/vtx-base-info/style/index.less +62 -0
- package/lib/vtx-base-modal/api.js +45 -0
- package/lib/vtx-base-modal/api.js.map +1 -0
- package/lib/vtx-base-modal/imgs/close-dark.png +0 -0
- package/lib/vtx-base-modal/imgs/close.png +0 -0
- package/lib/vtx-base-modal/imgs/collect.png +0 -0
- package/lib/vtx-base-modal/imgs/collect_light.png +0 -0
- package/lib/vtx-base-modal/imgs/modal_bg.png +0 -0
- package/lib/vtx-base-modal/imgs/panoramaLink.png +0 -0
- package/lib/vtx-base-modal/imgs/tab_bg.png +0 -0
- package/lib/vtx-base-modal/imgs/tab_bg_light.png +0 -0
- package/lib/vtx-base-modal/imgs/title_bg.png +0 -0
- package/lib/vtx-base-modal/imgs/track.png +0 -0
- package/lib/vtx-base-modal/imgs/track_light.png +0 -0
- package/lib/vtx-base-modal/index.js +293 -0
- package/lib/vtx-base-modal/index.js.map +1 -0
- package/lib/vtx-base-modal/style/css.js +4 -0
- package/lib/vtx-base-modal/style/css.js.map +1 -0
- package/lib/vtx-base-modal/style/index.css +540 -0
- package/lib/vtx-base-modal/style/index.js +4 -0
- package/lib/vtx-base-modal/style/index.js.map +1 -0
- package/lib/vtx-base-modal/style/index.less +575 -0
- package/lib/vtx-car-modal/api.js +611 -0
- package/lib/vtx-car-modal/api.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +198 -0
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +188 -0
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.css +45 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +141 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -0
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js +66 -0
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +83 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +51 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +68 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +115 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +116 -0
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +56 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +102 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +138 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +126 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +137 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.css +282 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.js +231 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.less +239 -0
- package/lib/vtx-car-modal/components/Maintenance/index.css +39 -0
- package/lib/vtx-car-modal/components/Maintenance/index.js +134 -0
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -0
- package/lib/vtx-car-modal/components/Maintenance/index.less +34 -0
- package/lib/vtx-car-modal/components/OilConsumption/List.js +90 -0
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -0
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +100 -0
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -0
- package/lib/vtx-car-modal/components/OilConsumption/index.css +33 -0
- package/lib/vtx-car-modal/components/OilConsumption/index.js +142 -0
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -0
- package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -0
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js +70 -0
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal/components/StaticInfo/List.js +92 -0
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.css +93 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.js +101 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.css +29 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +120 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -0
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +122 -0
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +317 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +249 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.css +99 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.js +35 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -0
- package/lib/vtx-car-modal/components/index.js +56 -0
- package/lib/vtx-car-modal/components/index.js.map +1 -0
- package/lib/vtx-car-modal/imgs/bglyh.png +0 -0
- package/lib/vtx-car-modal/imgs/bglyh_light.png +0 -0
- package/lib/vtx-car-modal/imgs/calendar-hour.png +0 -0
- package/lib/vtx-car-modal/imgs/calendar-mile.png +0 -0
- package/lib/vtx-car-modal/imgs/car.png +0 -0
- package/lib/vtx-car-modal/imgs/ccts.png +0 -0
- package/lib/vtx-car-modal/imgs/ccts_light.png +0 -0
- package/lib/vtx-car-modal/imgs/dqsd.png +0 -0
- package/lib/vtx-car-modal/imgs/dqsd_light.png +0 -0
- package/lib/vtx-car-modal/imgs/jrxs.png +0 -0
- package/lib/vtx-car-modal/imgs/jrxs_light.png +0 -0
- package/lib/vtx-car-modal/imgs/ljsjdw.png +0 -0
- package/lib/vtx-car-modal/imgs/ljsjdw_light.png +0 -0
- package/lib/vtx-car-modal/imgs/ljsjts.png +0 -0
- package/lib/vtx-car-modal/imgs/ljsjts_light.png +0 -0
- package/lib/vtx-car-modal/imgs/ljsjzl.png +0 -0
- package/lib/vtx-car-modal/imgs/ljsjzl_light.png +0 -0
- package/lib/vtx-car-modal/imgs/ljwgsc.png +0 -0
- package/lib/vtx-car-modal/imgs/ljwgsc_light.png +0 -0
- package/lib/vtx-car-modal/imgs/ljwgts.png +0 -0
- package/lib/vtx-car-modal/imgs/ljwgts_light.png +0 -0
- package/lib/vtx-car-modal/imgs/outTime.png +0 -0
- package/lib/vtx-car-modal/imgs/outTime_light.png +0 -0
- package/lib/vtx-car-modal/imgs/pjwcl.png +0 -0
- package/lib/vtx-car-modal/imgs/pjwcl_light.png +0 -0
- package/lib/vtx-car-modal/imgs/position.png +0 -0
- package/lib/vtx-car-modal/imgs/position_light.png +0 -0
- package/lib/vtx-car-modal/imgs/refresh.png +0 -0
- package/lib/vtx-car-modal/imgs/refresh_light.png +0 -0
- package/lib/vtx-car-modal/imgs/runTime.png +0 -0
- package/lib/vtx-car-modal/imgs/runTime_light.png +0 -0
- package/lib/vtx-car-modal/imgs/syyl.png +0 -0
- package/lib/vtx-car-modal/imgs/syyl_light.png +0 -0
- package/lib/vtx-car-modal/imgs/warn.png +0 -0
- package/lib/vtx-car-modal/imgs/wcl.png +0 -0
- package/lib/vtx-car-modal/imgs/wcl_light.png +0 -0
- package/lib/vtx-car-modal/imgs/wgcs.png +0 -0
- package/lib/vtx-car-modal/imgs/wgcs_light.png +0 -0
- package/lib/vtx-car-modal/imgs/xslc.png +0 -0
- package/lib/vtx-car-modal/imgs/xslc_light.png +0 -0
- package/lib/vtx-car-modal/imgs/ysdw.png +0 -0
- package/lib/vtx-car-modal/imgs/ysdw_light.png +0 -0
- package/lib/vtx-car-modal/imgs/ywcdw.png +0 -0
- package/lib/vtx-car-modal/imgs/ywcdw_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zlc.png +0 -0
- package/lib/vtx-car-modal/imgs/zlc_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zld.png +0 -0
- package/lib/vtx-car-modal/imgs/zld_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zsh.png +0 -0
- package/lib/vtx-car-modal/imgs/zsh_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zycs.png +0 -0
- package/lib/vtx-car-modal/imgs/zycs_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zycssc.png +0 -0
- package/lib/vtx-car-modal/imgs/zycssc_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zyh.png +0 -0
- package/lib/vtx-car-modal/imgs/zyh_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zyl.png +0 -0
- package/lib/vtx-car-modal/imgs/zyl_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zylc.png +0 -0
- package/lib/vtx-car-modal/imgs/zylc_light.png +0 -0
- package/lib/vtx-car-modal/imgs/zysc.png +0 -0
- package/lib/vtx-car-modal/imgs/zysc_light.png +0 -0
- package/lib/vtx-car-modal/index.js +140 -0
- package/lib/vtx-car-modal/index.js.map +1 -0
- package/lib/vtx-car-modal/style/css.js +12 -0
- package/lib/vtx-car-modal/style/css.js.map +1 -0
- package/lib/vtx-car-modal/style/index.css +88 -0
- package/lib/vtx-car-modal/style/index.js +12 -0
- package/lib/vtx-car-modal/style/index.js.map +1 -0
- package/lib/vtx-car-modal/style/index.less +6 -0
- package/lib/vtx-cc-cp-modal/api.js +306 -0
- package/lib/vtx-cc-cp-modal/api.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +153 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +104 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +135 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.css +116 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +35 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +77 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +45 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +49 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +126 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.css +102 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +67 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +131 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +104 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +135 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.css +116 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +35 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.css +7 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +125 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +111 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +118 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.css +46 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +84 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +40 -0
- package/lib/vtx-cc-cp-modal/components/index.js +42 -0
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/index.js +67 -0
- package/lib/vtx-cc-cp-modal/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/style/css.js +5 -0
- package/lib/vtx-cc-cp-modal/style/css.js.map +1 -0
- package/lib/vtx-cc-cp-modal/style/index.css +84 -0
- package/lib/vtx-cc-cp-modal/style/index.js +5 -0
- package/lib/vtx-cc-cp-modal/style/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/style/index.less +1 -0
- package/lib/vtx-cc-cp-modal/type.js +6 -0
- package/lib/vtx-cc-cp-modal/type.js.map +1 -0
- package/lib/vtx-cp-modal/api.js +343 -0
- package/lib/vtx-cp-modal/api.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +172 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +106 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +166 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/index.css +116 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js +46 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -0
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +110 -0
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +176 -0
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +135 -0
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.css +308 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +91 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +208 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +198 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +106 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +166 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.css +116 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +46 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -0
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +128 -0
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -0
- package/lib/vtx-cp-modal/components/SyInfo/index.css +40 -0
- package/lib/vtx-cp-modal/components/SyInfo/index.js +348 -0
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/SyInfo/index.less +38 -0
- package/lib/vtx-cp-modal/components/index.js +35 -0
- package/lib/vtx-cp-modal/components/index.js.map +1 -0
- package/lib/vtx-cp-modal/imgs/alarm.png +0 -0
- package/lib/vtx-cp-modal/imgs/all_rate.png +0 -0
- package/lib/vtx-cp-modal/imgs/all_rate_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/cy.png +0 -0
- package/lib/vtx-cp-modal/imgs/cy_rate.png +0 -0
- package/lib/vtx-cp-modal/imgs/cy_rate_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/cylj.png +0 -0
- package/lib/vtx-cp-modal/imgs/jhsj.png +0 -0
- package/lib/vtx-cp-modal/imgs/jhsj_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/khsw.png +0 -0
- package/lib/vtx-cp-modal/imgs/qt.png +0 -0
- package/lib/vtx-cp-modal/imgs/qt_rate.png +0 -0
- package/lib/vtx-cp-modal/imgs/qt_rate_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/qtlj.png +0 -0
- package/lib/vtx-cp-modal/imgs/shlj.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjl.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjl_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjsj.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjsj_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjts.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjts_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjzl.png +0 -0
- package/lib/vtx-cp-modal/imgs/sjzl_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/track.png +0 -0
- package/lib/vtx-cp-modal/imgs/yh.png +0 -0
- package/lib/vtx-cp-modal/imgs/yh_rate.png +0 -0
- package/lib/vtx-cp-modal/imgs/yh_rate_light.png +0 -0
- package/lib/vtx-cp-modal/imgs/yhlj.png +0 -0
- package/lib/vtx-cp-modal/index.js +106 -0
- package/lib/vtx-cp-modal/index.js.map +1 -0
- package/lib/vtx-cp-modal/style/css.js +5 -0
- package/lib/vtx-cp-modal/style/css.js.map +1 -0
- package/lib/vtx-cp-modal/style/index.css +84 -0
- package/lib/vtx-cp-modal/style/index.js +5 -0
- package/lib/vtx-cp-modal/style/index.js.map +1 -0
- package/lib/vtx-cp-modal/style/index.less +1 -0
- package/lib/vtx-default-modal/api.js +49 -0
- package/lib/vtx-default-modal/api.js.map +1 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.css +27 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.js +62 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -0
- package/lib/vtx-default-modal/components/index.js +14 -0
- package/lib/vtx-default-modal/components/index.js.map +1 -0
- package/lib/vtx-default-modal/index.js +108 -0
- package/lib/vtx-default-modal/index.js.map +1 -0
- package/lib/vtx-default-modal/style/css.js +5 -0
- package/lib/vtx-default-modal/style/css.js.map +1 -0
- package/lib/vtx-default-modal/style/index.css +84 -0
- package/lib/vtx-default-modal/style/index.js +5 -0
- package/lib/vtx-default-modal/style/index.js.map +1 -0
- package/lib/vtx-default-modal/style/index.less +1 -0
- package/lib/vtx-device-modal/api.js +212 -0
- package/lib/vtx-device-modal/api.js.map +1 -0
- package/lib/vtx-device-modal/components/BaseInfo/index.js +51 -0
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +85 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -0
- package/lib/vtx-device-modal/components/FacilityFile/index.js +48 -0
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -0
- package/lib/vtx-device-modal/components/LiftInfo/index.js +32 -0
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js +27 -0
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -0
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +103 -0
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/components/VideoInfo/index.js +36 -0
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/config.js +50 -0
- package/lib/vtx-device-modal/config.js.map +1 -0
- package/lib/vtx-device-modal/imgs/car.png +0 -0
- package/lib/vtx-device-modal/imgs/user.png +0 -0
- package/lib/vtx-device-modal/index.js +75 -0
- package/lib/vtx-device-modal/index.js.map +1 -0
- package/lib/vtx-device-modal/style/css.js +4 -0
- package/lib/vtx-device-modal/style/css.js.map +1 -0
- package/lib/vtx-device-modal/style/index.css +11 -0
- package/lib/vtx-device-modal/style/index.js +4 -0
- package/lib/vtx-device-modal/style/index.js.map +1 -0
- package/lib/vtx-device-modal/style/index.less +7 -0
- package/lib/vtx-device-modal/types.js +6 -0
- package/lib/vtx-device-modal/types.js.map +1 -0
- package/lib/vtx-df-modal/api.js +260 -0
- package/lib/vtx-df-modal/api.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +115 -0
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +146 -0
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +120 -0
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +52 -0
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/index.css +306 -0
- package/lib/vtx-df-modal/components/BaseInfo/index.js +139 -0
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/index.less +191 -0
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +121 -0
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +133 -0
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/List.js +112 -0
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/index.css +89 -0
- package/lib/vtx-df-modal/components/Metering/index.js +176 -0
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/index.less +75 -0
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +114 -0
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +108 -0
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.css +135 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.js +91 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -0
- package/lib/vtx-df-modal/components/index.js +28 -0
- package/lib/vtx-df-modal/components/index.js.map +1 -0
- package/lib/vtx-df-modal/imgs/alarm.png +0 -0
- package/lib/vtx-df-modal/imgs/alarm_light.png +0 -0
- package/lib/vtx-df-modal/imgs/jcbj.png +0 -0
- package/lib/vtx-df-modal/imgs/jcbj_light.png +0 -0
- package/lib/vtx-df-modal/imgs/jccc.png +0 -0
- package/lib/vtx-df-modal/imgs/jccc_light.png +0 -0
- package/lib/vtx-df-modal/imgs/jcl.png +0 -0
- package/lib/vtx-df-modal/imgs/jcl_light.png +0 -0
- package/lib/vtx-df-modal/imgs/normal.png +0 -0
- package/lib/vtx-df-modal/imgs/normal_light.png +0 -0
- package/lib/vtx-df-modal/imgs/rjjcl.png +0 -0
- package/lib/vtx-df-modal/imgs/rjjcl_light.png +0 -0
- package/lib/vtx-df-modal/imgs/situation_parent.png +0 -0
- package/lib/vtx-df-modal/imgs/situation_parent_bg.png +0 -0
- package/lib/vtx-df-modal/imgs/sjnl.png +0 -0
- package/lib/vtx-df-modal/imgs/sjnl_light.png +0 -0
- package/lib/vtx-df-modal/imgs/zbbj.png +0 -0
- package/lib/vtx-df-modal/imgs/zbbj_light.png +0 -0
- package/lib/vtx-df-modal/imgs/zjccc.png +0 -0
- package/lib/vtx-df-modal/imgs/zjccc_light.png +0 -0
- package/lib/vtx-df-modal/imgs/zjcl.png +0 -0
- package/lib/vtx-df-modal/imgs/zjcl_light.png +0 -0
- package/lib/vtx-df-modal/index.js +122 -0
- package/lib/vtx-df-modal/index.js.map +1 -0
- package/lib/vtx-df-modal/style/css.js +7 -0
- package/lib/vtx-df-modal/style/css.js.map +1 -0
- package/lib/vtx-df-modal/style/index.css +84 -0
- package/lib/vtx-df-modal/style/index.js +7 -0
- package/lib/vtx-df-modal/style/index.js.map +1 -0
- package/lib/vtx-df-modal/style/index.less +1 -0
- package/lib/vtx-facility-modal/api.js +119 -0
- package/lib/vtx-facility-modal/api.js.map +1 -0
- package/lib/vtx-facility-modal/components/OverView/Left.js +49 -0
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -0
- package/lib/vtx-facility-modal/components/OverView/index.css +133 -0
- package/lib/vtx-facility-modal/components/OverView/index.js +285 -0
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -0
- package/lib/vtx-facility-modal/components/OverView/index.less +116 -0
- package/lib/vtx-facility-modal/components/index.js +14 -0
- package/lib/vtx-facility-modal/components/index.js.map +1 -0
- package/lib/vtx-facility-modal/config.js +68 -0
- package/lib/vtx-facility-modal/config.js.map +1 -0
- package/lib/vtx-facility-modal/imgs/car.png +0 -0
- package/lib/vtx-facility-modal/imgs/user.png +0 -0
- package/lib/vtx-facility-modal/index.js +48 -0
- package/lib/vtx-facility-modal/index.js.map +1 -0
- package/lib/vtx-facility-modal/style/css.js +5 -0
- package/lib/vtx-facility-modal/style/css.js.map +1 -0
- package/lib/vtx-facility-modal/style/index.css +0 -0
- package/lib/vtx-facility-modal/style/index.js +5 -0
- package/lib/vtx-facility-modal/style/index.js.map +1 -0
- package/lib/vtx-facility-modal/style/index.less +1 -0
- package/lib/vtx-facility-modal/types.js +6 -0
- package/lib/vtx-facility-modal/types.js.map +1 -0
- package/lib/vtx-housing-estate-modal/api.js +535 -0
- package/lib/vtx-housing-estate-modal/api.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +390 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +209 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +290 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +34 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.css +81 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +104 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +290 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +89 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +122 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +213 -0
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +60 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/index.css +324 -0
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +41 -0
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/index.less +246 -0
- package/lib/vtx-housing-estate-modal/components/SPJK/index.css +4 -0
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +58 -0
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -0
- package/lib/vtx-housing-estate-modal/components/TFRD/index.css +21 -0
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +139 -0
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +59 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.css +43 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +104 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +68 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/index.css +93 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +142 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/index.less +76 -0
- package/lib/vtx-housing-estate-modal/components/index.js +49 -0
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/config.js +88 -0
- package/lib/vtx-housing-estate-modal/config.js.map +1 -0
- package/lib/vtx-housing-estate-modal/imgs/BOTTLE.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/CAN.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/KRAFT_PAPER_BOX.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/NAPKIN.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/PLASTIC_BAG.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/avatar_empty.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/black-rank.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/bucket-cylj.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/bucket-khsw.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/bucket-qtlj.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/bucket-yhlj.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/cylj-bg.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/cylj.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/cywpd.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/garbage_default.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/ht.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/khsw-bg.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/khsw.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/left-ddypz.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/left-tfdmd.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/manage-bg-1.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/manage-bg-2.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/manage-gzcx.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/manage-hjgl.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/manage-hmd.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/manage-wgmsr.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/manage-yyxj.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/my.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/pie-chart-bg.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/qtlj-bg.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/qtlj.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/rank-bg.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/tfd.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/twtf.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/wstf.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/yhlj-bg.png +0 -0
- package/lib/vtx-housing-estate-modal/imgs/yhlj.png +0 -0
- package/lib/vtx-housing-estate-modal/index.js +100 -0
- package/lib/vtx-housing-estate-modal/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/style/css.js +7 -0
- package/lib/vtx-housing-estate-modal/style/css.js.map +1 -0
- package/lib/vtx-housing-estate-modal/style/index.css +0 -0
- package/lib/vtx-housing-estate-modal/style/index.js +7 -0
- package/lib/vtx-housing-estate-modal/style/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/style/index.less +1 -0
- package/lib/vtx-housing-estate-modal/types.js +6 -0
- package/lib/vtx-housing-estate-modal/types.js.map +1 -0
- package/lib/vtx-kh-modal/api.js +74 -0
- package/lib/vtx-kh-modal/api.js.map +1 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.css +66 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +93 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -0
- package/lib/vtx-kh-modal/components/index.js +14 -0
- package/lib/vtx-kh-modal/components/index.js.map +1 -0
- package/lib/vtx-kh-modal/index.js +94 -0
- package/lib/vtx-kh-modal/index.js.map +1 -0
- package/lib/vtx-kh-modal/style/css.js +5 -0
- package/lib/vtx-kh-modal/style/css.js.map +1 -0
- package/lib/vtx-kh-modal/style/index.css +84 -0
- package/lib/vtx-kh-modal/style/index.js +5 -0
- package/lib/vtx-kh-modal/style/index.js.map +1 -0
- package/lib/vtx-kh-modal/style/index.less +1 -0
- package/lib/vtx-pump-modal/api.js +303 -0
- package/lib/vtx-pump-modal/api.js.map +1 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +143 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +223 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/index.css +97 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js +152 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -0
- package/lib/vtx-pump-modal/components/AlarmRecord/index.less +91 -0
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +250 -0
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -0
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +174 -0
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -0
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js +93 -0
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -0
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js +76 -0
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -0
- package/lib/vtx-pump-modal/components/Basic/index.css +86 -0
- package/lib/vtx-pump-modal/components/Basic/index.js +81 -0
- package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -0
- package/lib/vtx-pump-modal/components/Basic/index.less +69 -0
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +185 -0
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -0
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +187 -0
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -0
- package/lib/vtx-pump-modal/components/Sbxl/index.css +87 -0
- package/lib/vtx-pump-modal/components/Sbxl/index.js +163 -0
- package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -0
- package/lib/vtx-pump-modal/components/Sbxl/index.less +91 -0
- package/lib/vtx-pump-modal/components/Sjfx/index.css +61 -0
- package/lib/vtx-pump-modal/components/Sjfx/index.js +699 -0
- package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -0
- package/lib/vtx-pump-modal/components/Sjfx/index.less +58 -0
- package/lib/vtx-pump-modal/components/Sxyx/index.css +167 -0
- package/lib/vtx-pump-modal/components/Sxyx/index.js +283 -0
- package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -0
- package/lib/vtx-pump-modal/components/Sxyx/index.less +156 -0
- package/lib/vtx-pump-modal/components/index.js +42 -0
- package/lib/vtx-pump-modal/components/index.js.map +1 -0
- package/lib/vtx-pump-modal/config.js +106 -0
- package/lib/vtx-pump-modal/config.js.map +1 -0
- package/lib/vtx-pump-modal/imgs/bucket.png +0 -0
- package/lib/vtx-pump-modal/imgs/carNum.png +0 -0
- package/lib/vtx-pump-modal/imgs/historyIcon.png +0 -0
- package/lib/vtx-pump-modal/imgs/lineIcon.png +0 -0
- package/lib/vtx-pump-modal/imgs/weigh.png +0 -0
- package/lib/vtx-pump-modal/index.js +88 -0
- package/lib/vtx-pump-modal/index.js.map +1 -0
- package/lib/vtx-pump-modal/style/css.js +5 -0
- package/lib/vtx-pump-modal/style/css.js.map +1 -0
- package/lib/vtx-pump-modal/style/index.css +0 -0
- package/lib/vtx-pump-modal/style/index.js +5 -0
- package/lib/vtx-pump-modal/style/index.js.map +1 -0
- package/lib/vtx-pump-modal/style/index.less +1 -0
- package/lib/vtx-pump-modal/type.js +6 -0
- package/lib/vtx-pump-modal/type.js.map +1 -0
- package/lib/vtx-restaurant-modal/api.js +154 -0
- package/lib/vtx-restaurant-modal/api.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +50 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +78 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +92 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.css +45 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +74 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.less +32 -0
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +62 -0
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +57 -0
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +69 -0
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.css +77 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.js +48 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.css +28 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.js +64 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.less +23 -0
- package/lib/vtx-restaurant-modal/components/index.js +28 -0
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/config.js +58 -0
- package/lib/vtx-restaurant-modal/config.js.map +1 -0
- package/lib/vtx-restaurant-modal/imgs/bucket.png +0 -0
- package/lib/vtx-restaurant-modal/imgs/carNum.png +0 -0
- package/lib/vtx-restaurant-modal/imgs/weigh.png +0 -0
- package/lib/vtx-restaurant-modal/index.js +61 -0
- package/lib/vtx-restaurant-modal/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/style/css.js +5 -0
- package/lib/vtx-restaurant-modal/style/css.js.map +1 -0
- package/lib/vtx-restaurant-modal/style/index.css +0 -0
- package/lib/vtx-restaurant-modal/style/index.js +5 -0
- package/lib/vtx-restaurant-modal/style/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/style/index.less +1 -0
- package/lib/vtx-restaurant-modal/type.js +6 -0
- package/lib/vtx-restaurant-modal/type.js.map +1 -0
- package/lib/vtx-road-modal/api.js +136 -0
- package/lib/vtx-road-modal/api.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +55 -0
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +152 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +86 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/index.css +166 -0
- package/lib/vtx-road-modal/components/BaseInfo/index.js +64 -0
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -0
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +142 -0
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -0
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +111 -0
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -0
- package/lib/vtx-road-modal/components/Statistical/index.css +126 -0
- package/lib/vtx-road-modal/components/Statistical/index.js +185 -0
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -0
- package/lib/vtx-road-modal/components/Statistical/index.less +110 -0
- package/lib/vtx-road-modal/components/index.js +21 -0
- package/lib/vtx-road-modal/components/index.js.map +1 -0
- package/lib/vtx-road-modal/imgs/actual.png +0 -0
- package/lib/vtx-road-modal/imgs/actual_light.png +0 -0
- package/lib/vtx-road-modal/imgs/all_rate.png +0 -0
- package/lib/vtx-road-modal/imgs/all_rate_light.png +0 -0
- package/lib/vtx-road-modal/imgs/cx_rate.png +0 -0
- package/lib/vtx-road-modal/imgs/cx_rate_light.png +0 -0
- package/lib/vtx-road-modal/imgs/js.png +0 -0
- package/lib/vtx-road-modal/imgs/plan.png +0 -0
- package/lib/vtx-road-modal/imgs/plan_light.png +0 -0
- package/lib/vtx-road-modal/imgs/ss.png +0 -0
- package/lib/vtx-road-modal/imgs/ss_rate.png +0 -0
- package/lib/vtx-road-modal/imgs/ss_rate_light.png +0 -0
- package/lib/vtx-road-modal/imgs/track.png +0 -0
- package/lib/vtx-road-modal/imgs/wp.png +0 -0
- package/lib/vtx-road-modal/imgs/xs.png +0 -0
- package/lib/vtx-road-modal/imgs/xs_rate.png +0 -0
- package/lib/vtx-road-modal/imgs/xs_rate_light.png +0 -0
- package/lib/vtx-road-modal/index.js +91 -0
- package/lib/vtx-road-modal/index.js.map +1 -0
- package/lib/vtx-road-modal/style/css.js +6 -0
- package/lib/vtx-road-modal/style/css.js.map +1 -0
- package/lib/vtx-road-modal/style/index.css +84 -0
- package/lib/vtx-road-modal/style/index.js +6 -0
- package/lib/vtx-road-modal/style/index.js.map +1 -0
- package/lib/vtx-road-modal/style/index.less +1 -0
- package/lib/vtx-staff-modal/api.js +311 -0
- package/lib/vtx-staff-modal/api.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +175 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +124 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.css +26 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +108 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -0
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +98 -0
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/Record.js +154 -0
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +119 -0
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/index.css +18 -0
- package/lib/vtx-staff-modal/components/Attendance/index.js +52 -0
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/index.less +19 -0
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +106 -0
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +40 -0
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +124 -0
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/index.css +158 -0
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +211 -0
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +144 -0
- package/lib/vtx-staff-modal/components/Equipment/index.css +27 -0
- package/lib/vtx-staff-modal/components/Equipment/index.js +125 -0
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/Equipment/index.less +27 -0
- package/lib/vtx-staff-modal/components/index.js +35 -0
- package/lib/vtx-staff-modal/components/index.js.map +1 -0
- package/lib/vtx-staff-modal/imgs/position.png +0 -0
- package/lib/vtx-staff-modal/imgs/refresh.png +0 -0
- package/lib/vtx-staff-modal/imgs/rjzx.png +0 -0
- package/lib/vtx-staff-modal/imgs/rjzx_light.png +0 -0
- package/lib/vtx-staff-modal/imgs/staff.png +0 -0
- package/lib/vtx-staff-modal/imgs/todayOnline.png +0 -0
- package/lib/vtx-staff-modal/imgs/todayOnline_light.png +0 -0
- package/lib/vtx-staff-modal/imgs/todayWork.png +0 -0
- package/lib/vtx-staff-modal/imgs/todayWork_light.png +0 -0
- package/lib/vtx-staff-modal/imgs/zzx.png +0 -0
- package/lib/vtx-staff-modal/imgs/zzx_light.png +0 -0
- package/lib/vtx-staff-modal/index.js +80 -0
- package/lib/vtx-staff-modal/index.js.map +1 -0
- package/lib/vtx-staff-modal/style/css.js +8 -0
- package/lib/vtx-staff-modal/style/css.js.map +1 -0
- package/lib/vtx-staff-modal/style/index.css +84 -0
- package/lib/vtx-staff-modal/style/index.js +8 -0
- package/lib/vtx-staff-modal/style/index.js.map +1 -0
- package/lib/vtx-staff-modal/style/index.less +1 -0
- package/lib/vtx-theme-provider/index.js +25 -0
- package/lib/vtx-theme-provider/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/api.js +527 -0
- package/lib/vtx-throw-point-modal/api.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +391 -0
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +209 -0
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +291 -0
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +34 -0
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/index.css +81 -0
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +104 -0
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -0
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +278 -0
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/Left.js +120 -0
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +119 -0
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +213 -0
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js +60 -0
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/index.css +404 -0
- package/lib/vtx-throw-point-modal/components/OverView/index.js +39 -0
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +84 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/index.css +106 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +334 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -0
- package/lib/vtx-throw-point-modal/components/TFRD/index.css +21 -0
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +136 -0
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -0
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js +56 -0
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGGS/index.css +43 -0
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +90 -0
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -0
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js +66 -0
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGXW/index.css +93 -0
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +128 -0
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGXW/index.less +76 -0
- package/lib/vtx-throw-point-modal/components/index.js +49 -0
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/config.js +67 -0
- package/lib/vtx-throw-point-modal/config.js.map +1 -0
- package/lib/vtx-throw-point-modal/imgs/BOTTLE.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/CAN.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/KRAFT_PAPER_BOX.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/NAPKIN.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/PLASTIC_BAG.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/avatar_empty.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/black-rank.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/bucket-cylj.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/bucket-khsw.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/bucket-qtlj.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/bucket-yhlj.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/camera.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/cylj-bg.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/cylj.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/cywpd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/disconnect.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/error.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/fangzi.gif +0 -0
- package/lib/vtx-throw-point-modal/imgs/garbage_default.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/getway.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/getwayBox.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/host.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/ht-tfd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/ht.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/khsw-bg.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/khsw.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/lamp.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/left-ddypz.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/left-tfdmd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/manage-bg-1.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/manage-bg-2.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/manage-gzcx.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/manage-hjgl.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/manage-hmd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/manage-wgmsr.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/manage-yyxj.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/my-tfd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/my.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/pie-chart-bg.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/point.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/qtlj-bg.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/qtlj.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/rank-bg.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/screen.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/tfd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/throwPoint.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/tingzi.gif +0 -0
- package/lib/vtx-throw-point-modal/imgs/toukou.gif +0 -0
- package/lib/vtx-throw-point-modal/imgs/twtf-tfd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/twtf.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/window.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/wpd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/wstf-tfd.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/wstf.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/yhlj-bg.png +0 -0
- package/lib/vtx-throw-point-modal/imgs/yhlj.png +0 -0
- package/lib/vtx-throw-point-modal/index.js +104 -0
- package/lib/vtx-throw-point-modal/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/style/css.js +7 -0
- package/lib/vtx-throw-point-modal/style/css.js.map +1 -0
- package/lib/vtx-throw-point-modal/style/index.css +0 -0
- package/lib/vtx-throw-point-modal/style/index.js +7 -0
- package/lib/vtx-throw-point-modal/style/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/style/index.less +1 -0
- package/lib/vtx-throw-point-modal/types.js +6 -0
- package/lib/vtx-throw-point-modal/types.js.map +1 -0
- package/lib/vtx-wr-modal/api.js +381 -0
- package/lib/vtx-wr-modal/api.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +251 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +112 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +165 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/index.css +114 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js +46 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -0
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +110 -0
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +44 -0
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +109 -0
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/index.css +154 -0
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +331 -0
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +132 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +85 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +153 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +322 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +140 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +50 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +33 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +123 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.css +672 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +112 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -0
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +103 -0
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js +69 -0
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +143 -0
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.css +121 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.js +49 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -0
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +158 -0
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -0
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +162 -0
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -0
- package/lib/vtx-wr-modal/components/Monitor/index.css +104 -0
- package/lib/vtx-wr-modal/components/Monitor/index.js +28 -0
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/Monitor/index.less +78 -0
- package/lib/vtx-wr-modal/components/Score/index.css +122 -0
- package/lib/vtx-wr-modal/components/Score/index.js +251 -0
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/Score/index.less +117 -0
- package/lib/vtx-wr-modal/components/index.js +49 -0
- package/lib/vtx-wr-modal/components/index.js.map +1 -0
- package/lib/vtx-wr-modal/imgs/address.png +0 -0
- package/lib/vtx-wr-modal/imgs/alarm.png +0 -0
- package/lib/vtx-wr-modal/imgs/bad.png +0 -0
- package/lib/vtx-wr-modal/imgs/chart_bg.png +0 -0
- package/lib/vtx-wr-modal/imgs/cqzf.png +0 -0
- package/lib/vtx-wr-modal/imgs/cqzm.png +0 -0
- package/lib/vtx-wr-modal/imgs/dswsj.png +0 -0
- package/lib/vtx-wr-modal/imgs/dwm.png +0 -0
- package/lib/vtx-wr-modal/imgs/dww.png +0 -0
- package/lib/vtx-wr-modal/imgs/electric.png +0 -0
- package/lib/vtx-wr-modal/imgs/electric_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/female.png +0 -0
- package/lib/vtx-wr-modal/imgs/femaleB.png +0 -0
- package/lib/vtx-wr-modal/imgs/female_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/good.png +0 -0
- package/lib/vtx-wr-modal/imgs/humidity.png +0 -0
- package/lib/vtx-wr-modal/imgs/humidity_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/level1.png +0 -0
- package/lib/vtx-wr-modal/imgs/level2.png +0 -0
- package/lib/vtx-wr-modal/imgs/level3.png +0 -0
- package/lib/vtx-wr-modal/imgs/level4.png +0 -0
- package/lib/vtx-wr-modal/imgs/level5.png +0 -0
- package/lib/vtx-wr-modal/imgs/lhqf.png +0 -0
- package/lib/vtx-wr-modal/imgs/lhqm.png +0 -0
- package/lib/vtx-wr-modal/imgs/male.png +0 -0
- package/lib/vtx-wr-modal/imgs/maleB.png +0 -0
- package/lib/vtx-wr-modal/imgs/male_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/man.png +0 -0
- package/lib/vtx-wr-modal/imgs/mys.png +0 -0
- package/lib/vtx-wr-modal/imgs/pmf.png +0 -0
- package/lib/vtx-wr-modal/imgs/pmm.png +0 -0
- package/lib/vtx-wr-modal/imgs/point.png +0 -0
- package/lib/vtx-wr-modal/imgs/qf.png +0 -0
- package/lib/vtx-wr-modal/imgs/qm.png +0 -0
- package/lib/vtx-wr-modal/imgs/realtime_bg.png +0 -0
- package/lib/vtx-wr-modal/imgs/realtime_bg_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/rllf.png +0 -0
- package/lib/vtx-wr-modal/imgs/rllm.png +0 -0
- package/lib/vtx-wr-modal/imgs/score_avg.png +0 -0
- package/lib/vtx-wr-modal/imgs/score_avg_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/sdf.png +0 -0
- package/lib/vtx-wr-modal/imgs/sdm.png +0 -0
- package/lib/vtx-wr-modal/imgs/stench.png +0 -0
- package/lib/vtx-wr-modal/imgs/stench_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/temperature.png +0 -0
- package/lib/vtx-wr-modal/imgs/temperature_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/time.png +0 -0
- package/lib/vtx-wr-modal/imgs/titleBg.png +0 -0
- package/lib/vtx-wr-modal/imgs/traffic.png +0 -0
- package/lib/vtx-wr-modal/imgs/traffic_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/water.png +0 -0
- package/lib/vtx-wr-modal/imgs/water_light.png +0 -0
- package/lib/vtx-wr-modal/imgs/wdf.png +0 -0
- package/lib/vtx-wr-modal/imgs/wdm.png +0 -0
- package/lib/vtx-wr-modal/imgs/woman.png +0 -0
- package/lib/vtx-wr-modal/imgs/women.png +0 -0
- package/lib/vtx-wr-modal/imgs/xbd.png +0 -0
- package/lib/vtx-wr-modal/imgs/ydlf.png +0 -0
- package/lib/vtx-wr-modal/imgs/ydlm.png +0 -0
- package/lib/vtx-wr-modal/imgs/yslf.png +0 -0
- package/lib/vtx-wr-modal/imgs/yslm.png +0 -0
- package/lib/vtx-wr-modal/imgs/zsp.png +0 -0
- package/lib/vtx-wr-modal/imgs/zwm.png +0 -0
- package/lib/vtx-wr-modal/imgs/zww.png +0 -0
- package/lib/vtx-wr-modal/index.js +143 -0
- package/lib/vtx-wr-modal/index.js.map +1 -0
- package/lib/vtx-wr-modal/style/css.js +9 -0
- package/lib/vtx-wr-modal/style/css.js.map +1 -0
- package/lib/vtx-wr-modal/style/index.css +84 -0
- package/lib/vtx-wr-modal/style/index.js +9 -0
- package/lib/vtx-wr-modal/style/index.js.map +1 -0
- package/lib/vtx-wr-modal/style/index.less +1 -0
- package/lib/vtx-zg-modal/api.js +69 -0
- package/lib/vtx-zg-modal/api.js.map +1 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.css +92 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +178 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -0
- package/lib/vtx-zg-modal/components/index.js +14 -0
- package/lib/vtx-zg-modal/components/index.js.map +1 -0
- package/lib/vtx-zg-modal/index.js +97 -0
- package/lib/vtx-zg-modal/index.js.map +1 -0
- package/lib/vtx-zg-modal/style/css.js +5 -0
- package/lib/vtx-zg-modal/style/css.js.map +1 -0
- package/lib/vtx-zg-modal/style/index.css +84 -0
- package/lib/vtx-zg-modal/style/index.js +5 -0
- package/lib/vtx-zg-modal/style/index.js.map +1 -0
- package/lib/vtx-zg-modal/style/index.less +1 -0
- package/package.json +121 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BasicService = exports.AlarmService = void 0;
|
|
7
|
+
var _tslib = require("tslib");
|
|
8
|
+
var _utils = require("@vtx/utils");
|
|
9
|
+
var _ahooks = require("ahooks");
|
|
10
|
+
var _moment = _interopRequireDefault(require("moment"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
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); }
|
|
13
|
+
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; }
|
|
14
|
+
var query = function query(url, params) {
|
|
15
|
+
var method = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'get';
|
|
16
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
17
|
+
var res;
|
|
18
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
19
|
+
while (1) switch (_context.prev = _context.next) {
|
|
20
|
+
case 0:
|
|
21
|
+
_context.next = 2;
|
|
22
|
+
return _utils.request[method](url, {
|
|
23
|
+
data: params
|
|
24
|
+
});
|
|
25
|
+
case 2:
|
|
26
|
+
res = _context.sent;
|
|
27
|
+
return _context.abrupt("return", res === null || res === void 0 ? void 0 : res.data);
|
|
28
|
+
case 4:
|
|
29
|
+
case "end":
|
|
30
|
+
return _context.stop();
|
|
31
|
+
}
|
|
32
|
+
}, _callee);
|
|
33
|
+
}));
|
|
34
|
+
};
|
|
35
|
+
var BasicService = {
|
|
36
|
+
// 详情
|
|
37
|
+
info: function info(_ref) {
|
|
38
|
+
var id = _ref.id;
|
|
39
|
+
var _useRequest = (0, _ahooks.useRequest)(function () {
|
|
40
|
+
return query('/cloud/cc-reborn/api/v101/restaurant/get', {
|
|
41
|
+
id: id
|
|
42
|
+
});
|
|
43
|
+
}, {
|
|
44
|
+
refreshDeps: [id],
|
|
45
|
+
ready: !!id
|
|
46
|
+
}),
|
|
47
|
+
data = _useRequest.data;
|
|
48
|
+
return data || {};
|
|
49
|
+
},
|
|
50
|
+
// 收运记录
|
|
51
|
+
detailList: function detailList(_ref2) {
|
|
52
|
+
var id = _ref2.id,
|
|
53
|
+
startTime = _ref2.startTime,
|
|
54
|
+
endTime = _ref2.endTime,
|
|
55
|
+
garbageType = _ref2.garbageType;
|
|
56
|
+
var _useRequest2 = (0, _ahooks.useRequest)(function () {
|
|
57
|
+
return query('/cloud/cc-reborn/api/v101/rtCarDataDetail/list', {
|
|
58
|
+
restaurantId: id,
|
|
59
|
+
queryStartTime: startTime,
|
|
60
|
+
queryEndTime: endTime,
|
|
61
|
+
ccGarbageType: garbageType
|
|
62
|
+
});
|
|
63
|
+
}, {
|
|
64
|
+
refreshDeps: [id, startTime, endTime, garbageType],
|
|
65
|
+
ready: !!id
|
|
66
|
+
}),
|
|
67
|
+
data = _useRequest2.data;
|
|
68
|
+
return data;
|
|
69
|
+
},
|
|
70
|
+
// 收运汇总
|
|
71
|
+
summary: function summary(_ref3) {
|
|
72
|
+
var id = _ref3.id,
|
|
73
|
+
startDay = _ref3.startDay,
|
|
74
|
+
endDay = _ref3.endDay,
|
|
75
|
+
garbageType = _ref3.garbageType;
|
|
76
|
+
var _useRequest3 = (0, _ahooks.useRequest)(function () {
|
|
77
|
+
return query('/cloud/cc-reborn/api/v101/gisOnePage/getRestaurantDaySummary', {
|
|
78
|
+
restaurantId: id,
|
|
79
|
+
startDay: startDay,
|
|
80
|
+
endDay: endDay,
|
|
81
|
+
garbageType: garbageType
|
|
82
|
+
});
|
|
83
|
+
}, {
|
|
84
|
+
refreshDeps: [id, startDay, endDay, garbageType],
|
|
85
|
+
ready: !!id
|
|
86
|
+
}),
|
|
87
|
+
data = _useRequest3.data;
|
|
88
|
+
return data;
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
exports.BasicService = BasicService;
|
|
92
|
+
var AlarmService = {
|
|
93
|
+
typeAnalysis: function typeAnalysis(_ref4) {
|
|
94
|
+
var id = _ref4.id,
|
|
95
|
+
startDate = _ref4.startDate,
|
|
96
|
+
endDate = _ref4.endDate;
|
|
97
|
+
var _useRequest4 = (0, _ahooks.useRequest)(function () {
|
|
98
|
+
return query('/cloud/cc-reborn/api/v101/gisOnePage/getAbnormalTypeNums', {
|
|
99
|
+
restaurantId: id,
|
|
100
|
+
startDay: startDate,
|
|
101
|
+
endDay: endDate
|
|
102
|
+
});
|
|
103
|
+
}, {
|
|
104
|
+
refreshDeps: [id, startDate, endDate],
|
|
105
|
+
ready: !!id
|
|
106
|
+
}),
|
|
107
|
+
_useRequest4$data = _useRequest4.data,
|
|
108
|
+
data = _useRequest4$data === void 0 ? [] : _useRequest4$data;
|
|
109
|
+
return data;
|
|
110
|
+
},
|
|
111
|
+
alarmTrend: function alarmTrend(_ref5) {
|
|
112
|
+
var id = _ref5.id,
|
|
113
|
+
startDate = _ref5.startDate,
|
|
114
|
+
endDate = _ref5.endDate;
|
|
115
|
+
var _useRequest5 = (0, _ahooks.useRequest)(function () {
|
|
116
|
+
return query('/cloud/cc-reborn/api/v101/gisOnePage/getAbnormalDayNums', {
|
|
117
|
+
restaurantId: id,
|
|
118
|
+
startDay: startDate,
|
|
119
|
+
endDay: endDate
|
|
120
|
+
});
|
|
121
|
+
}, {
|
|
122
|
+
refreshDeps: [id, startDate, endDate],
|
|
123
|
+
ready: !!id
|
|
124
|
+
}),
|
|
125
|
+
_useRequest5$data = _useRequest5.data,
|
|
126
|
+
data = _useRequest5$data === void 0 ? [] : _useRequest5$data;
|
|
127
|
+
return data;
|
|
128
|
+
},
|
|
129
|
+
// 报警明细
|
|
130
|
+
alarmRecord: function alarmRecord(_ref6) {
|
|
131
|
+
var id = _ref6.id,
|
|
132
|
+
startDate = _ref6.startDate,
|
|
133
|
+
endDate = _ref6.endDate;
|
|
134
|
+
var _useRequest6 = (0, _ahooks.useRequest)(function () {
|
|
135
|
+
return query('/cloud/cc-reborn/api/v101/workBench/abnormalEventRecordPage', {
|
|
136
|
+
page: 0,
|
|
137
|
+
size: 10000,
|
|
138
|
+
alarmObjId: id,
|
|
139
|
+
queryStartTime: (0, _moment["default"])(startDate).format('YYYY-MM-DD 00:00:00'),
|
|
140
|
+
queryEndTime: (0, _moment["default"])(endDate).format('YYYY-MM-DD 23:59:59')
|
|
141
|
+
});
|
|
142
|
+
}, {
|
|
143
|
+
refreshDeps: [id, startDate, endDate],
|
|
144
|
+
ready: !!id
|
|
145
|
+
}),
|
|
146
|
+
data = _useRequest6.data;
|
|
147
|
+
return data || {
|
|
148
|
+
total: 0,
|
|
149
|
+
rows: []
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
exports.AlarmService = AlarmService;
|
|
154
|
+
//# sourceMappingURL=api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.js","names":["_tslib","require","_utils","_ahooks","_moment","_interopRequireDefault","obj","__esModule","_typeof","Symbol","iterator","constructor","prototype","_regeneratorRuntime","exports","Op","Object","hasOwn","hasOwnProperty","defineProperty","key","desc","value","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","undefined","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","_catch","thrown","delegateYield","query","url","params","arguments","__awaiter","_callee","res","_callee$","_context","request","data","BasicService","_ref","id","_useRequest","useRequest","refreshDeps","ready","detailList","_ref2","startTime","endTime","garbageType","_useRequest2","restaurantId","queryStartTime","queryEndTime","ccGarbageType","summary","_ref3","startDay","endDay","_useRequest3","AlarmService","typeAnalysis","_ref4","startDate","endDate","_useRequest4","_useRequest4$data","alarmTrend","_ref5","_useRequest5","_useRequest5$data","alarmRecord","_ref6","_useRequest6","page","size","alarmObjId","moment","format","total","rows"],"sources":["vtx-restaurant-modal/api.js"],"sourcesContent":["import { __awaiter } from \"tslib\";\nimport { request } from '@vtx/utils';\nimport { useRequest } from 'ahooks';\nimport moment from 'moment';\nconst query = (url, params, method = 'get') => __awaiter(void 0, void 0, void 0, function* () {\n const res = yield request[method](url, {\n data: params,\n });\n return res === null || res === void 0 ? void 0 : res.data;\n});\nexport const BasicService = {\n // 详情\n info: ({ id }) => {\n const { data } = useRequest(() => query('/cloud/cc-reborn/api/v101/restaurant/get', {\n id,\n }), {\n refreshDeps: [id],\n ready: !!id,\n });\n return data || {};\n },\n // 收运记录\n detailList: ({ id, startTime, endTime, garbageType, }) => {\n const { data } = useRequest(() => query('/cloud/cc-reborn/api/v101/rtCarDataDetail/list', {\n restaurantId: id,\n queryStartTime: startTime,\n queryEndTime: endTime,\n ccGarbageType: garbageType,\n }), {\n refreshDeps: [id, startTime, endTime, garbageType],\n ready: !!id,\n });\n return data;\n },\n // 收运汇总\n summary: ({ id, startDay, endDay, garbageType }) => {\n const { data } = useRequest(() => query('/cloud/cc-reborn/api/v101/gisOnePage/getRestaurantDaySummary', {\n restaurantId: id,\n startDay,\n endDay,\n garbageType\n }), {\n refreshDeps: [id, startDay, endDay, garbageType],\n ready: !!id,\n });\n return data;\n },\n};\nexport const AlarmService = {\n typeAnalysis: ({ id, startDate, endDate, }) => {\n const { data = [] } = useRequest(() => query('/cloud/cc-reborn/api/v101/gisOnePage/getAbnormalTypeNums', {\n restaurantId: id,\n startDay: startDate,\n endDay: endDate,\n }), {\n refreshDeps: [id, startDate, endDate],\n ready: !!id,\n });\n return data;\n },\n alarmTrend: ({ id, startDate, endDate, }) => {\n const { data = [] } = useRequest(() => query('/cloud/cc-reborn/api/v101/gisOnePage/getAbnormalDayNums', {\n restaurantId: id,\n startDay: startDate,\n endDay: endDate,\n }), {\n refreshDeps: [id, startDate, endDate],\n ready: !!id,\n });\n return data;\n },\n // 报警明细\n alarmRecord: ({ id, startDate, endDate, }) => {\n const { data } = useRequest(() => query('/cloud/cc-reborn/api/v101/workBench/abnormalEventRecordPage', {\n page: 0,\n size: 10000,\n alarmObjId: id,\n queryStartTime: moment(startDate).format('YYYY-MM-DD 00:00:00'),\n queryEndTime: moment(endDate).format('YYYY-MM-DD 23:59:59'),\n }), {\n refreshDeps: [id, startDate, endDate],\n ready: !!id,\n });\n return data || { total: 0, rows: [] };\n },\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAA4B,SAAAI,uBAAAC,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,QAAAF,GAAA,sCAAAE,OAAA,wBAAAC,MAAA,uBAAAA,MAAA,CAAAC,QAAA,aAAAJ,GAAA,kBAAAA,GAAA,gBAAAA,GAAA,WAAAA,GAAA,yBAAAG,MAAA,IAAAH,GAAA,CAAAK,W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AC3L,OAAA,CAAAuK,YAAA,GAAAA,YAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _vmTable = _interopRequireDefault(require("../../../vm-table"));
|
|
10
|
+
var _index = require("../../index");
|
|
11
|
+
var _api = require("../../api");
|
|
12
|
+
require("./index.less");
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
+
var columns = [{
|
|
17
|
+
title: '异常类型',
|
|
18
|
+
dataIndex: 'abnormalTypeName'
|
|
19
|
+
}, {
|
|
20
|
+
title: '等级',
|
|
21
|
+
dataIndex: 'levelStr'
|
|
22
|
+
}, {
|
|
23
|
+
title: '报警开始时间',
|
|
24
|
+
dataIndex: 'alarmStartTime'
|
|
25
|
+
}, {
|
|
26
|
+
title: '报警结束时间',
|
|
27
|
+
dataIndex: 'alarmEndTime'
|
|
28
|
+
}];
|
|
29
|
+
var AlarmRecord = function AlarmRecord(_ref) {
|
|
30
|
+
var startDate = _ref.startDate,
|
|
31
|
+
endDate = _ref.endDate;
|
|
32
|
+
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
33
|
+
id = _useContext.id;
|
|
34
|
+
var _AlarmService$alarmRe = _api.AlarmService.alarmRecord({
|
|
35
|
+
id: id,
|
|
36
|
+
startDate: startDate,
|
|
37
|
+
endDate: endDate
|
|
38
|
+
}),
|
|
39
|
+
_AlarmService$alarmRe2 = _AlarmService$alarmRe.rows,
|
|
40
|
+
rows = _AlarmService$alarmRe2 === void 0 ? [] : _AlarmService$alarmRe2;
|
|
41
|
+
return /*#__PURE__*/_react["default"].createElement(_vmTable["default"], {
|
|
42
|
+
columns: columns,
|
|
43
|
+
dataSource: rows,
|
|
44
|
+
size: "small",
|
|
45
|
+
pagination: false
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
var _default = AlarmRecord;
|
|
49
|
+
exports["default"] = _default;
|
|
50
|
+
//# sourceMappingURL=AlarmRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlarmRecord.js","names":["_react","_interopRequireWildcard","require","_vmTable","_interopRequireDefault","_index","_api","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","columns","title","dataIndex","AlarmRecord","_ref","startDate","endDate","_useContext","useContext","RestaurantContext","id","_AlarmService$alarmRe","AlarmService","alarmRecord","_AlarmService$alarmRe2","rows","React","createElement","VmTable","dataSource","size","pagination","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/AlarmRecord.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport VmTable from '../../../vm-table';\nimport { RestaurantContext } from '../../index';\nimport { AlarmService } from '../../api';\nimport './index.less';\nconst columns = [\n {\n title: '异常类型',\n dataIndex: 'abnormalTypeName',\n },\n {\n title: '等级',\n dataIndex: 'levelStr',\n },\n {\n title: '报警开始时间',\n dataIndex: 'alarmStartTime',\n },\n {\n title: '报警结束时间',\n dataIndex: 'alarmEndTime',\n },\n];\nconst AlarmRecord = ({ startDate, endDate }) => {\n const { id } = useContext(RestaurantContext);\n const { rows = [] } = AlarmService.alarmRecord({\n id,\n startDate,\n endDate,\n });\n return React.createElement(VmTable, { columns: columns, dataSource: rows, size: \"small\", pagination: false });\n};\nexport default AlarmRecord;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AAAsB,SAAAE,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAT,wBAAAM,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,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C,iBAAU,EAACC,wBAAiB,CAAC;IAApCC,EAAE,GAAAH,WAAA,CAAFG,EAAE;EACV,IAAAC,qBAAA,GAAsBC,iBAAY,CAACC,WAAW,CAAC;MAC3CH,EAAE,EAAFA,EAAE;MACFL,SAAS,EAATA,SAAS;MACTC,OAAO,EAAPA;IACJ,CAAC,CAAC;IAAAQ,sBAAA,GAAAH,qBAAA,CAJMI,IAAI;IAAJA,IAAI,GAAAD,sBAAA,cAAG,EAAE,GAAAA,sBAAA;EAKjB,oBAAOE,iBAAK,CAACC,aAAa,CAACC,mBAAO,EAAE;IAAElB,OAAO,EAAEA,OAAO;IAAEmB,UAAU,EAAEJ,IAAI;IAAEK,IAAI,EAAE,OAAO;IAAEC,UAAU,EAAE;EAAM,CAAC,CAAC;AACjH,CAAC;AAAC,IAAAC,QAAA,GACanB,WAAW;AAAAoB,OAAA,cAAAD,QAAA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
10
|
+
var _index = require("../../index");
|
|
11
|
+
var _api = require("../../api");
|
|
12
|
+
require("./index.less");
|
|
13
|
+
var _lodash = _interopRequireDefault(require("lodash"));
|
|
14
|
+
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
|
+
var getOption = function getOption(data) {
|
|
19
|
+
var _useSettings = (0, _useSettings2["default"])(),
|
|
20
|
+
chartColor = _useSettings.chartColor,
|
|
21
|
+
chartFontColor = _useSettings.chartFontColor;
|
|
22
|
+
return {
|
|
23
|
+
color: chartColor,
|
|
24
|
+
grid: {
|
|
25
|
+
top: 20,
|
|
26
|
+
left: 40,
|
|
27
|
+
bottom: 20,
|
|
28
|
+
right: 20
|
|
29
|
+
},
|
|
30
|
+
tooltip: {
|
|
31
|
+
trigger: 'axis'
|
|
32
|
+
},
|
|
33
|
+
xAxis: {
|
|
34
|
+
type: 'category',
|
|
35
|
+
data: _lodash["default"].map(data, 'labelName'),
|
|
36
|
+
nameTextStyle: {
|
|
37
|
+
color: chartFontColor
|
|
38
|
+
},
|
|
39
|
+
axisLabel: {
|
|
40
|
+
color: chartFontColor
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
yAxis: {
|
|
44
|
+
type: 'value',
|
|
45
|
+
nameTextStyle: {
|
|
46
|
+
color: chartFontColor
|
|
47
|
+
},
|
|
48
|
+
axisLabel: {
|
|
49
|
+
color: chartFontColor
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
series: [{
|
|
53
|
+
data: _lodash["default"].map(data, 'labelValue'),
|
|
54
|
+
type: 'line'
|
|
55
|
+
}]
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
var AlarmTrend = function AlarmTrend(_ref) {
|
|
59
|
+
var startDate = _ref.startDate,
|
|
60
|
+
endDate = _ref.endDate;
|
|
61
|
+
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
62
|
+
id = _useContext.id;
|
|
63
|
+
var data = _api.AlarmService.alarmTrend({
|
|
64
|
+
id: id,
|
|
65
|
+
startDate: startDate,
|
|
66
|
+
endDate: endDate
|
|
67
|
+
});
|
|
68
|
+
return /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
69
|
+
option: getOption(data),
|
|
70
|
+
style: {
|
|
71
|
+
width: '100%',
|
|
72
|
+
height: '100%'
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
var _default = AlarmTrend;
|
|
77
|
+
exports["default"] = _default;
|
|
78
|
+
//# sourceMappingURL=AlarmTrend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlarmTrend.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_index","_api","_lodash","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","data","_useSettings","useSettings","chartColor","chartFontColor","color","grid","top","left","bottom","right","tooltip","trigger","xAxis","type","_","map","nameTextStyle","axisLabel","yAxis","series","AlarmTrend","_ref","startDate","endDate","_useContext","useContext","RestaurantContext","id","AlarmService","alarmTrend","React","createElement","ReactEcharts","option","style","width","height","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/AlarmTrend.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { RestaurantContext } from '../../index';\nimport { AlarmService } from '../../api';\nimport './index.less';\nimport _ from 'lodash';\nimport useSettings from '../../../vm-hooks/useSettings';\nconst getOption = (data) => {\n const { chartColor, chartFontColor } = useSettings();\n return {\n color: chartColor,\n grid: {\n top: 20,\n left: 40,\n bottom: 20,\n right: 20,\n },\n tooltip: {\n trigger: 'axis',\n },\n xAxis: {\n type: 'category',\n data: _.map(data, 'labelName'),\n nameTextStyle: {\n color: chartFontColor,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n yAxis: {\n type: 'value',\n nameTextStyle: {\n color: chartFontColor,\n },\n axisLabel: {\n color: chartFontColor,\n },\n },\n series: [\n {\n data: _.map(data, 'labelValue'),\n type: 'line',\n },\n ],\n };\n};\nconst AlarmTrend = ({ startDate, endDate }) => {\n const { id } = useContext(RestaurantContext);\n const data = AlarmService.alarmTrend({\n id,\n startDate,\n endDate,\n });\n return React.createElement(ReactEcharts, { option: getOption(data), style: { width: '100%', height: '100%' } });\n};\nexport default AlarmTrend;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAAwD,SAAAE,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,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;IAAO;EAAE,CAAC,CAAC;AACnH,CAAC;AAAC,IAAAC,QAAA,GACajB,UAAU;AAAAkB,OAAA,cAAAD,QAAA"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
10
|
+
var _index = require("../../index");
|
|
11
|
+
var _api = require("../../api");
|
|
12
|
+
require("./index.less");
|
|
13
|
+
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
var getOption = function getOption(data) {
|
|
18
|
+
var _useSettings = (0, _useSettings2["default"])(),
|
|
19
|
+
chartColor = _useSettings.chartColor,
|
|
20
|
+
chartFontColor = _useSettings.chartFontColor;
|
|
21
|
+
var total = 0;
|
|
22
|
+
var arr = data.map(function (item) {
|
|
23
|
+
total += item.labelValue;
|
|
24
|
+
return {
|
|
25
|
+
name: item.labelName,
|
|
26
|
+
value: item.labelValue
|
|
27
|
+
};
|
|
28
|
+
});
|
|
29
|
+
return {
|
|
30
|
+
color: chartColor,
|
|
31
|
+
title: {
|
|
32
|
+
text: "{a|\u603B\u6B21\u6570}\n".concat(total, "{a|\u6B21}"),
|
|
33
|
+
left: 'center',
|
|
34
|
+
top: 'center',
|
|
35
|
+
textStyle: {
|
|
36
|
+
color: chartFontColor,
|
|
37
|
+
rich: {
|
|
38
|
+
a: {
|
|
39
|
+
fontSize: 12
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
tooltip: {
|
|
45
|
+
trigger: 'item'
|
|
46
|
+
},
|
|
47
|
+
legend: {
|
|
48
|
+
top: 'center',
|
|
49
|
+
right: '5%',
|
|
50
|
+
orient: 'vertical',
|
|
51
|
+
textStyle: {
|
|
52
|
+
color: chartFontColor
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
series: [{
|
|
56
|
+
name: '报警次数类型占比',
|
|
57
|
+
type: 'pie',
|
|
58
|
+
center: ['50%', '50%'],
|
|
59
|
+
radius: ['70%', '90%'],
|
|
60
|
+
avoidLabelOverlap: false,
|
|
61
|
+
label: {
|
|
62
|
+
show: false,
|
|
63
|
+
position: 'center'
|
|
64
|
+
},
|
|
65
|
+
labelLine: {
|
|
66
|
+
show: false
|
|
67
|
+
},
|
|
68
|
+
data: arr
|
|
69
|
+
}]
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
var AlarmTypeAnalysis = function AlarmTypeAnalysis(_ref) {
|
|
73
|
+
var startDate = _ref.startDate,
|
|
74
|
+
endDate = _ref.endDate;
|
|
75
|
+
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
76
|
+
id = _useContext.id;
|
|
77
|
+
var data = _api.AlarmService.typeAnalysis({
|
|
78
|
+
id: id,
|
|
79
|
+
startDate: startDate,
|
|
80
|
+
endDate: endDate
|
|
81
|
+
});
|
|
82
|
+
return /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
83
|
+
option: getOption(data),
|
|
84
|
+
style: {
|
|
85
|
+
width: '100%',
|
|
86
|
+
height: '100%'
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
var _default = AlarmTypeAnalysis;
|
|
91
|
+
exports["default"] = _default;
|
|
92
|
+
//# sourceMappingURL=AlarmTypeAnalysis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlarmTypeAnalysis.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_index","_api","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","data","_useSettings","useSettings","chartColor","chartFontColor","total","arr","map","item","labelValue","name","labelName","value","color","title","text","concat","left","top","textStyle","rich","a","fontSize","tooltip","trigger","legend","right","orient","series","type","center","radius","avoidLabelOverlap","label","show","position","labelLine","AlarmTypeAnalysis","_ref","startDate","endDate","_useContext","useContext","RestaurantContext","id","AlarmService","typeAnalysis","React","createElement","ReactEcharts","option","style","width","height","_default","exports"],"sources":["vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { RestaurantContext } from '../../index';\nimport { AlarmService } from '../../api';\nimport './index.less';\nimport useSettings from '../../../vm-hooks/useSettings';\nconst getOption = (data) => {\n const { chartColor, chartFontColor } = useSettings();\n let total = 0;\n const arr = data.map(item => {\n total += item.labelValue;\n return {\n name: item.labelName,\n value: item.labelValue,\n };\n });\n return {\n color: chartColor,\n title: {\n text: `{a|总次数}\\n${total}{a|次}`,\n left: 'center',\n top: 'center',\n textStyle: {\n color: chartFontColor,\n rich: {\n a: {\n fontSize: 12,\n },\n },\n },\n },\n tooltip: {\n trigger: 'item',\n },\n legend: {\n top: 'center',\n right: '5%',\n orient: 'vertical',\n textStyle: {\n color: chartFontColor,\n }\n },\n series: [\n {\n name: '报警次数类型占比',\n type: 'pie',\n center: ['50%', '50%'],\n radius: ['70%', '90%'],\n avoidLabelOverlap: false,\n label: {\n show: false,\n position: 'center',\n },\n labelLine: {\n show: false,\n },\n data: arr,\n },\n ],\n };\n};\nconst AlarmTypeAnalysis = ({ startDate, endDate }) => {\n const { id } = useContext(RestaurantContext);\n const data = AlarmService.typeAnalysis({\n id,\n startDate,\n endDate,\n });\n return React.createElement(ReactEcharts, { option: getOption(data), style: { width: '100%', height: '100%' } });\n};\nexport default AlarmTypeAnalysis;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AACA,IAAAK,aAAA,GAAAH,sBAAA,CAAAF,OAAA;AAAwD,SAAAE,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gB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GAAe,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAApCC,EAAE,GAAAH,WAAA,CAAFG,EAAE;EACV,IAAM5C,IAAI,GAAG6C,iBAAY,CAACC,YAAY,CAAC;IACnCF,EAAE,EAAFA,EAAE;IACFL,SAAS,EAATA,SAAS;IACTC,OAAO,EAAPA;EACJ,CAAC,CAAC;EACF,oBAAOO,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEC,MAAM,EAAEnD,SAAS,CAACC,IAAI,CAAC;IAAEmD,KAAK,EAAE;MAAEC,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnH,CAAC;AAAC,IAAAC,QAAA,GACajB,iBAAiB;AAAAkB,OAAA,cAAAD,QAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.restaurant-alarm {
|
|
2
|
+
display: -webkit-box;
|
|
3
|
+
display: -ms-flexbox;
|
|
4
|
+
display: flex;
|
|
5
|
+
-webkit-box-orient: vertical;
|
|
6
|
+
-webkit-box-direction: normal;
|
|
7
|
+
-ms-flex-direction: column;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 10px;
|
|
10
|
+
height: 600px;
|
|
11
|
+
padding: 6px 10px;
|
|
12
|
+
}
|
|
13
|
+
.restaurant-alarm-search {
|
|
14
|
+
padding: 10px 20px;
|
|
15
|
+
background: var(--bg-color2);
|
|
16
|
+
}
|
|
17
|
+
.restaurant-alarm-charts {
|
|
18
|
+
height: 200px;
|
|
19
|
+
display: -webkit-box;
|
|
20
|
+
display: -ms-flexbox;
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: 10px;
|
|
23
|
+
}
|
|
24
|
+
.restaurant-alarm-charts--chart {
|
|
25
|
+
height: 100%;
|
|
26
|
+
padding: 20px;
|
|
27
|
+
-webkit-box-flex: 1;
|
|
28
|
+
-ms-flex: 1;
|
|
29
|
+
flex: 1;
|
|
30
|
+
display: -webkit-box;
|
|
31
|
+
display: -ms-flexbox;
|
|
32
|
+
display: flex;
|
|
33
|
+
-webkit-box-orient: vertical;
|
|
34
|
+
-webkit-box-direction: normal;
|
|
35
|
+
-ms-flex-direction: column;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
background: var(--bg-color2);
|
|
38
|
+
}
|
|
39
|
+
.restaurant-alarm-list {
|
|
40
|
+
padding: 20px;
|
|
41
|
+
-webkit-box-flex: 1;
|
|
42
|
+
-ms-flex: 1;
|
|
43
|
+
flex: 1;
|
|
44
|
+
background: var(--bg-color2);
|
|
45
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _moment = _interopRequireDefault(require("moment"));
|
|
10
|
+
var _vmSubTitle = _interopRequireDefault(require("../../../vm-sub-title"));
|
|
11
|
+
var _vmFilter = require("../../../vm-filter");
|
|
12
|
+
var _AlarmRecord = _interopRequireDefault(require("./AlarmRecord"));
|
|
13
|
+
var _AlarmTrend = _interopRequireDefault(require("./AlarmTrend"));
|
|
14
|
+
var _AlarmTypeAnalysis = _interopRequireDefault(require("./AlarmTypeAnalysis"));
|
|
15
|
+
var _index = require("../../index");
|
|
16
|
+
require("./index.less");
|
|
17
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
18
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
21
|
+
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."); }
|
|
22
|
+
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); }
|
|
23
|
+
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; }
|
|
24
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
25
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
|
+
var Alarm = function Alarm() {
|
|
27
|
+
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
28
|
+
prefix = _useContext.prefix;
|
|
29
|
+
// 日期范围
|
|
30
|
+
var _useState = (0, _react.useState)([(0, _moment["default"])().subtract(30, 'day'), (0, _moment["default"])()]),
|
|
31
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
32
|
+
times = _useState2[0],
|
|
33
|
+
setTimes = _useState2[1];
|
|
34
|
+
var onDateChange = function onDateChange(date) {
|
|
35
|
+
setTimes(date);
|
|
36
|
+
};
|
|
37
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
38
|
+
className: "".concat(prefix, "-alarm")
|
|
39
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
40
|
+
className: "".concat(prefix, "-alarm-search")
|
|
41
|
+
}, /*#__PURE__*/_react["default"].createElement(_vmFilter.VMRangePicker, {
|
|
42
|
+
value: times,
|
|
43
|
+
onChange: onDateChange,
|
|
44
|
+
style: {
|
|
45
|
+
marginRight: 10
|
|
46
|
+
}
|
|
47
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
48
|
+
className: "".concat(prefix, "-alarm-charts")
|
|
49
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
50
|
+
className: "".concat(prefix, "-alarm-charts--chart")
|
|
51
|
+
}, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
|
|
52
|
+
title: "\u62A5\u8B66\u6B21\u6570\u7C7B\u578B\u5360\u6BD4"
|
|
53
|
+
}), /*#__PURE__*/_react["default"].createElement(_AlarmTypeAnalysis["default"], {
|
|
54
|
+
startDate: times[0].format('YYYY-MM-DD'),
|
|
55
|
+
endDate: times[1].format('YYYY-MM-DD')
|
|
56
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
+
className: "".concat(prefix, "-alarm-charts--chart")
|
|
58
|
+
}, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
|
|
59
|
+
title: "\u62A5\u8B66\u6B21\u6570\u8D8B\u52BF\u5206\u6790"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement(_AlarmTrend["default"], {
|
|
61
|
+
startDate: times[0].format('YYYY-MM-DD'),
|
|
62
|
+
endDate: times[1].format('YYYY-MM-DD')
|
|
63
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
64
|
+
className: "".concat(prefix, "-alarm-list")
|
|
65
|
+
}, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
|
|
66
|
+
title: "\u62A5\u8B66\u8BB0\u5F55\u660E\u7EC6"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement(_AlarmRecord["default"], {
|
|
68
|
+
startDate: times[0].format('YYYY-MM-DD 00:00:00'),
|
|
69
|
+
endDate: times[1].format('YYYY-MM-DD 23:59:59')
|
|
70
|
+
})));
|
|
71
|
+
};
|
|
72
|
+
var _default = Alarm;
|
|
73
|
+
exports["default"] = _default;
|
|
74
|
+
//# sourceMappingURL=index.js.map
|