@vtx/modals2 2.10.20 → 2.10.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +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.js +16 -0
- package/lib/style/index.js.map +1 -0
- package/lib/typings.d.ts +14 -0
- package/lib/util/index.js +25 -0
- package/lib/util/index.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmRecord.js +83 -0
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +99 -0
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmTrend.js +203 -0
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -0
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +35 -0
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -0
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +87 -0
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -0
- package/lib/vm-alarm-info/api.js +169 -0
- package/lib/vm-alarm-info/api.js.map +1 -0
- package/lib/vm-alarm-info/index.js +95 -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.js +4 -0
- package/lib/vm-alarm-info/style/index.js.map +1 -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 +212 -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.js +4 -0
- package/lib/vm-alarm-situation/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-alarm-situation-pt/style/index.js.map +1 -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 +368 -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.js +4 -0
- package/lib/vm-analysis-comparison/style/index.js.map +1 -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 +57 -0
- package/lib/vm-appraisal-info/List.js.map +1 -0
- package/lib/vm-appraisal-info/ListKh.js +154 -0
- package/lib/vm-appraisal-info/ListKh.js.map +1 -0
- package/lib/vm-appraisal-info/ListZg.js +159 -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/index.js +133 -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.js +4 -0
- package/lib/vm-appraisal-info/style/index.js.map +1 -0
- package/lib/vm-base-list/OpenArrow.js +42 -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.js +4 -0
- package/lib/vm-base-list/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-button/style/index.js.map +1 -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.js +42 -0
- package/lib/vm-charts/index.js.map +1 -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.js +4 -0
- package/lib/vm-checkbox/style/index.js.map +1 -0
- package/lib/vm-common-components/common/index.js +28 -0
- package/lib/vm-common-components/common/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-modal/index.js +35 -0
- package/lib/vm-common-components/common/vm-modal/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-modal/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-modal/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-modal/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-modal/style/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-select/index.js +22 -0
- package/lib/vm-common-components/common/vm-select/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-select/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-select/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-select/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-select/style/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-tabs/index.js +75 -0
- package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-tabs/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-tabs/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-tabs/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-tabs/style/index.js.map +1 -0
- package/lib/vm-common-components/components/Compare/index.js +52 -0
- package/lib/vm-common-components/components/Compare/index.js.map +1 -0
- package/lib/vm-common-components/components/Compare/style/css.js +4 -0
- package/lib/vm-common-components/components/Compare/style/css.js.map +1 -0
- package/lib/vm-common-components/components/Compare/style/index.js +4 -0
- package/lib/vm-common-components/components/Compare/style/index.js.map +1 -0
- package/lib/vm-common-components/components/ImagesGroup/index.js +30 -0
- package/lib/vm-common-components/components/ImagesGroup/index.js.map +1 -0
- package/lib/vm-common-components/components/ImagesGroup/style/css.js +4 -0
- package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +1 -0
- package/lib/vm-common-components/components/ImagesGroup/style/index.js +4 -0
- package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +1 -0
- package/lib/vm-common-components/components/RadionButton/index.js +44 -0
- package/lib/vm-common-components/components/RadionButton/index.js.map +1 -0
- package/lib/vm-common-components/components/RadionButton/style/css.js +4 -0
- package/lib/vm-common-components/components/RadionButton/style/css.js.map +1 -0
- package/lib/vm-common-components/components/RadionButton/style/index.js +4 -0
- package/lib/vm-common-components/components/RadionButton/style/index.js.map +1 -0
- package/lib/vm-common-components/components/Statistics/index.js +177 -0
- package/lib/vm-common-components/components/Statistics/index.js.map +1 -0
- package/lib/vm-common-components/components/Statistics/style/css.js +4 -0
- package/lib/vm-common-components/components/Statistics/style/css.js.map +1 -0
- package/lib/vm-common-components/components/Statistics/style/index.js +4 -0
- package/lib/vm-common-components/components/Statistics/style/index.js.map +1 -0
- package/lib/vm-common-components/components/SubTitle/index.js +61 -0
- package/lib/vm-common-components/components/SubTitle/index.js.map +1 -0
- package/lib/vm-common-components/components/SubTitle/style/css.js +2 -0
- package/lib/vm-common-components/components/SubTitle/style/css.js.map +1 -0
- package/lib/vm-common-components/components/SubTitle/style/index.js +2 -0
- package/lib/vm-common-components/components/SubTitle/style/index.js.map +1 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js +44 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -0
- package/lib/vm-common-components/components/index.js +86 -0
- package/lib/vm-common-components/components/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-alarm-title/index.js +31 -0
- package/lib/vm-common-components/components/vm-alarm-title/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-chart/index.js +389 -0
- package/lib/vm-common-components/components/vm-chart/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/api.js +35 -0
- package/lib/vm-common-components/components/vm-collect/api.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/index.js +66 -0
- package/lib/vm-common-components/components/vm-collect/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-collect/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-collect/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-container/index.js +48 -0
- package/lib/vm-common-components/components/vm-container/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-container/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-container/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-container/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-container/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-nodata/index.js +73 -0
- package/lib/vm-common-components/components/vm-nodata/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-nodata/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-nodata/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-nodata/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-nodata/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-water-wave/index.js +161 -0
- package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -0
- package/lib/vm-common-components/index.js +331 -0
- package/lib/vm-common-components/index.js.map +1 -0
- package/lib/vm-common-components/style/css.js +4 -0
- package/lib/vm-common-components/style/css.js.map +1 -0
- package/lib/vm-common-components/style/index.js +4 -0
- package/lib/vm-common-components/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-container/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-correlation-comparison/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-empty/style/index.js.map +1 -0
- package/lib/vm-filter/index.js +182 -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.js +4 -0
- package/lib/vm-filter/style/index.js.map +1 -0
- package/lib/vm-hooks/useSettings.js +31 -0
- package/lib/vm-hooks/useSettings.js.map +1 -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.js +4 -0
- package/lib/vm-image-text/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-info-collection/style/index.js.map +1 -0
- package/lib/vm-map/index.js +209 -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.js +4 -0
- package/lib/vm-modal-table/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-radio/style/index.js.map +1 -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 +366 -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.js +4 -0
- package/lib/vm-real-time-monitor/style/index.js.map +1 -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 +151 -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/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.js +4 -0
- package/lib/vm-repair-maintain/style/index.js.map +1 -0
- package/lib/vm-round-content/index.js +68 -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.js +4 -0
- package/lib/vm-round-content/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-row-col/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-select-device/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-sub-tabs/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-sub-title/style/index.js.map +1 -0
- package/lib/vm-table/index.js +200 -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.js +4 -0
- package/lib/vm-table/style/index.js.map +1 -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.js +4 -0
- package/lib/vm-time-line/style/index.js.map +1 -0
- package/lib/vm-video/api.js +30 -0
- package/lib/vm-video/api.js.map +1 -0
- package/lib/vm-video/index.js +37 -0
- package/lib/vm-video/index.js.map +1 -0
- package/lib/vtx-base-modal/api.js +35 -0
- package/lib/vtx-base-modal/api.js.map +1 -0
- package/lib/vtx-base-modal/index.js +210 -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.js +4 -0
- package/lib/vtx-base-modal/style/index.js.map +1 -0
- package/lib/vtx-base-modal-hz/index.js +40 -0
- package/lib/vtx-base-modal-hz/index.js.map +1 -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 +186 -0
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +139 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -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.js +231 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -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/OilConsumption/List.js +88 -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.js +140 -0
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -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.js +99 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +118 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -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.js +35 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -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/index.js +128 -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.js +12 -0
- package/lib/vtx-car-modal/style/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/api.js +308 -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.js +35 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -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.js +67 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -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.js +35 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -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/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.js +84 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -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.js +5 -0
- package/lib/vtx-cc-cp-modal/style/index.js.map +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 +336 -0
- package/lib/vtx-cp-modal/api.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +170 -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 +164 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -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/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 +52 -0
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +123 -0
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +88 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +196 -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 +164 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -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/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.js +345 -0
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -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/index.js +107 -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.js +5 -0
- package/lib/vtx-cp-modal/style/index.js.map +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.js +53 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -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 +89 -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.js +5 -0
- package/lib/vtx-default-modal/style/index.js.map +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 +83 -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/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.js +4 -0
- package/lib/vtx-device-modal/style/index.js.map +1 -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 +118 -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.js +134 -0
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -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 +110 -0
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/index.js +174 -0
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +112 -0
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +106 -0
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.js +89 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -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/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.js +7 -0
- package/lib/vtx-df-modal/style/index.js.map +1 -0
- package/lib/vtx-facility-modal/api.js +123 -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.js +285 -0
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -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/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.js +5 -0
- package/lib/vtx-facility-modal/style/index.js.map +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 +539 -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.js +104 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -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.js +41 -0
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -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/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/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.js +104 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -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.js +142 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -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/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.js +7 -0
- package/lib/vtx-housing-estate-modal/style/index.js.map +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-hz-facility-modal/api.js +776 -0
- package/lib/vtx-hz-facility-modal/api.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +234 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +25 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +272 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +279 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +386 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +27 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +402 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +270 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +97 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/index.js +21 -0
- package/lib/vtx-hz-facility-modal/components/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/index.js +87 -0
- package/lib/vtx-hz-facility-modal/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/style/index.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.js +93 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -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 +92 -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.js +5 -0
- package/lib/vtx-kh-modal/style/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/api.js +152 -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.js +74 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +60 -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 +67 -0
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -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/Collection/index.js +64 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -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/index.js +57 -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.js +5 -0
- package/lib/vtx-restaurant-modal/style/index.js.map +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 +83 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -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/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.js +183 -0
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -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/index.js +89 -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.js +6 -0
- package/lib/vtx-road-modal/style/index.js.map +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 +122 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +106 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -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 +152 -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.js +52 -0
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -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.js +211 -0
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -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/index.js +35 -0
- package/lib/vtx-staff-modal/components/index.js.map +1 -0
- package/lib/vtx-staff-modal/index.js +78 -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.js +8 -0
- package/lib/vtx-staff-modal/style/index.js.map +1 -0
- package/lib/vtx-theme-provider/index.js +21 -0
- package/lib/vtx-theme-provider/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/api.js +531 -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.js +104 -0
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -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.js +39 -0
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -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.js +334 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -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/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.js +90 -0
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -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.js +128 -0
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -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/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.js +7 -0
- package/lib/vtx-throw-point-modal/style/index.js.map +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 +249 -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 +163 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -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/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 +39 -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.js +330 -0
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +101 -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 +141 -0
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.js +47 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +156 -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.js +28 -0
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/index.js +35 -0
- package/lib/vtx-wr-modal/components/index.js.map +1 -0
- package/lib/vtx-wr-modal/index.js +101 -0
- package/lib/vtx-wr-modal/index.js.map +1 -0
- package/lib/vtx-wr-modal/style/css.js +8 -0
- package/lib/vtx-wr-modal/style/css.js.map +1 -0
- package/lib/vtx-wr-modal/style/index.js +8 -0
- package/lib/vtx-wr-modal/style/index.js.map +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.js +178 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -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 +95 -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.js +5 -0
- package/lib/vtx-zg-modal/style/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,776 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getDetectData = exports.facilityService = exports.Service = void 0;
|
|
7
|
+
var _tslib = require("tslib");
|
|
8
|
+
var _utils = require("@vtx/utils");
|
|
9
|
+
var _ahooks = require("ahooks");
|
|
10
|
+
var _axios = _interopRequireDefault(require("axios"));
|
|
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 _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
14
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15
|
+
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); }
|
|
16
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
17
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
var _getUrlParam = (0, _utils.getUrlParam)(),
|
|
21
|
+
token = _getUrlParam.token;
|
|
22
|
+
var getDetectData = function getDetectData(current, size, id, reportType) {
|
|
23
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
24
|
+
var _a, _b, _c, _d, res;
|
|
25
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26
|
+
while (1) {
|
|
27
|
+
switch (_context.prev = _context.next) {
|
|
28
|
+
case 0:
|
|
29
|
+
_context.next = 2;
|
|
30
|
+
return _axios["default"].post('/cloud/zhsw-gsfw/api/manualDataEntry/page', {
|
|
31
|
+
current: current,
|
|
32
|
+
size: size,
|
|
33
|
+
facilityId: id,
|
|
34
|
+
reportType: reportType
|
|
35
|
+
}, {
|
|
36
|
+
headers: {
|
|
37
|
+
Authorization: token ? "Bearer ".concat(token) : '',
|
|
38
|
+
'Cache-Control': 'no-cache',
|
|
39
|
+
'content-type': 'application/json;charset=UTF-8'
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
case 2:
|
|
43
|
+
res = _context.sent;
|
|
44
|
+
return _context.abrupt("return", {
|
|
45
|
+
list: ((_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.records) || [],
|
|
46
|
+
total: ((_d = (_c = res === null || res === void 0 ? void 0 : res.data) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.total) || 0
|
|
47
|
+
});
|
|
48
|
+
case 4:
|
|
49
|
+
case "end":
|
|
50
|
+
return _context.stop();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}, _callee);
|
|
54
|
+
}));
|
|
55
|
+
};
|
|
56
|
+
//计算同比环比
|
|
57
|
+
exports.getDetectData = getDetectData;
|
|
58
|
+
var getValue = function getValue(n1, n2) {
|
|
59
|
+
//n1 同比 环比数 n2 当前数据
|
|
60
|
+
if (n1 == 0) {
|
|
61
|
+
return 0;
|
|
62
|
+
} else {
|
|
63
|
+
return parseFloat(String(n2 / n1 - 1)).toFixed(2);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
//日月年转换
|
|
67
|
+
var getTransformUnit = {
|
|
68
|
+
YEAR: '年',
|
|
69
|
+
MONYH: '月',
|
|
70
|
+
DAY: '日'
|
|
71
|
+
};
|
|
72
|
+
var Service = {
|
|
73
|
+
getTableData: function getTableData(_ref) {
|
|
74
|
+
var id = _ref.id,
|
|
75
|
+
publicUrlJCSS = _ref.publicUrlJCSS,
|
|
76
|
+
collectFrequency = _ref.collectFrequency,
|
|
77
|
+
startTime = _ref.startTime,
|
|
78
|
+
endTime = _ref.endTime;
|
|
79
|
+
return _utils.request.get("".concat(publicUrlJCSS, "/api/facility/hisDataByTime"), {
|
|
80
|
+
data: {
|
|
81
|
+
facilityId: id,
|
|
82
|
+
collectFrequency: collectFrequency,
|
|
83
|
+
startTime: startTime,
|
|
84
|
+
endTime: endTime
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
},
|
|
88
|
+
UseBaseInfo: function UseBaseInfo(_ref2) {
|
|
89
|
+
var id = _ref2.id;
|
|
90
|
+
var _a;
|
|
91
|
+
// 基本信息
|
|
92
|
+
var _useRequest = (0, _ahooks.useRequest)(function () {
|
|
93
|
+
return _utils.request.get('/cloud/zhsw-device/api/device/getById', {
|
|
94
|
+
body: {
|
|
95
|
+
id: id
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}, {
|
|
99
|
+
refreshDeps: [id]
|
|
100
|
+
}),
|
|
101
|
+
baseInfoRes = _useRequest.data;
|
|
102
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
103
|
+
if ((_a = info === null || info === void 0 ? void 0 : info.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
|
|
104
|
+
var monitorItems = info.monitorItems.map(function (item) {
|
|
105
|
+
return item.value;
|
|
106
|
+
});
|
|
107
|
+
info.monitorItemsName = monitorItems.join(',');
|
|
108
|
+
}
|
|
109
|
+
var baseInfo = [{
|
|
110
|
+
label: '设备编码',
|
|
111
|
+
key: 'code',
|
|
112
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
113
|
+
}, {
|
|
114
|
+
label: '设备名称',
|
|
115
|
+
key: 'name',
|
|
116
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
117
|
+
}, {
|
|
118
|
+
label: '设备类型',
|
|
119
|
+
key: 'deviceTypeName',
|
|
120
|
+
value: info === null || info === void 0 ? void 0 : info.deviceTypeName
|
|
121
|
+
}, {
|
|
122
|
+
label: '设备型号',
|
|
123
|
+
key: 'modelName',
|
|
124
|
+
value: info === null || info === void 0 ? void 0 : info.modelName
|
|
125
|
+
}, {
|
|
126
|
+
label: '设备厂家',
|
|
127
|
+
key: 'factoryName',
|
|
128
|
+
value: info === null || info === void 0 ? void 0 : info.factoryName
|
|
129
|
+
}, {
|
|
130
|
+
label: '安装位置',
|
|
131
|
+
key: 'facilityName',
|
|
132
|
+
value: info === null || info === void 0 ? void 0 : info.facilityName
|
|
133
|
+
}, {
|
|
134
|
+
label: '设备ID',
|
|
135
|
+
key: 'iotId',
|
|
136
|
+
value: info === null || info === void 0 ? void 0 : info.iotId
|
|
137
|
+
}, {
|
|
138
|
+
label: '监测项目',
|
|
139
|
+
key: 'monitorItems',
|
|
140
|
+
value: info === null || info === void 0 ? void 0 : info.monitorItemsName
|
|
141
|
+
}, {
|
|
142
|
+
label: '资产编号',
|
|
143
|
+
key: 'assetNumber',
|
|
144
|
+
value: info === null || info === void 0 ? void 0 : info.assetNumber
|
|
145
|
+
}, {
|
|
146
|
+
label: '设备位号',
|
|
147
|
+
key: 'tagNumber',
|
|
148
|
+
value: info === null || info === void 0 ? void 0 : info.tagNumber
|
|
149
|
+
}, {
|
|
150
|
+
label: '性能参数',
|
|
151
|
+
key: 'performanceParameter',
|
|
152
|
+
value: info === null || info === void 0 ? void 0 : info.performanceParameter
|
|
153
|
+
}, {
|
|
154
|
+
label: '主要材质',
|
|
155
|
+
key: 'mainMaterial',
|
|
156
|
+
value: info === null || info === void 0 ? void 0 : info.mainMaterial
|
|
157
|
+
}, {
|
|
158
|
+
label: '出厂编号',
|
|
159
|
+
key: 'factoryNumber',
|
|
160
|
+
value: info === null || info === void 0 ? void 0 : info.factoryNumber
|
|
161
|
+
}, {
|
|
162
|
+
label: '出厂日期',
|
|
163
|
+
key: 'factoryDate',
|
|
164
|
+
value: info === null || info === void 0 ? void 0 : info.factoryDate
|
|
165
|
+
}, {
|
|
166
|
+
label: '设备供应商',
|
|
167
|
+
key: 'supplier',
|
|
168
|
+
value: info === null || info === void 0 ? void 0 : info.supplier
|
|
169
|
+
}, {
|
|
170
|
+
label: '启用时间',
|
|
171
|
+
key: 'enableDate',
|
|
172
|
+
value: info === null || info === void 0 ? void 0 : info.enableDate
|
|
173
|
+
}, {
|
|
174
|
+
label: '寿命周期',
|
|
175
|
+
key: 'expectServiceLifeUnit',
|
|
176
|
+
value: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit]
|
|
177
|
+
}, {
|
|
178
|
+
label: '预计使用寿命',
|
|
179
|
+
key: 'expectServiceLifeNumber',
|
|
180
|
+
value: info === null || info === void 0 ? void 0 : info.expectServiceLifeNumber
|
|
181
|
+
}, {
|
|
182
|
+
label: '所属单位',
|
|
183
|
+
key: 'manageUnitName',
|
|
184
|
+
value: info === null || info === void 0 ? void 0 : info.manageUnitName
|
|
185
|
+
}, {
|
|
186
|
+
label: '设备负责人',
|
|
187
|
+
key: 'responsiblePersonName',
|
|
188
|
+
value: info === null || info === void 0 ? void 0 : info.responsiblePersonName
|
|
189
|
+
}, {
|
|
190
|
+
label: '联系方式',
|
|
191
|
+
key: 'phone',
|
|
192
|
+
value: info === null || info === void 0 ? void 0 : info.phone
|
|
193
|
+
}];
|
|
194
|
+
return {
|
|
195
|
+
baseInfo: baseInfo,
|
|
196
|
+
info: Object.assign(Object.assign({}, info), {
|
|
197
|
+
expectServiceLifeUnitStr: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit],
|
|
198
|
+
expectServiceLifeUnit: (info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit) == 'MONYH' ? 'MONTH' : info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit
|
|
199
|
+
})
|
|
200
|
+
};
|
|
201
|
+
},
|
|
202
|
+
//实时信息
|
|
203
|
+
UseRealInfo: function UseRealInfo(_ref3) {
|
|
204
|
+
var code = _ref3.code;
|
|
205
|
+
var _a, _b;
|
|
206
|
+
var _useRequest2 = (0, _ahooks.useRequest)(function () {
|
|
207
|
+
return _utils.request.get('/cloud/zhsw-jcyj/api/dataQuery/getFactorInfoFromFacilityId', {
|
|
208
|
+
body: {
|
|
209
|
+
deviceCode: code
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
}, {
|
|
213
|
+
refreshDeps: [code]
|
|
214
|
+
}),
|
|
215
|
+
baseInfoReal = _useRequest2.data;
|
|
216
|
+
var realdata = baseInfoReal === null || baseInfoReal === void 0 ? void 0 : baseInfoReal.data;
|
|
217
|
+
var realInfo = (_b = (_a = realdata === null || realdata === void 0 ? void 0 : realdata[0]) === null || _a === void 0 ? void 0 : _a.factorValues) === null || _b === void 0 ? void 0 : _b.map(function (item) {
|
|
218
|
+
return {
|
|
219
|
+
label: item.name,
|
|
220
|
+
key: item.id,
|
|
221
|
+
value: item.value
|
|
222
|
+
};
|
|
223
|
+
});
|
|
224
|
+
return {
|
|
225
|
+
realInfo: realInfo
|
|
226
|
+
};
|
|
227
|
+
},
|
|
228
|
+
//运维概览状态统计
|
|
229
|
+
UseStatusInfo: function UseStatusInfo(_ref4) {
|
|
230
|
+
var id = _ref4.id;
|
|
231
|
+
var _a;
|
|
232
|
+
//运维概览
|
|
233
|
+
var _useRequest3 = (0, _ahooks.useRequest)(function () {
|
|
234
|
+
return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getTransferStatus', {
|
|
235
|
+
body: {
|
|
236
|
+
deviceId: id
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
}, {
|
|
240
|
+
refreshDeps: [id]
|
|
241
|
+
}),
|
|
242
|
+
baseInfoYwgl = _useRequest3.data;
|
|
243
|
+
var statusInfo = (_a = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
244
|
+
return {
|
|
245
|
+
label: item.statusName,
|
|
246
|
+
code: item.status,
|
|
247
|
+
value: item.total
|
|
248
|
+
};
|
|
249
|
+
});
|
|
250
|
+
return {
|
|
251
|
+
statusInfo: statusInfo
|
|
252
|
+
};
|
|
253
|
+
},
|
|
254
|
+
//运维概览
|
|
255
|
+
UseYwglInfo: function UseYwglInfo(_ref5) {
|
|
256
|
+
var code = _ref5.code;
|
|
257
|
+
//运维概览
|
|
258
|
+
var _useRequest4 = (0, _ahooks.useRequest)(function () {
|
|
259
|
+
return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getDeviceHisStatus', {
|
|
260
|
+
body: {
|
|
261
|
+
deviceCode: code
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
}, {
|
|
265
|
+
refreshDeps: [code]
|
|
266
|
+
}),
|
|
267
|
+
baseInfoYwgl = _useRequest4.data;
|
|
268
|
+
var deviceHisStatusInfo = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
|
|
269
|
+
return {
|
|
270
|
+
deviceHisStatusInfo: deviceHisStatusInfo
|
|
271
|
+
};
|
|
272
|
+
},
|
|
273
|
+
//运维概览table
|
|
274
|
+
UseYWGLTableInfo: function UseYWGLTableInfo(_ref6) {
|
|
275
|
+
var id = _ref6.id,
|
|
276
|
+
statusType = _ref6.statusType;
|
|
277
|
+
var _a, _b;
|
|
278
|
+
//运维概览
|
|
279
|
+
var _useRequest5 = (0, _ahooks.useRequest)(function () {
|
|
280
|
+
return _utils.request.post('/cloud/zhsw-device/api/deviceUpdateRecord/page', {
|
|
281
|
+
body: JSON.stringify({
|
|
282
|
+
deviceId: id,
|
|
283
|
+
statusType: statusType
|
|
284
|
+
})
|
|
285
|
+
});
|
|
286
|
+
}, {
|
|
287
|
+
refreshDeps: [id, statusType]
|
|
288
|
+
}),
|
|
289
|
+
baseInfoYwgl = _useRequest5.data;
|
|
290
|
+
var ywglTable = (_b = (_a = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b.map(function (item) {
|
|
291
|
+
return Object.assign(Object.assign(Object.assign({}, item), item.object), {
|
|
292
|
+
id: item.id,
|
|
293
|
+
key: item.id
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
return {
|
|
297
|
+
ywglTable: ywglTable
|
|
298
|
+
};
|
|
299
|
+
},
|
|
300
|
+
//报警概括
|
|
301
|
+
alarmInfo: function alarmInfo(_ref7) {
|
|
302
|
+
var id = _ref7.id,
|
|
303
|
+
timeType = _ref7.timeType,
|
|
304
|
+
startTimeLocalDate = _ref7.startTimeLocalDate,
|
|
305
|
+
endTimeLocalDate = _ref7.endTimeLocalDate;
|
|
306
|
+
var _useRequest6 = (0, _ahooks.useRequest)(function () {
|
|
307
|
+
return _utils.request.post('/cloud/zhsw-jcyj/api/alarmCenter/getDeviceAlarmStatistics', {
|
|
308
|
+
body: JSON.stringify({
|
|
309
|
+
deviceId: id,
|
|
310
|
+
timeType: timeType,
|
|
311
|
+
startTimeLocalDate: startTimeLocalDate,
|
|
312
|
+
endTimeLocalDate: endTimeLocalDate
|
|
313
|
+
})
|
|
314
|
+
});
|
|
315
|
+
}, {
|
|
316
|
+
refreshDeps: [id, timeType, startTimeLocalDate, endTimeLocalDate]
|
|
317
|
+
}),
|
|
318
|
+
alarmData = _useRequest6.data;
|
|
319
|
+
var alarmDataInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
|
|
320
|
+
var hb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.hbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
|
|
321
|
+
var tb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.tbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
|
|
322
|
+
var xAxis = []; //x轴
|
|
323
|
+
var tbArray = [];
|
|
324
|
+
var hbArray = [];
|
|
325
|
+
var factorArray = []; //监测数值
|
|
326
|
+
var failureArray = []; //故障
|
|
327
|
+
var offlineArray = []; //离线
|
|
328
|
+
alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.alarms.forEach(function (item) {
|
|
329
|
+
var ahb = getValue(item === null || item === void 0 ? void 0 : item.hbTotal, item === null || item === void 0 ? void 0 : item.factor);
|
|
330
|
+
var atb = getValue(item === null || item === void 0 ? void 0 : item.tbTotal, item === null || item === void 0 ? void 0 : item.factor);
|
|
331
|
+
xAxis = [].concat(_toConsumableArray(xAxis), [item.time]);
|
|
332
|
+
tbArray = [].concat(_toConsumableArray(tbArray), [ahb * 100]);
|
|
333
|
+
hbArray = [].concat(_toConsumableArray(hbArray), [atb * 100]);
|
|
334
|
+
factorArray = [].concat(_toConsumableArray(factorArray), [item.factor]);
|
|
335
|
+
failureArray = [].concat(_toConsumableArray(failureArray), [item.failure]);
|
|
336
|
+
offlineArray = [].concat(_toConsumableArray(offlineArray), [item.offline]);
|
|
337
|
+
});
|
|
338
|
+
return {
|
|
339
|
+
alarmDataInfo: Object.assign(Object.assign({}, alarmDataInfo), {
|
|
340
|
+
hb: hb,
|
|
341
|
+
tb: tb,
|
|
342
|
+
xAxis: xAxis,
|
|
343
|
+
tbArray: tbArray,
|
|
344
|
+
hbArray: hbArray,
|
|
345
|
+
factorArray: factorArray,
|
|
346
|
+
failureArray: failureArray,
|
|
347
|
+
offlineArray: offlineArray
|
|
348
|
+
})
|
|
349
|
+
};
|
|
350
|
+
},
|
|
351
|
+
UseDetectInfo: function UseDetectInfo(_ref8) {
|
|
352
|
+
var id = _ref8.id,
|
|
353
|
+
reportType = _ref8.reportType,
|
|
354
|
+
facilityType = _ref8.facilityType;
|
|
355
|
+
var _a, _b;
|
|
356
|
+
var _useRequest7 = (0, _ahooks.useRequest)(function () {
|
|
357
|
+
return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/statistics', {
|
|
358
|
+
body: JSON.stringify({
|
|
359
|
+
facilityId: id,
|
|
360
|
+
reportType: reportType,
|
|
361
|
+
facilityType: facilityType
|
|
362
|
+
})
|
|
363
|
+
});
|
|
364
|
+
}, {
|
|
365
|
+
refreshDeps: [id, reportType, facilityType]
|
|
366
|
+
}),
|
|
367
|
+
statistics = _useRequest7.data;
|
|
368
|
+
var _useRequest8 = (0, _ahooks.useRequest)(function () {
|
|
369
|
+
return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/list', {
|
|
370
|
+
body: JSON.stringify({
|
|
371
|
+
facilityId: id,
|
|
372
|
+
reportType: reportType,
|
|
373
|
+
facilityType: facilityType
|
|
374
|
+
})
|
|
375
|
+
});
|
|
376
|
+
}, {
|
|
377
|
+
refreshDeps: [id, reportType, facilityType]
|
|
378
|
+
}),
|
|
379
|
+
list = _useRequest8.data;
|
|
380
|
+
return {
|
|
381
|
+
statistics: ((_a = statistics === null || statistics === void 0 ? void 0 : statistics.data) === null || _a === void 0 ? void 0 : _a.data) || {},
|
|
382
|
+
list: ((_b = list === null || list === void 0 ? void 0 : list.data) === null || _b === void 0 ? void 0 : _b.data) || []
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
//设施接口
|
|
387
|
+
exports.Service = Service;
|
|
388
|
+
var facilityService = {
|
|
389
|
+
//水源地基础信息
|
|
390
|
+
UseWaterSourceBaseInfo: function UseWaterSourceBaseInfo(_ref9) {
|
|
391
|
+
var id = _ref9.id;
|
|
392
|
+
// 基本信息
|
|
393
|
+
var _useRequest9 = (0, _ahooks.useRequest)(function () {
|
|
394
|
+
return _utils.request.get('/cloud/zhsw-jcss/api/waterSource/getById', {
|
|
395
|
+
body: {
|
|
396
|
+
id: id
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
}, {
|
|
400
|
+
refreshDeps: [id]
|
|
401
|
+
}),
|
|
402
|
+
baseInfoRes = _useRequest9.data;
|
|
403
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
404
|
+
var baseInfo = [{
|
|
405
|
+
label: '水源地编码',
|
|
406
|
+
key: 'code',
|
|
407
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
408
|
+
}, {
|
|
409
|
+
label: '水源地名称',
|
|
410
|
+
key: 'name',
|
|
411
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
412
|
+
}, {
|
|
413
|
+
label: '总库容',
|
|
414
|
+
key: 'totalStorageCapacity',
|
|
415
|
+
value: info === null || info === void 0 ? void 0 : info.totalStorageCapacity
|
|
416
|
+
}, {
|
|
417
|
+
label: '供应水厂',
|
|
418
|
+
key: 'waterSupplyPlantsStr',
|
|
419
|
+
value: info === null || info === void 0 ? void 0 : info.waterSupplyPlantsStr
|
|
420
|
+
}, {
|
|
421
|
+
label: '水质等级',
|
|
422
|
+
key: 'qualityLevel',
|
|
423
|
+
value: info === null || info === void 0 ? void 0 : info.qualityLevel
|
|
424
|
+
}, {
|
|
425
|
+
label: '地址',
|
|
426
|
+
key: 'address',
|
|
427
|
+
value: info === null || info === void 0 ? void 0 : info.address
|
|
428
|
+
}, {
|
|
429
|
+
label: '管理单位',
|
|
430
|
+
key: 'orgName',
|
|
431
|
+
value: info === null || info === void 0 ? void 0 : info.orgName
|
|
432
|
+
}, {
|
|
433
|
+
label: '责任人',
|
|
434
|
+
key: 'dutyUserName',
|
|
435
|
+
value: info === null || info === void 0 ? void 0 : info.dutyUserName
|
|
436
|
+
}];
|
|
437
|
+
return {
|
|
438
|
+
baseInfo: baseInfo,
|
|
439
|
+
info: info
|
|
440
|
+
};
|
|
441
|
+
},
|
|
442
|
+
//供水厂
|
|
443
|
+
UseWaterSupplyPlantBaseInfo: function UseWaterSupplyPlantBaseInfo(_ref10) {
|
|
444
|
+
var id = _ref10.id;
|
|
445
|
+
var _a;
|
|
446
|
+
// 基本信息
|
|
447
|
+
var _useRequest10 = (0, _ahooks.useRequest)(function () {
|
|
448
|
+
return _utils.request.get('/cloud/zhsw-jcss/api/waterSupplyPlant/getById', {
|
|
449
|
+
body: {
|
|
450
|
+
id: id
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
}, {
|
|
454
|
+
refreshDeps: [id]
|
|
455
|
+
}),
|
|
456
|
+
baseInfoRes = _useRequest10.data;
|
|
457
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
458
|
+
var baseInfo = [{
|
|
459
|
+
label: '编码',
|
|
460
|
+
key: 'code',
|
|
461
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
462
|
+
}, {
|
|
463
|
+
label: '供水厂名称',
|
|
464
|
+
key: 'name',
|
|
465
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
466
|
+
}, {
|
|
467
|
+
label: '计划日供水能力(万吨/天)',
|
|
468
|
+
key: 'supplyCapacity',
|
|
469
|
+
value: info === null || info === void 0 ? void 0 : info.supplyCapacity
|
|
470
|
+
}, {
|
|
471
|
+
label: '管理单位',
|
|
472
|
+
key: 'orgName',
|
|
473
|
+
value: info === null || info === void 0 ? void 0 : info.orgName
|
|
474
|
+
}, {
|
|
475
|
+
label: '责任人',
|
|
476
|
+
key: 'dutyPeopleName',
|
|
477
|
+
value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
|
|
478
|
+
}, {
|
|
479
|
+
label: '设施地址',
|
|
480
|
+
key: 'address',
|
|
481
|
+
value: info === null || info === void 0 ? void 0 : info.address
|
|
482
|
+
}, {
|
|
483
|
+
label: '行政区划',
|
|
484
|
+
key: 'divisionName',
|
|
485
|
+
value: info === null || info === void 0 ? void 0 : info.divisionName
|
|
486
|
+
}, {
|
|
487
|
+
label: '所属公司',
|
|
488
|
+
key: 'waterDivision',
|
|
489
|
+
value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
|
|
490
|
+
}, {
|
|
491
|
+
label: '水厂介绍',
|
|
492
|
+
key: 'introduce',
|
|
493
|
+
value: info === null || info === void 0 ? void 0 : info.introduce
|
|
494
|
+
}];
|
|
495
|
+
return {
|
|
496
|
+
baseInfo: baseInfo,
|
|
497
|
+
info: info
|
|
498
|
+
};
|
|
499
|
+
},
|
|
500
|
+
//污水厂
|
|
501
|
+
UseSewagePlantBaseInfo: function UseSewagePlantBaseInfo(_ref11) {
|
|
502
|
+
var id = _ref11.id;
|
|
503
|
+
var _a;
|
|
504
|
+
// 基本信息
|
|
505
|
+
var _useRequest11 = (0, _ahooks.useRequest)(function () {
|
|
506
|
+
return _utils.request.get('/cloud/zhsw-jcss/api/sewagePlant/getById', {
|
|
507
|
+
body: {
|
|
508
|
+
id: id
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
}, {
|
|
512
|
+
refreshDeps: [id]
|
|
513
|
+
}),
|
|
514
|
+
baseInfoRes = _useRequest11.data;
|
|
515
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
516
|
+
var baseInfo = [{
|
|
517
|
+
label: '编码',
|
|
518
|
+
key: 'code',
|
|
519
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
520
|
+
}, {
|
|
521
|
+
label: '污水厂名称',
|
|
522
|
+
key: 'name',
|
|
523
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
524
|
+
}, {
|
|
525
|
+
label: '关联管点',
|
|
526
|
+
key: 'pointId',
|
|
527
|
+
value: info === null || info === void 0 ? void 0 : info.pointId
|
|
528
|
+
}, {
|
|
529
|
+
label: '污水处理级别',
|
|
530
|
+
key: 'dealLevelStr',
|
|
531
|
+
value: info === null || info === void 0 ? void 0 : info.dealLevelStr
|
|
532
|
+
}, {
|
|
533
|
+
label: '污水处理工艺',
|
|
534
|
+
key: 'dealProcessStr',
|
|
535
|
+
value: info === null || info === void 0 ? void 0 : info.dealProcessStr
|
|
536
|
+
}, {
|
|
537
|
+
label: '日处理能力(万吨/天)',
|
|
538
|
+
key: 'supplyCapacity',
|
|
539
|
+
value: info === null || info === void 0 ? void 0 : info.supplyCapacity
|
|
540
|
+
}, {
|
|
541
|
+
label: '管理单位',
|
|
542
|
+
key: 'orgName',
|
|
543
|
+
value: info === null || info === void 0 ? void 0 : info.orgName
|
|
544
|
+
}, {
|
|
545
|
+
label: '责任人',
|
|
546
|
+
key: 'dutyPeopleName',
|
|
547
|
+
value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
|
|
548
|
+
}, {
|
|
549
|
+
label: '行政区划',
|
|
550
|
+
key: 'divisionName',
|
|
551
|
+
value: info === null || info === void 0 ? void 0 : info.divisionName
|
|
552
|
+
}, {
|
|
553
|
+
label: '所属公司',
|
|
554
|
+
key: 'waterDivision',
|
|
555
|
+
value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
|
|
556
|
+
}, {
|
|
557
|
+
label: '水厂介绍',
|
|
558
|
+
key: 'introduce',
|
|
559
|
+
value: info === null || info === void 0 ? void 0 : info.introduce
|
|
560
|
+
}];
|
|
561
|
+
return {
|
|
562
|
+
baseInfo: baseInfo,
|
|
563
|
+
info: info
|
|
564
|
+
};
|
|
565
|
+
},
|
|
566
|
+
//运维概览状态统计
|
|
567
|
+
UseStatusInfo: function UseStatusInfo(_ref12) {
|
|
568
|
+
var id = _ref12.id,
|
|
569
|
+
type = _ref12.type,
|
|
570
|
+
state = _ref12.state,
|
|
571
|
+
YWJLCurrent = _ref12.YWJLCurrent;
|
|
572
|
+
var _a, _b, _c;
|
|
573
|
+
//运维概览
|
|
574
|
+
var _useRequest12 = (0, _ahooks.useRequest)(function () {
|
|
575
|
+
return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/getTaskCountByFacilityId', {
|
|
576
|
+
body: {
|
|
577
|
+
facilityId: id
|
|
578
|
+
}
|
|
579
|
+
});
|
|
580
|
+
}, {
|
|
581
|
+
refreshDeps: [id]
|
|
582
|
+
}),
|
|
583
|
+
baseInfoYwgl = _useRequest12.data;
|
|
584
|
+
//table
|
|
585
|
+
var _useRequest13 = (0, _ahooks.useRequest)(function () {
|
|
586
|
+
return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/page', {
|
|
587
|
+
body: {
|
|
588
|
+
facilityId: id,
|
|
589
|
+
type: type,
|
|
590
|
+
state: state,
|
|
591
|
+
current: YWJLCurrent,
|
|
592
|
+
size: 10
|
|
593
|
+
}
|
|
594
|
+
});
|
|
595
|
+
}, {
|
|
596
|
+
refreshDeps: [id, type, state, YWJLCurrent]
|
|
597
|
+
}),
|
|
598
|
+
tableData = _useRequest13.data;
|
|
599
|
+
var d = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
|
|
600
|
+
var statusInfo = [];
|
|
601
|
+
var codeObj = {
|
|
602
|
+
任务总数: 'all',
|
|
603
|
+
循环任务: 'type-1',
|
|
604
|
+
指派任务: 'type-2',
|
|
605
|
+
超时完成: 'state-4',
|
|
606
|
+
待完成: 'state-1',
|
|
607
|
+
按时完成: 'state-3'
|
|
608
|
+
};
|
|
609
|
+
for (var p in codeObj) {
|
|
610
|
+
statusInfo.push({
|
|
611
|
+
label: p,
|
|
612
|
+
value: d === null || d === void 0 ? void 0 : d[p],
|
|
613
|
+
code: codeObj[p]
|
|
614
|
+
});
|
|
615
|
+
}
|
|
616
|
+
var ywglTable = (_b = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b.map(function (item) {
|
|
617
|
+
var _a;
|
|
618
|
+
return Object.assign(Object.assign(Object.assign({}, item), item.object), {
|
|
619
|
+
staffName: (_a = item === null || item === void 0 ? void 0 : item.staffList) === null || _a === void 0 ? void 0 : _a[0].staffName,
|
|
620
|
+
id: item.id,
|
|
621
|
+
key: item.id
|
|
622
|
+
});
|
|
623
|
+
});
|
|
624
|
+
return {
|
|
625
|
+
statusInfo: statusInfo,
|
|
626
|
+
ywglTable: ywglTable,
|
|
627
|
+
pages: (_c = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _c === void 0 ? void 0 : _c.pages
|
|
628
|
+
};
|
|
629
|
+
},
|
|
630
|
+
//关联设备
|
|
631
|
+
UseDeviceInfo: function UseDeviceInfo(_ref13) {
|
|
632
|
+
var id = _ref13.id,
|
|
633
|
+
deviceCurrent = _ref13.deviceCurrent;
|
|
634
|
+
var _a;
|
|
635
|
+
//运维概览
|
|
636
|
+
var _useRequest14 = (0, _ahooks.useRequest)(function () {
|
|
637
|
+
return _utils.request.post('/cloud/zhsw-device/api/device/page', {
|
|
638
|
+
body: JSON.stringify({
|
|
639
|
+
objectId: id,
|
|
640
|
+
current: deviceCurrent,
|
|
641
|
+
size: 10
|
|
642
|
+
})
|
|
643
|
+
});
|
|
644
|
+
}, {
|
|
645
|
+
refreshDeps: [id, deviceCurrent]
|
|
646
|
+
}),
|
|
647
|
+
deviceData = _useRequest14.data;
|
|
648
|
+
var deviceList = (_a = (deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.rows) || []) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
649
|
+
return Object.assign(Object.assign({}, item), {
|
|
650
|
+
id: item.id,
|
|
651
|
+
key: item.id
|
|
652
|
+
});
|
|
653
|
+
});
|
|
654
|
+
return {
|
|
655
|
+
deviceList: deviceList,
|
|
656
|
+
deviceTotal: deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.total
|
|
657
|
+
};
|
|
658
|
+
},
|
|
659
|
+
//设施报警
|
|
660
|
+
UseAlarmInfo: function UseAlarmInfo(_ref14) {
|
|
661
|
+
var id = _ref14.id,
|
|
662
|
+
timeType = _ref14.timeType,
|
|
663
|
+
startTime = _ref14.startTime,
|
|
664
|
+
endTime = _ref14.endTime;
|
|
665
|
+
//运维概览
|
|
666
|
+
var _useRequest15 = (0, _ahooks.useRequest)(function () {
|
|
667
|
+
return _utils.request.post('/cloud/zhsw-qxjc/api/netWorkCockpit/warningStatistics', {
|
|
668
|
+
body: JSON.stringify({
|
|
669
|
+
facilityId: id,
|
|
670
|
+
timeType: timeType,
|
|
671
|
+
startTime: startTime,
|
|
672
|
+
endTime: endTime
|
|
673
|
+
})
|
|
674
|
+
});
|
|
675
|
+
}, {
|
|
676
|
+
refreshDeps: [id, timeType, endTime]
|
|
677
|
+
}),
|
|
678
|
+
alarmData = _useRequest15.data;
|
|
679
|
+
var alarmInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
|
|
680
|
+
return {
|
|
681
|
+
alarmInfo: alarmInfo
|
|
682
|
+
};
|
|
683
|
+
},
|
|
684
|
+
//昨日供水量
|
|
685
|
+
UseDataValueInfo: function UseDataValueInfo(_ref15) {
|
|
686
|
+
var id = _ref15.id,
|
|
687
|
+
startTime = _ref15.startTime,
|
|
688
|
+
endTime = _ref15.endTime;
|
|
689
|
+
var _useRequest16 = (0, _ahooks.useRequest)(function () {
|
|
690
|
+
return _utils.request.get('/cloud/zhsw-jcyj/api/dataQuery/getDataValueTongHuanRate', {
|
|
691
|
+
body: {
|
|
692
|
+
facilityId: id,
|
|
693
|
+
collectFrequency: 'hour',
|
|
694
|
+
timeType: 1,
|
|
695
|
+
startTime: startTime,
|
|
696
|
+
endTime: endTime
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
}, {
|
|
700
|
+
refreshDeps: [id, startTime, endTime]
|
|
701
|
+
}),
|
|
702
|
+
dataValue = _useRequest16.data;
|
|
703
|
+
var waterData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
704
|
+
return {
|
|
705
|
+
waterData: waterData
|
|
706
|
+
};
|
|
707
|
+
},
|
|
708
|
+
//当前水质等级
|
|
709
|
+
UseWaterLevelInfo: function UseWaterLevelInfo(_ref16) {
|
|
710
|
+
var id = _ref16.id,
|
|
711
|
+
startTime = _ref16.startTime,
|
|
712
|
+
endTime = _ref16.endTime;
|
|
713
|
+
var _useRequest17 = (0, _ahooks.useRequest)(function () {
|
|
714
|
+
return _utils.request.get('/cloud/zhsw-gsfw/api/manualDataEntry/getByFacilityId', {
|
|
715
|
+
body: {
|
|
716
|
+
facilityId: id,
|
|
717
|
+
collectFrequency: 'hour',
|
|
718
|
+
timeType: 1,
|
|
719
|
+
startTime: startTime,
|
|
720
|
+
endTime: endTime
|
|
721
|
+
}
|
|
722
|
+
});
|
|
723
|
+
}, {
|
|
724
|
+
refreshDeps: [id, startTime, endTime]
|
|
725
|
+
}),
|
|
726
|
+
dataValue = _useRequest17.data;
|
|
727
|
+
var levelData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
728
|
+
return {
|
|
729
|
+
levelData: levelData
|
|
730
|
+
};
|
|
731
|
+
},
|
|
732
|
+
//运维概览
|
|
733
|
+
UseBusinessTypeDistribution: function UseBusinessTypeDistribution(_ref17) {
|
|
734
|
+
var id = _ref17.id,
|
|
735
|
+
startTime = _ref17.startTime,
|
|
736
|
+
endTime = _ref17.endTime,
|
|
737
|
+
facilityTypeCode = _ref17.facilityTypeCode;
|
|
738
|
+
var _useRequest18 = (0, _ahooks.useRequest)(function () {
|
|
739
|
+
return _utils.request.post('/cloud/zhsw-xcgl/api/patrolStatistics/businessTypeDistribution', {
|
|
740
|
+
body: JSON.stringify({
|
|
741
|
+
fromId: id,
|
|
742
|
+
facilityTypeCode: facilityTypeCode,
|
|
743
|
+
startTime: startTime,
|
|
744
|
+
endTime: endTime
|
|
745
|
+
})
|
|
746
|
+
});
|
|
747
|
+
}, {
|
|
748
|
+
refreshDeps: [id, startTime, endTime, facilityTypeCode]
|
|
749
|
+
}),
|
|
750
|
+
dataValue = _useRequest18.data;
|
|
751
|
+
var ywglData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
752
|
+
return {
|
|
753
|
+
ywglData: ywglData
|
|
754
|
+
};
|
|
755
|
+
},
|
|
756
|
+
UseFactorValues: function UseFactorValues(_ref18) {
|
|
757
|
+
var id = _ref18.id;
|
|
758
|
+
var _useRequest19 = (0, _ahooks.useRequest)(function () {
|
|
759
|
+
return _utils.request.get('/cloud/device/sdk/factor/realTime/factorValues', {
|
|
760
|
+
body: {
|
|
761
|
+
facilityId: id,
|
|
762
|
+
monitorItemCode: 'pressure'
|
|
763
|
+
}
|
|
764
|
+
});
|
|
765
|
+
}, {
|
|
766
|
+
refreshDeps: [id]
|
|
767
|
+
}),
|
|
768
|
+
dataValue = _useRequest19.data;
|
|
769
|
+
var factorValue = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
770
|
+
return {
|
|
771
|
+
factorValue: factorValue
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
};
|
|
775
|
+
exports.facilityService = facilityService;
|
|
776
|
+
//# sourceMappingURL=api.js.map
|