@vtx/modals2 2.10.39 → 2.10.41
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 +21 -0
- package/lib/index.js.map +1 -1
- package/lib/style/index.css +69 -0
- package/lib/style/index.less +1 -0
- package/lib/style/themes/dark.css +4 -0
- package/lib/style/themes/dark.less +2 -0
- package/lib/style/themes/default.css +2 -0
- package/lib/style/themes/default.less +3 -0
- package/lib/style/themes/index.css +4 -0
- package/lib/style/themesHZ/dark.css +65 -0
- package/lib/style/themesHZ/dark.less +70 -0
- package/lib/style/themesHZ/default.css +20 -0
- package/lib/style/themesHZ/default.less +24 -0
- package/lib/style/themesHZ/index.css +65 -0
- package/lib/style/themesHZ/index.less +1 -0
- package/lib/typings.d.ts +1 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js +22 -58
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +21 -87
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +36 -60
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +14 -90
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +2 -2
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.css +8 -4
- package/lib/vm-alarm-info/Components/index.less +5 -5
- package/lib/vm-alarm-info/api.js +17 -20
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +17 -15
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/index.less +11 -11
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/assets/downIcon.png +0 -0
- package/lib/vm-alarm-situation/assets/upIcon.png +0 -0
- package/lib/vm-alarm-situation/index.js +2 -2
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.less +1 -1
- package/lib/vm-alarm-situation-pt/assets/downIcon.png +0 -0
- package/lib/vm-alarm-situation-pt/assets/upIcon.png +0 -0
- package/lib/vm-alarm-situation-pt/index.js +2 -2
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.less +1 -1
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +2 -2
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.less +8 -8
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +1 -1
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +1 -1
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +1 -1
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +2 -2
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-base-list/OpenArrow.js +1 -1
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +8 -8
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/index.css +7 -7
- package/lib/vm-base-list/style/index.less +8 -8
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Line.js +5 -3
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Pie.js +2 -2
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/index.less +21 -21
- package/lib/vm-common-components/assets/levelBg.png +0 -0
- package/lib/vm-common-components/assets/timeBg.png +0 -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/assets/honeycomb.png +0 -0
- package/lib/vm-common-components/common/vm-modal/assets/titleBg.png +0 -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.css +94 -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-modal/style/index.less +108 -0
- package/lib/vm-common-components/common/vm-scrollable/index.js +51 -0
- package/lib/vm-common-components/common/vm-scrollable/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-scrollable/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-scrollable/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-scrollable/style/index.css +15 -0
- package/lib/vm-common-components/common/vm-scrollable/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-scrollable/style/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-scrollable/style/index.less +18 -0
- package/lib/vm-common-components/common/vm-scrollableRow/index.js +185 -0
- package/lib/vm-common-components/common/vm-scrollableRow/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-scrollableRow/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-scrollableRow/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.css +110 -0
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.less +113 -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.css +47 -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-select/style/index.less +51 -0
- package/lib/vm-common-components/common/vm-tabs/assets/honeycomb.png +0 -0
- package/lib/vm-common-components/common/vm-tabs/assets/titleBg.png +0 -0
- package/lib/vm-common-components/common/vm-tabs/index.js +80 -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.css +68 -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/common/vm-tabs/style/index.less +60 -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.css +40 -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/Compare/style/index.less +35 -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.css +11 -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/ImagesGroup/style/index.less +11 -0
- package/lib/vm-common-components/components/Portrait/LinePortrait.js +155 -0
- package/lib/vm-common-components/components/Portrait/LinePortrait.js.map +1 -0
- package/lib/vm-common-components/components/Portrait/PointPortrait.js +125 -0
- package/lib/vm-common-components/components/Portrait/PointPortrait.js.map +1 -0
- package/lib/vm-common-components/components/Portrait/api.js +92 -0
- package/lib/vm-common-components/components/Portrait/api.js.map +1 -0
- package/lib/vm-common-components/components/Portrait/imgs/dx.svg +6 -0
- package/lib/vm-common-components/components/Portrait/imgs/gj.svg +7 -0
- package/lib/vm-common-components/components/Portrait/imgs/jt.svg +6 -0
- package/lib/vm-common-components/components/Portrait/imgs/pipeline.jpg +0 -0
- package/lib/vm-common-components/components/Portrait/imgs/point.jpg +0 -0
- package/lib/vm-common-components/components/Portrait/style/css.js +4 -0
- package/lib/vm-common-components/components/Portrait/style/css.js.map +1 -0
- package/lib/vm-common-components/components/Portrait/style/index.css +244 -0
- package/lib/vm-common-components/components/Portrait/style/index.js +4 -0
- package/lib/vm-common-components/components/Portrait/style/index.js.map +1 -0
- package/lib/vm-common-components/components/Portrait/style/index.less +226 -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.css +35 -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/RadionButton/style/index.less +25 -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.css +75 -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/Statistics/style/index.less +68 -0
- package/lib/vm-common-components/components/SubTitle/assets/arrow.png +0 -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.css +64 -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/SubTitle/style/index.less +63 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/assets/active.png +0 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/assets/normal.png +0 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js +48 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/style/index.css +70 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +44 -0
- package/lib/vm-common-components/components/index.js +114 -0
- package/lib/vm-common-components/components/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-alarm-title/imgs/alarm.png +0 -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.css +25 -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-alarm-title/style/index.less +25 -0
- package/lib/vm-common-components/components/vm-chart/index.css +9 -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-chart/index.less +12 -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/imgs/collect.png +0 -0
- package/lib/vm-common-components/components/vm-collect/imgs/collect_light.png +0 -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.css +17 -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-collect/style/index.less +13 -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.css +14 -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-container/style/index.less +16 -0
- package/lib/vm-common-components/components/vm-defects/api.js +60 -0
- package/lib/vm-common-components/components/vm-defects/api.js.map +1 -0
- package/lib/vm-common-components/components/vm-defects/index.js +127 -0
- package/lib/vm-common-components/components/vm-defects/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-defects/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-defects/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-defects/style/index.css +27 -0
- package/lib/vm-common-components/components/vm-defects/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-defects/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-defects/style/index.less +23 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_chart.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_data.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_data_2.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_news.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_permission.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_picture.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_result.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/page_error.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/index.js +77 -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.css +27 -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-nodata/style/index.less +20 -0
- package/lib/vm-common-components/components/vm-radar/index.js +82 -0
- package/lib/vm-common-components/components/vm-radar/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-water-wave/index.css +51 -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/components/vm-water-wave/index.less +56 -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.css +153 -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-common-components/style/index.less +1 -0
- package/lib/vm-container/style/index.less +1 -2
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +2 -2
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.less +11 -11
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-filter/index.js +35 -3
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/index.css +4 -4
- package/lib/vm-filter/style/index.less +4 -4
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-map/index.js +23 -66
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-modal-table/style/index.less +18 -18
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +2 -2
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.less +10 -9
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +2 -5
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-round-content/index.js +2 -2
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +0 -1
- package/lib/vm-select-device/index.js +2 -2
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-table/index.js +17 -17
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/index.css +3 -3
- package/lib/vm-table/style/index.less +3 -3
- package/lib/vm-video/index.css +69 -0
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vtx-base-modal/index.js +2 -2
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.css +2 -2
- package/lib/vtx-base-modal/style/index.less +2 -2
- package/lib/vtx-base-modal-hz/index.js +42 -0
- package/lib/vtx-base-modal-hz/index.js.map +1 -0
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +2 -2
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/index.js +1 -1
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/index.css +69 -0
- package/lib/vtx-cc-cp-modal/api.js +2 -2
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +0 -1
- package/lib/vtx-cc-cp-modal/index.js +1 -1
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.css +69 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +2 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +2 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +2 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +2 -2
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +0 -1
- package/lib/vtx-cp-modal/index.js +1 -1
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.css +69 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.js +2 -9
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +7 -19
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/index.css +69 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +2 -2
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js +6 -2
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js +2 -2
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +3 -8
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +2 -2
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js +1 -1
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/index.css +69 -0
- package/lib/vtx-facility-modal/api.js +2 -2
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-health-modal/api.js +228 -0
- package/lib/vtx-health-modal/api.js.map +1 -0
- package/lib/vtx-health-modal/components/Health/index.js +327 -0
- package/lib/vtx-health-modal/components/Health/index.js.map +1 -0
- package/lib/vtx-health-modal/components/Health/style/css.js +4 -0
- package/lib/vtx-health-modal/components/Health/style/css.js.map +1 -0
- package/lib/vtx-health-modal/components/Health/style/index.css +31 -0
- package/lib/vtx-health-modal/components/Health/style/index.js +4 -0
- package/lib/vtx-health-modal/components/Health/style/index.js.map +1 -0
- package/lib/vtx-health-modal/components/Health/style/index.less +38 -0
- package/lib/vtx-health-modal/index.js +37 -0
- package/lib/vtx-health-modal/index.js.map +1 -0
- package/lib/vtx-health-modal/style/css.js +4 -0
- package/lib/vtx-health-modal/style/css.js.map +1 -0
- package/lib/vtx-health-modal/style/index.css +0 -0
- package/lib/vtx-health-modal/style/index.js +4 -0
- package/lib/vtx-health-modal/style/index.js.map +1 -0
- package/lib/vtx-health-modal/style/index.less +0 -0
- package/lib/vtx-housing-estate-modal/api.js +2 -2
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -2
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-hz-facility-modal/api.js +1351 -0
- package/lib/vtx-hz-facility-modal/api.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js +171 -0
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.css +11 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js +39 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.less +7 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js +24 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.css +36 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.less +26 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +231 -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/DetectedData/style/inedx.css +0 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.less +0 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +33 -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.css +22 -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/FacilityFile/style/index.less +22 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +101 -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.css +30 -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/FacilityFile1/style/index.less +30 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +326 -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.css +15 -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/FacilityFile2/style/index.less +15 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js +41 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js +43 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.css +30 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.less +34 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/index.js +54 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.css +3 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.less +3 -0
- package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js +46 -0
- package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js +94 -0
- package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +388 -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/MonitorData/style/inedx.css +4 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +4 -0
- package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js +43 -0
- package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +46 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +437 -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.css +55 -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/OverViewInfo1/style/index.less +42 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +253 -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.css +63 -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/OverViewInfo2/style/index.less +50 -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.css +15 -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/OverViewInfo3/style/index.less +16 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js +138 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.css +10 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +10 -0
- package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js +51 -0
- package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js +16 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.css +55 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.less +42 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/index.js +44 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.css +36 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.less +26 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/index.js +69 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.css +36 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.less +26 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.css +72 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +156 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less +48 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js +110 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.css +77 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +343 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +62 -0
- package/lib/vtx-hz-facility-modal/components/RealTime/index.js +55 -0
- package/lib/vtx-hz-facility-modal/components/RealTime/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Record/index.js +120 -0
- package/lib/vtx-hz-facility-modal/components/Record/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js +125 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js +88 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js +137 -0
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js +88 -0
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js +86 -0
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js +150 -0
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/index.js +28 -0
- package/lib/vtx-hz-facility-modal/components/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/index.js +132 -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.css +0 -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-hz-facility-modal/style/index.less +0 -0
- package/lib/vtx-kh-modal/index.js +1 -1
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.css +69 -0
- package/lib/vtx-restaurant-modal/api.js +3 -3
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +1 -1
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js +1 -1
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/index.css +69 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +2 -2
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js +1 -1
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.css +69 -0
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +2 -2
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -2
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +2 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +2 -7
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.css +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +6 -7
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +2 -2
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +2 -2
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/index.js +1 -1
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.css +69 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +1 -1
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.css +69 -0
- package/package.json +1 -5
|
@@ -0,0 +1,1351 @@
|
|
|
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
|
+
var _moment = _interopRequireDefault(require("moment"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
15
|
+
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."); }
|
|
16
|
+
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); }
|
|
17
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
18
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
19
|
+
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; }
|
|
20
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
22
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
|
+
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 e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
24
|
+
var _getUrlParam = (0, _utils.getUrlParam)(),
|
|
25
|
+
token = _getUrlParam.token;
|
|
26
|
+
var getDetectData = function getDetectData(current, size, id, reportType) {
|
|
27
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
28
|
+
var _a, _b, _c, _d, res;
|
|
29
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
30
|
+
while (1) switch (_context.prev = _context.next) {
|
|
31
|
+
case 0:
|
|
32
|
+
_context.next = 2;
|
|
33
|
+
return _axios["default"].post('/cloud/zhsw-gsfw/api/manualDataEntry/page', {
|
|
34
|
+
current: current,
|
|
35
|
+
size: size,
|
|
36
|
+
facilityId: id,
|
|
37
|
+
reportType: reportType
|
|
38
|
+
}, {
|
|
39
|
+
headers: {
|
|
40
|
+
Authorization: token ? "Bearer ".concat(token) : '',
|
|
41
|
+
'Cache-Control': 'no-cache',
|
|
42
|
+
'content-type': 'application/json;charset=UTF-8'
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
case 2:
|
|
46
|
+
res = _context.sent;
|
|
47
|
+
return _context.abrupt("return", {
|
|
48
|
+
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) || [],
|
|
49
|
+
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
|
|
50
|
+
});
|
|
51
|
+
case 4:
|
|
52
|
+
case "end":
|
|
53
|
+
return _context.stop();
|
|
54
|
+
}
|
|
55
|
+
}, _callee);
|
|
56
|
+
}));
|
|
57
|
+
};
|
|
58
|
+
//计算同比环比
|
|
59
|
+
exports.getDetectData = getDetectData;
|
|
60
|
+
var getValue = function getValue(n1, n2) {
|
|
61
|
+
//n1 同比 环比数 n2 当前数据
|
|
62
|
+
if (n1 == 0) {
|
|
63
|
+
return 0;
|
|
64
|
+
} else {
|
|
65
|
+
return parseFloat(String(n2 / n1 - 1)).toFixed(2);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
//日月年转换
|
|
69
|
+
var getTransformUnit = {
|
|
70
|
+
YEAR: '年',
|
|
71
|
+
MONYH: '月',
|
|
72
|
+
DAY: '日'
|
|
73
|
+
};
|
|
74
|
+
var Service = {
|
|
75
|
+
getByCode: function getByCode(params) {
|
|
76
|
+
var _a;
|
|
77
|
+
var _params$typeCode = params.typeCode,
|
|
78
|
+
typeCode = _params$typeCode === void 0 ? '' : _params$typeCode,
|
|
79
|
+
dataJson = params.dataJson;
|
|
80
|
+
if (!typeCode) return {};
|
|
81
|
+
var _useRequest = (0, _ahooks.useRequest)(function () {
|
|
82
|
+
return _utils.request.get('/cloud/jcss-reborn/facility/type/getByCode', {
|
|
83
|
+
body: {
|
|
84
|
+
code: typeCode
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}, {
|
|
88
|
+
refreshDeps: [typeCode]
|
|
89
|
+
}),
|
|
90
|
+
baseInfoRes = _useRequest.data;
|
|
91
|
+
var fieldJson = (_a = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data) === null || _a === void 0 ? void 0 : _a.fieldJson;
|
|
92
|
+
if (!(fieldJson === null || fieldJson === void 0 ? void 0 : fieldJson.length)) return {};
|
|
93
|
+
var baseInfo = fieldJson.map(function (item) {
|
|
94
|
+
return {
|
|
95
|
+
label: item.name,
|
|
96
|
+
key: item.key,
|
|
97
|
+
value: dataJson[item.key]
|
|
98
|
+
};
|
|
99
|
+
});
|
|
100
|
+
return {
|
|
101
|
+
baseInfo: baseInfo
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
getTableData: function getTableData(_ref) {
|
|
105
|
+
var _data;
|
|
106
|
+
var id = _ref.id,
|
|
107
|
+
type = _ref.type,
|
|
108
|
+
publicUrlJCSS = _ref.publicUrlJCSS,
|
|
109
|
+
collectFrequency = _ref.collectFrequency,
|
|
110
|
+
startTime = _ref.startTime,
|
|
111
|
+
endTime = _ref.endTime;
|
|
112
|
+
return _utils.request.get("".concat(publicUrlJCSS, "/api/facility/hisDataByTime"), {
|
|
113
|
+
data: (_data = {}, _defineProperty(_data, type == 1 ? 'facilityId' : 'deviceId', id), _defineProperty(_data, "collectFrequency", collectFrequency), _defineProperty(_data, "startTime", startTime), _defineProperty(_data, "endTime", endTime), _data)
|
|
114
|
+
});
|
|
115
|
+
},
|
|
116
|
+
UseBaseInfo: function UseBaseInfo(_ref2) {
|
|
117
|
+
var id = _ref2.id;
|
|
118
|
+
var _a;
|
|
119
|
+
// 基本信息
|
|
120
|
+
var _useRequest2 = (0, _ahooks.useRequest)(function () {
|
|
121
|
+
return _utils.request.get('/cloud/zhsw-device/api/device/getById', {
|
|
122
|
+
body: {
|
|
123
|
+
id: id
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}, {
|
|
127
|
+
refreshDeps: [id]
|
|
128
|
+
}),
|
|
129
|
+
baseInfoRes = _useRequest2.data;
|
|
130
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
131
|
+
var _useRequest3 = (0, _ahooks.useRequest)(function () {
|
|
132
|
+
return _utils.request.get('/cloud/vis/base/np/videoDevice/loadVideoChannelByBillId.smvc', {
|
|
133
|
+
body: {
|
|
134
|
+
billId: "".concat(info === null || info === void 0 ? void 0 : info.deviceTypeId, "_").concat(info === null || info === void 0 ? void 0 : info.code)
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}, {
|
|
138
|
+
refreshDeps: [info]
|
|
139
|
+
}),
|
|
140
|
+
data = _useRequest3.data;
|
|
141
|
+
var video = (data === null || data === void 0 ? void 0 : data.data) ? JSON.parse(data === null || data === void 0 ? void 0 : data.data) : [];
|
|
142
|
+
if ((_a = info === null || info === void 0 ? void 0 : info.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
|
|
143
|
+
var monitorItems = info.monitorItems.map(function (item) {
|
|
144
|
+
return item.value;
|
|
145
|
+
});
|
|
146
|
+
info.monitorItemsName = monitorItems.join(',');
|
|
147
|
+
}
|
|
148
|
+
var baseInfo = [{
|
|
149
|
+
label: '设备编码',
|
|
150
|
+
key: 'code',
|
|
151
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
152
|
+
}, {
|
|
153
|
+
label: '设备名称',
|
|
154
|
+
key: 'name',
|
|
155
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
156
|
+
}, {
|
|
157
|
+
label: '设备类型',
|
|
158
|
+
key: 'deviceTypeName',
|
|
159
|
+
value: info === null || info === void 0 ? void 0 : info.deviceTypeName
|
|
160
|
+
}, {
|
|
161
|
+
label: '设备型号',
|
|
162
|
+
key: 'modelName',
|
|
163
|
+
value: info === null || info === void 0 ? void 0 : info.modelName
|
|
164
|
+
}, {
|
|
165
|
+
label: '设备厂家',
|
|
166
|
+
key: 'factoryName',
|
|
167
|
+
value: info === null || info === void 0 ? void 0 : info.factoryName
|
|
168
|
+
}, {
|
|
169
|
+
label: '安装位置',
|
|
170
|
+
key: 'facilityName',
|
|
171
|
+
value: info === null || info === void 0 ? void 0 : info.facilityName
|
|
172
|
+
}, {
|
|
173
|
+
label: '设备ID',
|
|
174
|
+
key: 'iotId',
|
|
175
|
+
value: info === null || info === void 0 ? void 0 : info.iotId
|
|
176
|
+
}, {
|
|
177
|
+
label: '监测项目',
|
|
178
|
+
key: 'monitorItems',
|
|
179
|
+
value: info === null || info === void 0 ? void 0 : info.monitorItemsName
|
|
180
|
+
}, {
|
|
181
|
+
label: '资产编号',
|
|
182
|
+
key: 'assetNumber',
|
|
183
|
+
value: info === null || info === void 0 ? void 0 : info.assetNumber
|
|
184
|
+
}, {
|
|
185
|
+
label: '设备位号',
|
|
186
|
+
key: 'tagNumber',
|
|
187
|
+
value: info === null || info === void 0 ? void 0 : info.tagNumber
|
|
188
|
+
}, {
|
|
189
|
+
label: '性能参数',
|
|
190
|
+
key: 'performanceParameter',
|
|
191
|
+
value: info === null || info === void 0 ? void 0 : info.performanceParameter
|
|
192
|
+
}, {
|
|
193
|
+
label: '主要材质',
|
|
194
|
+
key: 'mainMaterial',
|
|
195
|
+
value: info === null || info === void 0 ? void 0 : info.mainMaterial
|
|
196
|
+
}, {
|
|
197
|
+
label: '出厂编号',
|
|
198
|
+
key: 'factoryNumber',
|
|
199
|
+
value: info === null || info === void 0 ? void 0 : info.factoryNumber
|
|
200
|
+
}, {
|
|
201
|
+
label: '出厂日期',
|
|
202
|
+
key: 'factoryDate',
|
|
203
|
+
value: info === null || info === void 0 ? void 0 : info.factoryDate
|
|
204
|
+
}, {
|
|
205
|
+
label: '设备供应商',
|
|
206
|
+
key: 'supplier',
|
|
207
|
+
value: info === null || info === void 0 ? void 0 : info.supplier
|
|
208
|
+
}, {
|
|
209
|
+
label: '启用时间',
|
|
210
|
+
key: 'enableDate',
|
|
211
|
+
value: info === null || info === void 0 ? void 0 : info.enableDate
|
|
212
|
+
}, {
|
|
213
|
+
label: '寿命周期',
|
|
214
|
+
key: 'expectServiceLifeUnit',
|
|
215
|
+
value: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit]
|
|
216
|
+
}, {
|
|
217
|
+
label: '预计使用寿命',
|
|
218
|
+
key: 'expectServiceLifeNumber',
|
|
219
|
+
value: info === null || info === void 0 ? void 0 : info.expectServiceLifeNumber
|
|
220
|
+
}, {
|
|
221
|
+
label: '所属单位',
|
|
222
|
+
key: 'manageUnitName',
|
|
223
|
+
value: info === null || info === void 0 ? void 0 : info.manageUnitName
|
|
224
|
+
}, {
|
|
225
|
+
label: '设备负责人',
|
|
226
|
+
key: 'responsiblePersonName',
|
|
227
|
+
value: info === null || info === void 0 ? void 0 : info.responsiblePersonName
|
|
228
|
+
}, {
|
|
229
|
+
label: '联系方式',
|
|
230
|
+
key: 'phone',
|
|
231
|
+
value: info === null || info === void 0 ? void 0 : info.phone
|
|
232
|
+
}];
|
|
233
|
+
return {
|
|
234
|
+
baseInfo: baseInfo,
|
|
235
|
+
info: Object.assign(Object.assign({}, info), {
|
|
236
|
+
expectServiceLifeUnitStr: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit],
|
|
237
|
+
expectServiceLifeUnit: (info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit) == 'MONYH' ? 'MONTH' : info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit,
|
|
238
|
+
hasVideo: video.length > 0 ? true : false,
|
|
239
|
+
hasDevice: true
|
|
240
|
+
})
|
|
241
|
+
};
|
|
242
|
+
},
|
|
243
|
+
//实时信息
|
|
244
|
+
UseRealInfo: function UseRealInfo(_ref3) {
|
|
245
|
+
var code = _ref3.code,
|
|
246
|
+
id = _ref3.id;
|
|
247
|
+
var _a, _b;
|
|
248
|
+
var _useRequest4 = (0, _ahooks.useRequest)(function () {
|
|
249
|
+
return _utils.request.get('/cloud/zhsw-jcyj/api/dataQuery/getFactorInfoFromFacilityId', {
|
|
250
|
+
body: {
|
|
251
|
+
deviceCode: code,
|
|
252
|
+
facilityId: id
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
}, {
|
|
256
|
+
refreshDeps: [code, id]
|
|
257
|
+
}),
|
|
258
|
+
baseInfoReal = _useRequest4.data;
|
|
259
|
+
var realdata = baseInfoReal === null || baseInfoReal === void 0 ? void 0 : baseInfoReal.data;
|
|
260
|
+
var monitorItemArray = [];
|
|
261
|
+
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) {
|
|
262
|
+
var name = monitorItemArray.find(function (i) {
|
|
263
|
+
i.label == item.monitorItemName;
|
|
264
|
+
});
|
|
265
|
+
var info = {
|
|
266
|
+
onAlarm: item.onAlarm,
|
|
267
|
+
label: item.name,
|
|
268
|
+
key: item.id,
|
|
269
|
+
value: item.value,
|
|
270
|
+
unit: item.unit,
|
|
271
|
+
color: item.onAlarm ? 'red' : ''
|
|
272
|
+
};
|
|
273
|
+
if (name) {
|
|
274
|
+
monitorItemArray = monitorItemArray === null || monitorItemArray === void 0 ? void 0 : monitorItemArray.map(function (i) {
|
|
275
|
+
if (i.label == item.monitorItemName) {
|
|
276
|
+
return Object.assign(Object.assign({}, i), {
|
|
277
|
+
list: [].concat(_toConsumableArray(i.list), [info])
|
|
278
|
+
});
|
|
279
|
+
} else {
|
|
280
|
+
return i.name;
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
} else {
|
|
284
|
+
monitorItemArray.push({
|
|
285
|
+
label: item.monitorItemName,
|
|
286
|
+
key: item.id,
|
|
287
|
+
value: item.monitorTypeName,
|
|
288
|
+
list: [info]
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
return info;
|
|
292
|
+
});
|
|
293
|
+
return {
|
|
294
|
+
realInfo: realInfo,
|
|
295
|
+
monitorItemArray: monitorItemArray
|
|
296
|
+
};
|
|
297
|
+
},
|
|
298
|
+
//运维概览状态统计
|
|
299
|
+
UseStatusInfo: function UseStatusInfo(_ref4) {
|
|
300
|
+
var id = _ref4.id;
|
|
301
|
+
var _a;
|
|
302
|
+
//运维概览
|
|
303
|
+
var _useRequest5 = (0, _ahooks.useRequest)(function () {
|
|
304
|
+
return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getTransferStatus', {
|
|
305
|
+
body: {
|
|
306
|
+
deviceId: id
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
}, {
|
|
310
|
+
refreshDeps: [id]
|
|
311
|
+
}),
|
|
312
|
+
baseInfoYwgl = _useRequest5.data;
|
|
313
|
+
var statusInfo = (_a = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
314
|
+
return {
|
|
315
|
+
label: item.statusName,
|
|
316
|
+
code: item.status,
|
|
317
|
+
value: item.total
|
|
318
|
+
};
|
|
319
|
+
});
|
|
320
|
+
return {
|
|
321
|
+
statusInfo: statusInfo
|
|
322
|
+
};
|
|
323
|
+
},
|
|
324
|
+
//运维概览
|
|
325
|
+
UseYwglInfo: function UseYwglInfo(_ref5) {
|
|
326
|
+
var code = _ref5.code;
|
|
327
|
+
//运维概览
|
|
328
|
+
var _useRequest6 = (0, _ahooks.useRequest)(function () {
|
|
329
|
+
return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getDeviceHisStatus', {
|
|
330
|
+
body: {
|
|
331
|
+
deviceCode: code
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
}, {
|
|
335
|
+
refreshDeps: [code]
|
|
336
|
+
}),
|
|
337
|
+
baseInfoYwgl = _useRequest6.data;
|
|
338
|
+
var deviceHisStatusInfo = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
|
|
339
|
+
return {
|
|
340
|
+
deviceHisStatusInfo: deviceHisStatusInfo
|
|
341
|
+
};
|
|
342
|
+
},
|
|
343
|
+
//运维概览table
|
|
344
|
+
UseYWGLTableInfo: function UseYWGLTableInfo(_ref6) {
|
|
345
|
+
var id = _ref6.id,
|
|
346
|
+
statusType = _ref6.statusType,
|
|
347
|
+
current = _ref6.current;
|
|
348
|
+
var _a, _b, _c;
|
|
349
|
+
//运维概览
|
|
350
|
+
var _useRequest7 = (0, _ahooks.useRequest)(function () {
|
|
351
|
+
return _utils.request.post('/cloud/zhsw-device/api/deviceUpdateRecord/page', {
|
|
352
|
+
body: JSON.stringify({
|
|
353
|
+
deviceId: id,
|
|
354
|
+
statusType: statusType,
|
|
355
|
+
current: current
|
|
356
|
+
})
|
|
357
|
+
});
|
|
358
|
+
}, {
|
|
359
|
+
refreshDeps: [id, statusType, current]
|
|
360
|
+
}),
|
|
361
|
+
baseInfoYwgl = _useRequest7.data;
|
|
362
|
+
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) {
|
|
363
|
+
return Object.assign(Object.assign(Object.assign({}, item), item.object), {
|
|
364
|
+
id: item.id,
|
|
365
|
+
key: item.id
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
return {
|
|
369
|
+
ywglTable: ywglTable,
|
|
370
|
+
ywglTotal: (_c = ywglTable === null || ywglTable === void 0 ? void 0 : ywglTable.data) === null || _c === void 0 ? void 0 : _c.total
|
|
371
|
+
};
|
|
372
|
+
},
|
|
373
|
+
//报警概括
|
|
374
|
+
alarmInfo: function alarmInfo(_ref7) {
|
|
375
|
+
var id = _ref7.id,
|
|
376
|
+
timeType = _ref7.timeType,
|
|
377
|
+
startTimeLocalDate = _ref7.startTimeLocalDate,
|
|
378
|
+
endTimeLocalDate = _ref7.endTimeLocalDate;
|
|
379
|
+
var _useRequest8 = (0, _ahooks.useRequest)(function () {
|
|
380
|
+
return _utils.request.post('/cloud/zhsw-jcyj/api/alarmCenter/getDeviceAlarmStatistics', {
|
|
381
|
+
body: JSON.stringify({
|
|
382
|
+
deviceId: id,
|
|
383
|
+
timeType: timeType,
|
|
384
|
+
startTimeLocalDate: startTimeLocalDate,
|
|
385
|
+
endTimeLocalDate: endTimeLocalDate
|
|
386
|
+
})
|
|
387
|
+
});
|
|
388
|
+
}, {
|
|
389
|
+
refreshDeps: [id, timeType, startTimeLocalDate, endTimeLocalDate]
|
|
390
|
+
}),
|
|
391
|
+
alarmData = _useRequest8.data;
|
|
392
|
+
var alarmDataInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
|
|
393
|
+
var hb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.hbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
|
|
394
|
+
var tb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.tbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
|
|
395
|
+
var xAxis = []; //x轴
|
|
396
|
+
var tbArray = [];
|
|
397
|
+
var hbArray = [];
|
|
398
|
+
var factorArray = []; //监测数值
|
|
399
|
+
var failureArray = []; //故障
|
|
400
|
+
var offlineArray = []; //离线
|
|
401
|
+
alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.alarms.forEach(function (item) {
|
|
402
|
+
var ahb = getValue(item === null || item === void 0 ? void 0 : item.hbTotal, item === null || item === void 0 ? void 0 : item.factor);
|
|
403
|
+
var atb = getValue(item === null || item === void 0 ? void 0 : item.tbTotal, item === null || item === void 0 ? void 0 : item.factor);
|
|
404
|
+
xAxis = [].concat(_toConsumableArray(xAxis), [item.time]);
|
|
405
|
+
tbArray = [].concat(_toConsumableArray(tbArray), [ahb * 100]);
|
|
406
|
+
hbArray = [].concat(_toConsumableArray(hbArray), [atb * 100]);
|
|
407
|
+
factorArray = [].concat(_toConsumableArray(factorArray), [item.factor]);
|
|
408
|
+
failureArray = [].concat(_toConsumableArray(failureArray), [item.failure]);
|
|
409
|
+
offlineArray = [].concat(_toConsumableArray(offlineArray), [item.offline]);
|
|
410
|
+
});
|
|
411
|
+
return {
|
|
412
|
+
alarmDataInfo: Object.assign(Object.assign({}, alarmDataInfo), {
|
|
413
|
+
hb: hb,
|
|
414
|
+
tb: tb,
|
|
415
|
+
xAxis: xAxis,
|
|
416
|
+
tbArray: tbArray,
|
|
417
|
+
hbArray: hbArray,
|
|
418
|
+
factorArray: factorArray,
|
|
419
|
+
failureArray: failureArray,
|
|
420
|
+
offlineArray: offlineArray
|
|
421
|
+
})
|
|
422
|
+
};
|
|
423
|
+
},
|
|
424
|
+
UseDetectInfo: function UseDetectInfo(_ref8) {
|
|
425
|
+
var id = _ref8.id,
|
|
426
|
+
reportType = _ref8.reportType,
|
|
427
|
+
facilityType = _ref8.facilityType;
|
|
428
|
+
var _a, _b;
|
|
429
|
+
var _useRequest9 = (0, _ahooks.useRequest)(function () {
|
|
430
|
+
return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/statistics', {
|
|
431
|
+
body: JSON.stringify({
|
|
432
|
+
facilityId: id,
|
|
433
|
+
reportType: reportType,
|
|
434
|
+
facilityType: facilityType
|
|
435
|
+
})
|
|
436
|
+
});
|
|
437
|
+
}, {
|
|
438
|
+
refreshDeps: [id, reportType, facilityType]
|
|
439
|
+
}),
|
|
440
|
+
statistics = _useRequest9.data;
|
|
441
|
+
var _useRequest10 = (0, _ahooks.useRequest)(function () {
|
|
442
|
+
return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/list', {
|
|
443
|
+
body: JSON.stringify({
|
|
444
|
+
facilityId: id,
|
|
445
|
+
reportType: reportType,
|
|
446
|
+
facilityType: facilityType
|
|
447
|
+
})
|
|
448
|
+
});
|
|
449
|
+
}, {
|
|
450
|
+
refreshDeps: [id, reportType, facilityType]
|
|
451
|
+
}),
|
|
452
|
+
list = _useRequest10.data;
|
|
453
|
+
return {
|
|
454
|
+
statistics: ((_a = statistics === null || statistics === void 0 ? void 0 : statistics.data) === null || _a === void 0 ? void 0 : _a.data) || {},
|
|
455
|
+
list: ((_b = list === null || list === void 0 ? void 0 : list.data) === null || _b === void 0 ? void 0 : _b.data) || []
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
};
|
|
459
|
+
//设施接口
|
|
460
|
+
exports.Service = Service;
|
|
461
|
+
var facilityService = {
|
|
462
|
+
//水源地基础信息
|
|
463
|
+
water_resource: function water_resource(_ref9) {
|
|
464
|
+
var id = _ref9.id;
|
|
465
|
+
// 基本信息
|
|
466
|
+
var _useRequest11 = (0, _ahooks.useRequest)(function () {
|
|
467
|
+
return _utils.request.get('/cloud/zhsw-jcss/api/waterSource/getByFacilityId', {
|
|
468
|
+
body: {
|
|
469
|
+
facilityId: id
|
|
470
|
+
}
|
|
471
|
+
});
|
|
472
|
+
}, {
|
|
473
|
+
refreshDeps: [id]
|
|
474
|
+
}),
|
|
475
|
+
baseInfoRes = _useRequest11.data;
|
|
476
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
477
|
+
var baseInfo = [{
|
|
478
|
+
label: '水源地编码',
|
|
479
|
+
key: 'code',
|
|
480
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
481
|
+
}, {
|
|
482
|
+
label: '水源地名称',
|
|
483
|
+
key: 'name',
|
|
484
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
485
|
+
}, {
|
|
486
|
+
label: '总库容',
|
|
487
|
+
key: 'totalStorageCapacity',
|
|
488
|
+
value: info === null || info === void 0 ? void 0 : info.totalStorageCapacity
|
|
489
|
+
}, {
|
|
490
|
+
label: '供应水厂',
|
|
491
|
+
key: 'waterSupplyPlantsStr',
|
|
492
|
+
value: info === null || info === void 0 ? void 0 : info.waterSupplyPlantsStr
|
|
493
|
+
}, {
|
|
494
|
+
label: '水质等级',
|
|
495
|
+
key: 'qualityLevel',
|
|
496
|
+
value: info === null || info === void 0 ? void 0 : info.qualityLevel
|
|
497
|
+
}, {
|
|
498
|
+
label: '地址',
|
|
499
|
+
key: 'address',
|
|
500
|
+
value: info === null || info === void 0 ? void 0 : info.address
|
|
501
|
+
}, {
|
|
502
|
+
label: '管理单位',
|
|
503
|
+
key: 'orgName',
|
|
504
|
+
value: info === null || info === void 0 ? void 0 : info.orgName
|
|
505
|
+
}, {
|
|
506
|
+
label: '责任人',
|
|
507
|
+
key: 'dutyUserName',
|
|
508
|
+
value: info === null || info === void 0 ? void 0 : info.dutyUserName
|
|
509
|
+
}];
|
|
510
|
+
return {
|
|
511
|
+
baseInfo: baseInfo,
|
|
512
|
+
info: info
|
|
513
|
+
};
|
|
514
|
+
},
|
|
515
|
+
//供水厂
|
|
516
|
+
water_supply_plant: function water_supply_plant(_ref10) {
|
|
517
|
+
var id = _ref10.id;
|
|
518
|
+
var _a;
|
|
519
|
+
// 基本信息
|
|
520
|
+
var _useRequest12 = (0, _ahooks.useRequest)(function () {
|
|
521
|
+
return _utils.request.get('/cloud/zhsw-jcss/api/waterSupplyPlant/getByFacilityId', {
|
|
522
|
+
body: {
|
|
523
|
+
facilityId: id
|
|
524
|
+
}
|
|
525
|
+
});
|
|
526
|
+
}, {
|
|
527
|
+
refreshDeps: [id]
|
|
528
|
+
}),
|
|
529
|
+
baseInfoRes = _useRequest12.data;
|
|
530
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
531
|
+
var baseInfo = [{
|
|
532
|
+
label: '编码',
|
|
533
|
+
key: 'code',
|
|
534
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
535
|
+
}, {
|
|
536
|
+
label: '供水厂名称',
|
|
537
|
+
key: 'name',
|
|
538
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
539
|
+
}, {
|
|
540
|
+
label: '计划日供水能力(万吨/天)',
|
|
541
|
+
key: 'supplyCapacity',
|
|
542
|
+
value: info === null || info === void 0 ? void 0 : info.supplyCapacity
|
|
543
|
+
}, {
|
|
544
|
+
label: '管理单位',
|
|
545
|
+
key: 'orgName',
|
|
546
|
+
value: info === null || info === void 0 ? void 0 : info.orgName
|
|
547
|
+
}, {
|
|
548
|
+
label: '责任人',
|
|
549
|
+
key: 'dutyPeopleName',
|
|
550
|
+
value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
|
|
551
|
+
}, {
|
|
552
|
+
label: '设施地址',
|
|
553
|
+
key: 'address',
|
|
554
|
+
value: info === null || info === void 0 ? void 0 : info.address
|
|
555
|
+
}, {
|
|
556
|
+
label: '行政区划',
|
|
557
|
+
key: 'divisionName',
|
|
558
|
+
value: info === null || info === void 0 ? void 0 : info.divisionName
|
|
559
|
+
}, {
|
|
560
|
+
label: '所属公司',
|
|
561
|
+
key: 'waterDivision',
|
|
562
|
+
value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
|
|
563
|
+
}, {
|
|
564
|
+
label: '水厂介绍',
|
|
565
|
+
key: 'introduce',
|
|
566
|
+
value: info === null || info === void 0 ? void 0 : info.introduce
|
|
567
|
+
}];
|
|
568
|
+
return {
|
|
569
|
+
baseInfo: baseInfo,
|
|
570
|
+
info: info
|
|
571
|
+
};
|
|
572
|
+
},
|
|
573
|
+
//污水厂
|
|
574
|
+
sewage_plant: function sewage_plant(_ref11) {
|
|
575
|
+
var id = _ref11.id;
|
|
576
|
+
var _a;
|
|
577
|
+
// 基本信息
|
|
578
|
+
var _useRequest13 = (0, _ahooks.useRequest)(function () {
|
|
579
|
+
return _utils.request.get('/cloud/zhsw-jcss/api/sewagePlant/getByFacilityId', {
|
|
580
|
+
body: {
|
|
581
|
+
facilityId: id
|
|
582
|
+
}
|
|
583
|
+
});
|
|
584
|
+
}, {
|
|
585
|
+
refreshDeps: [id]
|
|
586
|
+
}),
|
|
587
|
+
baseInfoRes = _useRequest13.data;
|
|
588
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
589
|
+
var baseInfo = [{
|
|
590
|
+
label: '编码',
|
|
591
|
+
key: 'code',
|
|
592
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
593
|
+
}, {
|
|
594
|
+
label: '污水厂名称',
|
|
595
|
+
key: 'name',
|
|
596
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
597
|
+
}, {
|
|
598
|
+
label: '关联管点',
|
|
599
|
+
key: 'pointId',
|
|
600
|
+
value: info === null || info === void 0 ? void 0 : info.pointId
|
|
601
|
+
}, {
|
|
602
|
+
label: '污水处理级别',
|
|
603
|
+
key: 'dealLevelStr',
|
|
604
|
+
value: info === null || info === void 0 ? void 0 : info.dealLevelStr
|
|
605
|
+
}, {
|
|
606
|
+
label: '污水处理工艺',
|
|
607
|
+
key: 'dealProcessStr',
|
|
608
|
+
value: info === null || info === void 0 ? void 0 : info.dealProcessStr
|
|
609
|
+
}, {
|
|
610
|
+
label: '日处理能力(万吨/天)',
|
|
611
|
+
key: 'supplyCapacity',
|
|
612
|
+
value: info === null || info === void 0 ? void 0 : info.supplyCapacity
|
|
613
|
+
}, {
|
|
614
|
+
label: '管理单位',
|
|
615
|
+
key: 'orgName',
|
|
616
|
+
value: info === null || info === void 0 ? void 0 : info.orgName
|
|
617
|
+
}, {
|
|
618
|
+
label: '责任人',
|
|
619
|
+
key: 'dutyPeopleName',
|
|
620
|
+
value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
|
|
621
|
+
}, {
|
|
622
|
+
label: '行政区划',
|
|
623
|
+
key: 'divisionName',
|
|
624
|
+
value: info === null || info === void 0 ? void 0 : info.divisionName
|
|
625
|
+
}, {
|
|
626
|
+
label: '所属公司',
|
|
627
|
+
key: 'waterDivision',
|
|
628
|
+
value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
|
|
629
|
+
}, {
|
|
630
|
+
label: '水厂介绍',
|
|
631
|
+
key: 'introduce',
|
|
632
|
+
value: info === null || info === void 0 ? void 0 : info.introduce
|
|
633
|
+
}];
|
|
634
|
+
return {
|
|
635
|
+
baseInfo: baseInfo,
|
|
636
|
+
info: info
|
|
637
|
+
};
|
|
638
|
+
},
|
|
639
|
+
//任务统计
|
|
640
|
+
UseStatusInfo: function UseStatusInfo(_ref12) {
|
|
641
|
+
var id = _ref12.id,
|
|
642
|
+
type = _ref12.type,
|
|
643
|
+
state = _ref12.state,
|
|
644
|
+
YWJLCurrent = _ref12.YWJLCurrent,
|
|
645
|
+
startTime = _ref12.startTime,
|
|
646
|
+
endTime = _ref12.endTime,
|
|
647
|
+
timeType = _ref12.timeType;
|
|
648
|
+
var _a, _b, _c;
|
|
649
|
+
//运维概览
|
|
650
|
+
var _useRequest14 = (0, _ahooks.useRequest)(function () {
|
|
651
|
+
return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/getTaskCountByFacilityId', {
|
|
652
|
+
body: {
|
|
653
|
+
facilityId: id,
|
|
654
|
+
startTime: startTime,
|
|
655
|
+
endTime: endTime,
|
|
656
|
+
timeType: timeType
|
|
657
|
+
}
|
|
658
|
+
});
|
|
659
|
+
}, {
|
|
660
|
+
refreshDeps: [id, startTime, endTime, timeType]
|
|
661
|
+
}),
|
|
662
|
+
baseInfoYwgl = _useRequest14.data;
|
|
663
|
+
//table
|
|
664
|
+
var _useRequest15 = (0, _ahooks.useRequest)(function () {
|
|
665
|
+
return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/page', {
|
|
666
|
+
body: {
|
|
667
|
+
facilityId: id,
|
|
668
|
+
type: type,
|
|
669
|
+
state: state,
|
|
670
|
+
current: YWJLCurrent,
|
|
671
|
+
size: 10,
|
|
672
|
+
startTime: startTime,
|
|
673
|
+
endTime: endTime,
|
|
674
|
+
timeType: timeType
|
|
675
|
+
}
|
|
676
|
+
});
|
|
677
|
+
}, {
|
|
678
|
+
refreshDeps: [id, type, state, YWJLCurrent, startTime, endTime, timeType]
|
|
679
|
+
}),
|
|
680
|
+
tableData = _useRequest15.data;
|
|
681
|
+
var d = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
|
|
682
|
+
var statusInfo = [];
|
|
683
|
+
var codeObj = {
|
|
684
|
+
任务总数: 'all',
|
|
685
|
+
循环任务: 'type-1',
|
|
686
|
+
指派任务: 'type-2',
|
|
687
|
+
超时完成: 'state-4',
|
|
688
|
+
待完成: 'state-1',
|
|
689
|
+
按时完成: 'state-3'
|
|
690
|
+
};
|
|
691
|
+
for (var p in codeObj) {
|
|
692
|
+
statusInfo.push({
|
|
693
|
+
label: p,
|
|
694
|
+
value: d === null || d === void 0 ? void 0 : d[p],
|
|
695
|
+
code: codeObj[p]
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
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) {
|
|
699
|
+
var _a;
|
|
700
|
+
return Object.assign(Object.assign(Object.assign({}, item), item.object), {
|
|
701
|
+
staffName: (_a = item === null || item === void 0 ? void 0 : item.staffList) === null || _a === void 0 ? void 0 : _a[0].staffName,
|
|
702
|
+
id: item.id,
|
|
703
|
+
key: item.id
|
|
704
|
+
});
|
|
705
|
+
});
|
|
706
|
+
return {
|
|
707
|
+
statusInfo: statusInfo,
|
|
708
|
+
ywglTable: ywglTable,
|
|
709
|
+
pages: (_c = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _c === void 0 ? void 0 : _c.total
|
|
710
|
+
};
|
|
711
|
+
},
|
|
712
|
+
//关联设备
|
|
713
|
+
UseDeviceInfo: function UseDeviceInfo(_ref13) {
|
|
714
|
+
var id = _ref13.id,
|
|
715
|
+
deviceCurrent = _ref13.deviceCurrent;
|
|
716
|
+
var _a;
|
|
717
|
+
//运维概览
|
|
718
|
+
var _useRequest16 = (0, _ahooks.useRequest)(function () {
|
|
719
|
+
return _utils.request.post('/cloud/zhsw-device/api/device/page', {
|
|
720
|
+
body: JSON.stringify({
|
|
721
|
+
objectId: id,
|
|
722
|
+
current: deviceCurrent,
|
|
723
|
+
size: 10
|
|
724
|
+
})
|
|
725
|
+
});
|
|
726
|
+
}, {
|
|
727
|
+
refreshDeps: [id, deviceCurrent]
|
|
728
|
+
}),
|
|
729
|
+
deviceData = _useRequest16.data;
|
|
730
|
+
var deviceList = (_a = (deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.rows) || []) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
731
|
+
var _a;
|
|
732
|
+
var monitorItems = [];
|
|
733
|
+
if ((_a = item === null || item === void 0 ? void 0 : item.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
|
|
734
|
+
monitorItems = item.monitorItems.map(function (item) {
|
|
735
|
+
return item.value;
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
return Object.assign(Object.assign({}, item), {
|
|
739
|
+
id: item.id,
|
|
740
|
+
key: item.id,
|
|
741
|
+
monitorItemsName: monitorItems.join(',')
|
|
742
|
+
});
|
|
743
|
+
});
|
|
744
|
+
return {
|
|
745
|
+
deviceList: deviceList,
|
|
746
|
+
deviceTotal: deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.total
|
|
747
|
+
};
|
|
748
|
+
},
|
|
749
|
+
//设施报警
|
|
750
|
+
UseAlarmInfo: function UseAlarmInfo(_ref14) {
|
|
751
|
+
var id = _ref14.id,
|
|
752
|
+
timeType = _ref14.timeType,
|
|
753
|
+
startTime = _ref14.startTime,
|
|
754
|
+
endTime = _ref14.endTime;
|
|
755
|
+
var _useRequest17 = (0, _ahooks.useRequest)(function () {
|
|
756
|
+
return _utils.request.post('/cloud/zhsw-qxjc/api/netWorkCockpit/warningStatistics', {
|
|
757
|
+
body: JSON.stringify({
|
|
758
|
+
facilityId: id,
|
|
759
|
+
timeType: timeType,
|
|
760
|
+
startTime: startTime,
|
|
761
|
+
endTime: endTime
|
|
762
|
+
})
|
|
763
|
+
});
|
|
764
|
+
}, {
|
|
765
|
+
refreshDeps: [id, timeType, endTime]
|
|
766
|
+
}),
|
|
767
|
+
alarmData = _useRequest17.data;
|
|
768
|
+
var alarmInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
|
|
769
|
+
return {
|
|
770
|
+
alarmInfo: alarmInfo
|
|
771
|
+
};
|
|
772
|
+
},
|
|
773
|
+
//昨日供水量
|
|
774
|
+
UseDataValueInfo: function UseDataValueInfo(_ref15) {
|
|
775
|
+
var id = _ref15.id,
|
|
776
|
+
startTime = _ref15.startTime,
|
|
777
|
+
endTime = _ref15.endTime;
|
|
778
|
+
var _useRequest18 = (0, _ahooks.useRequest)(function () {
|
|
779
|
+
return _utils.request.get('/cloud/zhsw-jcyj/api/dataQuery/getDataValueTongHuanRate', {
|
|
780
|
+
body: {
|
|
781
|
+
facilityId: id,
|
|
782
|
+
collectFrequency: 'hour',
|
|
783
|
+
timeType: 1,
|
|
784
|
+
startTime: startTime,
|
|
785
|
+
endTime: endTime
|
|
786
|
+
}
|
|
787
|
+
});
|
|
788
|
+
}, {
|
|
789
|
+
refreshDeps: [id, startTime, endTime]
|
|
790
|
+
}),
|
|
791
|
+
dataValue = _useRequest18.data;
|
|
792
|
+
var waterData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
793
|
+
return {
|
|
794
|
+
waterData: waterData
|
|
795
|
+
};
|
|
796
|
+
},
|
|
797
|
+
//当前水质等级
|
|
798
|
+
UseWaterLevelInfo: function UseWaterLevelInfo(_ref16) {
|
|
799
|
+
var id = _ref16.id,
|
|
800
|
+
startTime = _ref16.startTime,
|
|
801
|
+
endTime = _ref16.endTime;
|
|
802
|
+
var _useRequest19 = (0, _ahooks.useRequest)(function () {
|
|
803
|
+
return _utils.request.get('/cloud/zhsw-gsfw/api/manualDataEntry/getByFacilityId', {
|
|
804
|
+
body: {
|
|
805
|
+
facilityId: id,
|
|
806
|
+
collectFrequency: 'hour',
|
|
807
|
+
timeType: 1,
|
|
808
|
+
startTime: startTime,
|
|
809
|
+
endTime: endTime
|
|
810
|
+
}
|
|
811
|
+
});
|
|
812
|
+
}, {
|
|
813
|
+
refreshDeps: [id, startTime, endTime]
|
|
814
|
+
}),
|
|
815
|
+
dataValue = _useRequest19.data;
|
|
816
|
+
var levelData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
817
|
+
return {
|
|
818
|
+
levelData: levelData
|
|
819
|
+
};
|
|
820
|
+
},
|
|
821
|
+
//运维概览
|
|
822
|
+
UseBusinessTypeDistribution: function UseBusinessTypeDistribution(_ref17) {
|
|
823
|
+
var id = _ref17.id,
|
|
824
|
+
startTime = _ref17.startTime,
|
|
825
|
+
endTime = _ref17.endTime,
|
|
826
|
+
facilityTypeCode = _ref17.facilityTypeCode;
|
|
827
|
+
var _useRequest20 = (0, _ahooks.useRequest)(function () {
|
|
828
|
+
return _utils.request.post('/cloud/zhsw-xcgl/api/patrolStatistics/businessTypeDistribution', {
|
|
829
|
+
body: JSON.stringify({
|
|
830
|
+
fromId: id,
|
|
831
|
+
facilityTypeCode: facilityTypeCode,
|
|
832
|
+
startTime: startTime,
|
|
833
|
+
endTime: endTime
|
|
834
|
+
})
|
|
835
|
+
});
|
|
836
|
+
}, {
|
|
837
|
+
refreshDeps: [id, startTime, endTime, facilityTypeCode]
|
|
838
|
+
}),
|
|
839
|
+
dataValue = _useRequest20.data;
|
|
840
|
+
var ywglData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
841
|
+
return {
|
|
842
|
+
ywglData: ywglData
|
|
843
|
+
};
|
|
844
|
+
},
|
|
845
|
+
UseFactorValues: function UseFactorValues(_ref18) {
|
|
846
|
+
var id = _ref18.id;
|
|
847
|
+
var _useRequest21 = (0, _ahooks.useRequest)(function () {
|
|
848
|
+
return _utils.request.get('/cloud/device/sdk/factor/realTime/factorValues', {
|
|
849
|
+
body: {
|
|
850
|
+
facilityId: id,
|
|
851
|
+
monitorItemCode: 'pressure'
|
|
852
|
+
}
|
|
853
|
+
});
|
|
854
|
+
}, {
|
|
855
|
+
refreshDeps: [id]
|
|
856
|
+
}),
|
|
857
|
+
dataValue = _useRequest21.data;
|
|
858
|
+
var factorValue = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
|
|
859
|
+
return {
|
|
860
|
+
factorValue: factorValue
|
|
861
|
+
};
|
|
862
|
+
},
|
|
863
|
+
//运维概览
|
|
864
|
+
UseMaintenanceOverview: function UseMaintenanceOverview(_ref19) {
|
|
865
|
+
var id = _ref19.id,
|
|
866
|
+
startTime = _ref19.startTime,
|
|
867
|
+
endTime = _ref19.endTime,
|
|
868
|
+
timeType = _ref19.timeType;
|
|
869
|
+
var _useRequest22 = (0, _ahooks.useRequest)(function () {
|
|
870
|
+
return _utils.request.post('/cloud/zhsw-sjgd/api/workOrderStatistics/maintenanceOverview', {
|
|
871
|
+
body: JSON.stringify({
|
|
872
|
+
facilityId: id,
|
|
873
|
+
processDefinitionKey: 'clock_event_process',
|
|
874
|
+
startTime: startTime,
|
|
875
|
+
endTime: endTime,
|
|
876
|
+
timeType: timeType
|
|
877
|
+
})
|
|
878
|
+
});
|
|
879
|
+
}, {
|
|
880
|
+
refreshDeps: [id,, startTime, endTime, timeType]
|
|
881
|
+
}),
|
|
882
|
+
dataValue = _useRequest22.data;
|
|
883
|
+
var ywglData = (dataValue === null || dataValue === void 0 ? void 0 : dataValue.data) || [];
|
|
884
|
+
return {
|
|
885
|
+
ywglData: ywglData
|
|
886
|
+
};
|
|
887
|
+
},
|
|
888
|
+
UseBaseInfo: function UseBaseInfo(_ref20) {
|
|
889
|
+
var id = _ref20.id,
|
|
890
|
+
source = _ref20.source;
|
|
891
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22;
|
|
892
|
+
// 基本信息
|
|
893
|
+
var _useRequest23 = (0, _ahooks.useRequest)(function () {
|
|
894
|
+
return _utils.request.get('/cloud/jcss-reborn/facility/get', {
|
|
895
|
+
data: {
|
|
896
|
+
id: id,
|
|
897
|
+
desensitization: false,
|
|
898
|
+
coordType: 'wgs84'
|
|
899
|
+
}
|
|
900
|
+
});
|
|
901
|
+
}, {
|
|
902
|
+
refreshDeps: [id]
|
|
903
|
+
}),
|
|
904
|
+
baseInfoRes = _useRequest23.data;
|
|
905
|
+
var _useRequest24 = (0, _ahooks.useRequest)(function () {
|
|
906
|
+
return _utils.request.get('/cloud/device/sdk/device/info/deviceList', {
|
|
907
|
+
body: {
|
|
908
|
+
objectId: id
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
}, {
|
|
912
|
+
refreshDeps: [id]
|
|
913
|
+
}),
|
|
914
|
+
data = _useRequest24.data;
|
|
915
|
+
var hasDevice = (data === null || data === void 0 ? void 0 : data.data) && (data === null || data === void 0 ? void 0 : data.data.length) > 0 ? true : false;
|
|
916
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
917
|
+
var baseInfo = [{
|
|
918
|
+
label: '管网编码',
|
|
919
|
+
key: 'code',
|
|
920
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
921
|
+
}, {
|
|
922
|
+
label: '起点编码',
|
|
923
|
+
key: 'startPointName',
|
|
924
|
+
value: (_a = info === null || info === void 0 ? void 0 : info.dataJson) === null || _a === void 0 ? void 0 : _a.startPointName
|
|
925
|
+
}, {
|
|
926
|
+
label: '终点编码',
|
|
927
|
+
key: 'endPointName',
|
|
928
|
+
value: (_b = info === null || info === void 0 ? void 0 : info.dataJson) === null || _b === void 0 ? void 0 : _b.endPointName
|
|
929
|
+
}, {
|
|
930
|
+
label: '管网类别',
|
|
931
|
+
key: 'networkTypeName',
|
|
932
|
+
value: (_c = info === null || info === void 0 ? void 0 : info.dataJson) === null || _c === void 0 ? void 0 : _c.networkTypeName
|
|
933
|
+
}, {
|
|
934
|
+
label: '管网长度(m)',
|
|
935
|
+
key: 'lineLength',
|
|
936
|
+
value: (_d = info === null || info === void 0 ? void 0 : info.dataJson) === null || _d === void 0 ? void 0 : _d.lineLength
|
|
937
|
+
}, {
|
|
938
|
+
label: '起点管底标高(m)',
|
|
939
|
+
key: 'startZ',
|
|
940
|
+
value: (_e = info === null || info === void 0 ? void 0 : info.dataJson) === null || _e === void 0 ? void 0 : _e.startZ
|
|
941
|
+
}, {
|
|
942
|
+
label: '终点管底标高(m)',
|
|
943
|
+
key: 'endZ',
|
|
944
|
+
value: (_f = info === null || info === void 0 ? void 0 : info.dataJson) === null || _f === void 0 ? void 0 : _f.endZ
|
|
945
|
+
}, {
|
|
946
|
+
label: '管道断面形式',
|
|
947
|
+
key: 'sectionFormName',
|
|
948
|
+
value: (_g = info === null || info === void 0 ? void 0 : info.dataJson) === null || _g === void 0 ? void 0 : _g.sectionFormName
|
|
949
|
+
}, {
|
|
950
|
+
label: '管径(mm)',
|
|
951
|
+
key: 'ds',
|
|
952
|
+
value: (_h = info === null || info === void 0 ? void 0 : info.dataJson) === null || _h === void 0 ? void 0 : _h.ds
|
|
953
|
+
}, {
|
|
954
|
+
label: '起点埋深(m)',
|
|
955
|
+
key: 'startDeep',
|
|
956
|
+
value: (_j = info === null || info === void 0 ? void 0 : info.dataJson) === null || _j === void 0 ? void 0 : _j.startDeep
|
|
957
|
+
}, {
|
|
958
|
+
label: '终点埋深(m)',
|
|
959
|
+
key: 'endDeep',
|
|
960
|
+
value: (_k = info === null || info === void 0 ? void 0 : info.dataJson) === null || _k === void 0 ? void 0 : _k.endDeep
|
|
961
|
+
}, {
|
|
962
|
+
label: '管网流向',
|
|
963
|
+
key: 'flowDirectionName',
|
|
964
|
+
value: (_l = info === null || info === void 0 ? void 0 : info.dataJson) === null || _l === void 0 ? void 0 : _l.flowDirectionName
|
|
965
|
+
}, {
|
|
966
|
+
label: '管网材质',
|
|
967
|
+
key: 'lineTextureName',
|
|
968
|
+
value: (_m = info === null || info === void 0 ? void 0 : info.dataJson) === null || _m === void 0 ? void 0 : _m.lineTextureName
|
|
969
|
+
}, {
|
|
970
|
+
label: '管道糙率',
|
|
971
|
+
key: 'roughness',
|
|
972
|
+
value: (_o = info === null || info === void 0 ? void 0 : info.dataJson) === null || _o === void 0 ? void 0 : _o.roughness
|
|
973
|
+
}, {
|
|
974
|
+
label: '所属道路',
|
|
975
|
+
key: 'roadName',
|
|
976
|
+
value: (_p = info === null || info === void 0 ? void 0 : info.dataJson) === null || _p === void 0 ? void 0 : _p.roadName
|
|
977
|
+
}, {
|
|
978
|
+
label: '所属片区',
|
|
979
|
+
key: 'districtName',
|
|
980
|
+
value: (_q = info === null || info === void 0 ? void 0 : info.dataJson) === null || _q === void 0 ? void 0 : _q.districtName
|
|
981
|
+
}, {
|
|
982
|
+
label: '是否倒虹管',
|
|
983
|
+
key: 'isInvertedSiphon',
|
|
984
|
+
value: (_r = info === null || info === void 0 ? void 0 : info.dataJson) === null || _r === void 0 ? void 0 : _r.isInvertedSiphonName
|
|
985
|
+
}, {
|
|
986
|
+
label: '埋设方式',
|
|
987
|
+
key: 'layWayName',
|
|
988
|
+
value: (_s = info === null || info === void 0 ? void 0 : info.dataJson) === null || _s === void 0 ? void 0 : _s.layWayName
|
|
989
|
+
}, {
|
|
990
|
+
label: '建设时间',
|
|
991
|
+
key: 'buildDate',
|
|
992
|
+
value: info === null || info === void 0 ? void 0 : info.buildDate
|
|
993
|
+
}, {
|
|
994
|
+
label: '权属单位',
|
|
995
|
+
key: 'ownershipUnit',
|
|
996
|
+
value: (_t = info === null || info === void 0 ? void 0 : info.dataJson) === null || _t === void 0 ? void 0 : _t.ownershipUnit
|
|
997
|
+
}];
|
|
998
|
+
if (source === 'putian') {
|
|
999
|
+
switch (info === null || info === void 0 ? void 0 : info.typeCode) {
|
|
1000
|
+
case 'water_supply_line':
|
|
1001
|
+
baseInfo = [{
|
|
1002
|
+
label: '管线编码',
|
|
1003
|
+
key: 'code',
|
|
1004
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
1005
|
+
}, {
|
|
1006
|
+
label: '起点编码',
|
|
1007
|
+
key: 'startPointName',
|
|
1008
|
+
value: (_u = info === null || info === void 0 ? void 0 : info.dataJson) === null || _u === void 0 ? void 0 : _u.startPointName
|
|
1009
|
+
}, {
|
|
1010
|
+
label: '终点编码',
|
|
1011
|
+
key: 'endPointName',
|
|
1012
|
+
value: (_v = info === null || info === void 0 ? void 0 : info.dataJson) === null || _v === void 0 ? void 0 : _v.endPointName
|
|
1013
|
+
}, {
|
|
1014
|
+
label: '管网类型',
|
|
1015
|
+
key: 'typeName',
|
|
1016
|
+
value: info === null || info === void 0 ? void 0 : info.typeName
|
|
1017
|
+
}, {
|
|
1018
|
+
label: '管道长度(m)',
|
|
1019
|
+
key: 'lineLength',
|
|
1020
|
+
value: (_w = info === null || info === void 0 ? void 0 : info.dataJson) === null || _w === void 0 ? void 0 : _w.lineLength
|
|
1021
|
+
}, {
|
|
1022
|
+
label: '起点地面高程(m)',
|
|
1023
|
+
key: 'startPointGroundElevation',
|
|
1024
|
+
value: (_x = info === null || info === void 0 ? void 0 : info.dataJson) === null || _x === void 0 ? void 0 : _x.startPointGroundElevation
|
|
1025
|
+
}, {
|
|
1026
|
+
label: '终点地面高程(m)',
|
|
1027
|
+
key: 'endPointGroundElevation',
|
|
1028
|
+
value: (_y = info === null || info === void 0 ? void 0 : info.dataJson) === null || _y === void 0 ? void 0 : _y.endPointGroundElevation
|
|
1029
|
+
}, {
|
|
1030
|
+
label: '起点管顶高程(m)',
|
|
1031
|
+
key: 'startPointTopElevation',
|
|
1032
|
+
value: (_z = info === null || info === void 0 ? void 0 : info.dataJson) === null || _z === void 0 ? void 0 : _z.startPointTopElevation
|
|
1033
|
+
}, {
|
|
1034
|
+
label: '终点管顶高程(m)',
|
|
1035
|
+
key: 'endPointTopElevation',
|
|
1036
|
+
value: (_0 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _0 === void 0 ? void 0 : _0.endPointTopElevation
|
|
1037
|
+
}, {
|
|
1038
|
+
label: '管径(mm)',
|
|
1039
|
+
key: 'ds',
|
|
1040
|
+
value: (_1 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _1 === void 0 ? void 0 : _1.ds
|
|
1041
|
+
}, {
|
|
1042
|
+
label: '管材',
|
|
1043
|
+
key: 'lineTextureName',
|
|
1044
|
+
value: (_2 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _2 === void 0 ? void 0 : _2.lineTextureName
|
|
1045
|
+
}, {
|
|
1046
|
+
label: '流向',
|
|
1047
|
+
key: 'flowDirectionName',
|
|
1048
|
+
value: (_3 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _3 === void 0 ? void 0 : _3.flowDirectionName
|
|
1049
|
+
}, {
|
|
1050
|
+
label: '埋设方式',
|
|
1051
|
+
key: 'layWayName',
|
|
1052
|
+
value: (_4 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _4 === void 0 ? void 0 : _4.layWayName
|
|
1053
|
+
}, {
|
|
1054
|
+
label: '所在道路',
|
|
1055
|
+
key: 'roadName',
|
|
1056
|
+
value: (_5 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _5 === void 0 ? void 0 : _5.roadName
|
|
1057
|
+
}, {
|
|
1058
|
+
label: '行政区划',
|
|
1059
|
+
key: 'districtName',
|
|
1060
|
+
value: info === null || info === void 0 ? void 0 : info.divisionName
|
|
1061
|
+
}, {
|
|
1062
|
+
label: '管理单位',
|
|
1063
|
+
key: 'orgName',
|
|
1064
|
+
value: (_6 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _6 === void 0 ? void 0 : _6.orgName
|
|
1065
|
+
}, {
|
|
1066
|
+
label: '数据获取时间',
|
|
1067
|
+
key: 'infoTime',
|
|
1068
|
+
value: (_7 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _7 === void 0 ? void 0 : _7.infoTime
|
|
1069
|
+
}, {
|
|
1070
|
+
label: '备注',
|
|
1071
|
+
key: 'description',
|
|
1072
|
+
value: info === null || info === void 0 ? void 0 : info.description
|
|
1073
|
+
}];
|
|
1074
|
+
break;
|
|
1075
|
+
case 'line':
|
|
1076
|
+
baseInfo = [{
|
|
1077
|
+
label: '管线编码',
|
|
1078
|
+
key: 'code',
|
|
1079
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
1080
|
+
}, {
|
|
1081
|
+
label: '起点编码',
|
|
1082
|
+
key: 'startPointName',
|
|
1083
|
+
value: (_8 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _8 === void 0 ? void 0 : _8.startPointName
|
|
1084
|
+
}, {
|
|
1085
|
+
label: '终点编码',
|
|
1086
|
+
key: 'endPointName',
|
|
1087
|
+
value: (_9 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _9 === void 0 ? void 0 : _9.endPointName
|
|
1088
|
+
}, {
|
|
1089
|
+
label: '管网类型',
|
|
1090
|
+
key: 'typeName',
|
|
1091
|
+
value: info === null || info === void 0 ? void 0 : info.typeName
|
|
1092
|
+
}, {
|
|
1093
|
+
label: '管道长度(m)',
|
|
1094
|
+
key: 'lineLength',
|
|
1095
|
+
value: (_10 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _10 === void 0 ? void 0 : _10.lineLength
|
|
1096
|
+
}, {
|
|
1097
|
+
label: '起点地面高程(m)',
|
|
1098
|
+
key: 'startZ',
|
|
1099
|
+
value: (_11 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _11 === void 0 ? void 0 : _11.startZ
|
|
1100
|
+
}, {
|
|
1101
|
+
label: '终点地面高程(m)',
|
|
1102
|
+
key: 'endZ',
|
|
1103
|
+
value: (_12 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _12 === void 0 ? void 0 : _12.endZ
|
|
1104
|
+
}, {
|
|
1105
|
+
label: '起点埋深(m)',
|
|
1106
|
+
key: 'startDeep',
|
|
1107
|
+
value: (_13 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _13 === void 0 ? void 0 : _13.startDeep
|
|
1108
|
+
}, {
|
|
1109
|
+
label: '终点埋深(m)',
|
|
1110
|
+
key: 'endDeep',
|
|
1111
|
+
value: (_14 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _14 === void 0 ? void 0 : _14.endDeep
|
|
1112
|
+
}, {
|
|
1113
|
+
label: '管径(mm)',
|
|
1114
|
+
key: 'ds',
|
|
1115
|
+
value: (_15 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _15 === void 0 ? void 0 : _15.ds
|
|
1116
|
+
}, {
|
|
1117
|
+
label: '管材',
|
|
1118
|
+
key: 'lineTextureName',
|
|
1119
|
+
value: (_16 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _16 === void 0 ? void 0 : _16.lineTextureName
|
|
1120
|
+
}, {
|
|
1121
|
+
label: '流向',
|
|
1122
|
+
key: 'flowDirectionName',
|
|
1123
|
+
value: (_17 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _17 === void 0 ? void 0 : _17.flowDirectionName
|
|
1124
|
+
}, {
|
|
1125
|
+
label: '埋设方式',
|
|
1126
|
+
key: 'layWayName',
|
|
1127
|
+
value: (_18 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _18 === void 0 ? void 0 : _18.layWayName
|
|
1128
|
+
}, {
|
|
1129
|
+
label: '压力类型',
|
|
1130
|
+
key: 'pressureTypeName',
|
|
1131
|
+
value: (_19 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _19 === void 0 ? void 0 : _19.pressureTypeName
|
|
1132
|
+
}, {
|
|
1133
|
+
label: '所属道路',
|
|
1134
|
+
key: 'roadName',
|
|
1135
|
+
value: (_20 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _20 === void 0 ? void 0 : _20.roadName
|
|
1136
|
+
}, {
|
|
1137
|
+
label: '行政区划',
|
|
1138
|
+
key: 'divisionName',
|
|
1139
|
+
value: info === null || info === void 0 ? void 0 : info.divisionName
|
|
1140
|
+
}, {
|
|
1141
|
+
label: '管理单位',
|
|
1142
|
+
key: 'orgName',
|
|
1143
|
+
value: (_21 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _21 === void 0 ? void 0 : _21.orgName
|
|
1144
|
+
}, {
|
|
1145
|
+
label: '数据获取时间',
|
|
1146
|
+
key: 'infoTime',
|
|
1147
|
+
value: (_22 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _22 === void 0 ? void 0 : _22.infoTime
|
|
1148
|
+
}, {
|
|
1149
|
+
label: '备注',
|
|
1150
|
+
key: 'description',
|
|
1151
|
+
value: info === null || info === void 0 ? void 0 : info.description
|
|
1152
|
+
}];
|
|
1153
|
+
break;
|
|
1154
|
+
default:
|
|
1155
|
+
baseInfo = [{
|
|
1156
|
+
label: '编码',
|
|
1157
|
+
key: 'code',
|
|
1158
|
+
value: info === null || info === void 0 ? void 0 : info.code
|
|
1159
|
+
}, {
|
|
1160
|
+
label: '名称',
|
|
1161
|
+
key: 'code',
|
|
1162
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
1163
|
+
}, {
|
|
1164
|
+
label: '行政区划',
|
|
1165
|
+
key: 'divisionName',
|
|
1166
|
+
value: info === null || info === void 0 ? void 0 : info.divisionName
|
|
1167
|
+
}, {
|
|
1168
|
+
label: '地址',
|
|
1169
|
+
key: 'address',
|
|
1170
|
+
value: info === null || info === void 0 ? void 0 : info.address
|
|
1171
|
+
}];
|
|
1172
|
+
break;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
return {
|
|
1176
|
+
baseInfo: baseInfo,
|
|
1177
|
+
info: Object.assign(Object.assign({}, info), {
|
|
1178
|
+
dataJson: Object.assign(Object.assign({}, info === null || info === void 0 ? void 0 : info.dataJson), {
|
|
1179
|
+
code: info === null || info === void 0 ? void 0 : info.code,
|
|
1180
|
+
name: info === null || info === void 0 ? void 0 : info.name
|
|
1181
|
+
}),
|
|
1182
|
+
hasDevice: hasDevice
|
|
1183
|
+
})
|
|
1184
|
+
};
|
|
1185
|
+
},
|
|
1186
|
+
//工单统计
|
|
1187
|
+
UseCountAllType: function UseCountAllType(_ref21) {
|
|
1188
|
+
var id = _ref21.id,
|
|
1189
|
+
startTime = _ref21.startTime,
|
|
1190
|
+
endTime = _ref21.endTime,
|
|
1191
|
+
timeType = _ref21.timeType;
|
|
1192
|
+
var _useRequest25 = (0, _ahooks.useRequest)(function () {
|
|
1193
|
+
return _utils.request.post('/cloud/zhsw-sjgd/api/workOrderStatistics/countAllType', {
|
|
1194
|
+
body: JSON.stringify({
|
|
1195
|
+
facilityId: id,
|
|
1196
|
+
processDefinitionKey: 'clock_event_process',
|
|
1197
|
+
startTime: startTime,
|
|
1198
|
+
endTime: endTime,
|
|
1199
|
+
timeType: timeType
|
|
1200
|
+
})
|
|
1201
|
+
});
|
|
1202
|
+
}, {
|
|
1203
|
+
refreshDeps: [id,, startTime, endTime, timeType]
|
|
1204
|
+
}),
|
|
1205
|
+
dataValue = _useRequest25.data;
|
|
1206
|
+
var orderStatistics = (dataValue === null || dataValue === void 0 ? void 0 : dataValue.data) || [];
|
|
1207
|
+
return {
|
|
1208
|
+
orderStatistics: orderStatistics
|
|
1209
|
+
};
|
|
1210
|
+
},
|
|
1211
|
+
//工单统计
|
|
1212
|
+
UseOrderInfo: function UseOrderInfo(_ref22) {
|
|
1213
|
+
var id = _ref22.id,
|
|
1214
|
+
param = _ref22.param,
|
|
1215
|
+
YWJLCurrent = _ref22.YWJLCurrent,
|
|
1216
|
+
startTime = _ref22.startTime,
|
|
1217
|
+
endTime = _ref22.endTime,
|
|
1218
|
+
timeType = _ref22.timeType;
|
|
1219
|
+
var _a, _b, _c;
|
|
1220
|
+
var _useRequest26 = (0, _ahooks.useRequest)(function () {
|
|
1221
|
+
return _utils.request.post('/cloud/zhsw-sjgd/api/workOrderStatistics/countAllType', {
|
|
1222
|
+
body: JSON.stringify({
|
|
1223
|
+
facilityId: id,
|
|
1224
|
+
processDefinitionKey: 'clock_event_process',
|
|
1225
|
+
startTime: (0, _moment["default"])(startTime).format('YYYY-MM-DD'),
|
|
1226
|
+
endTime: (0, _moment["default"])(endTime).format('YYYY-MM-DD'),
|
|
1227
|
+
timeType: timeType
|
|
1228
|
+
})
|
|
1229
|
+
});
|
|
1230
|
+
}, {
|
|
1231
|
+
refreshDeps: [id,, startTime, endTime, timeType]
|
|
1232
|
+
}),
|
|
1233
|
+
countAllType = _useRequest26.data;
|
|
1234
|
+
//table
|
|
1235
|
+
var _useRequest27 = (0, _ahooks.useRequest)(function () {
|
|
1236
|
+
return _utils.request.get('/cloud/zhxt/case/supervises/urge/record/allCasePage', {
|
|
1237
|
+
body: Object.assign({
|
|
1238
|
+
facilityId: id,
|
|
1239
|
+
// caseSource:type,
|
|
1240
|
+
current: YWJLCurrent,
|
|
1241
|
+
size: 10,
|
|
1242
|
+
finishLimitTimeStart: startTime,
|
|
1243
|
+
finishLimitTimeEnd: endTime,
|
|
1244
|
+
processDefinitionKey: 'clock_event_process'
|
|
1245
|
+
}, param)
|
|
1246
|
+
});
|
|
1247
|
+
}, {
|
|
1248
|
+
refreshDeps: [id, param, YWJLCurrent, startTime, endTime, timeType]
|
|
1249
|
+
}),
|
|
1250
|
+
tableData = _useRequest27.data;
|
|
1251
|
+
var d = (countAllType === null || countAllType === void 0 ? void 0 : countAllType.data) || [];
|
|
1252
|
+
var statusInfo = d.map(function (item) {
|
|
1253
|
+
return Object.assign(Object.assign({}, item), {
|
|
1254
|
+
label: item.name,
|
|
1255
|
+
value: item.count,
|
|
1256
|
+
code: item.paramCode ? "".concat(item.paramCode, "_").concat(item.paramValue) : 'all'
|
|
1257
|
+
});
|
|
1258
|
+
});
|
|
1259
|
+
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) {
|
|
1260
|
+
var _a;
|
|
1261
|
+
return Object.assign(Object.assign(Object.assign({}, item), item.object), {
|
|
1262
|
+
staffName: (_a = item === null || item === void 0 ? void 0 : item.staffList) === null || _a === void 0 ? void 0 : _a[0].staffName,
|
|
1263
|
+
id: item.id,
|
|
1264
|
+
key: item.id
|
|
1265
|
+
});
|
|
1266
|
+
});
|
|
1267
|
+
return {
|
|
1268
|
+
statusInfo: statusInfo,
|
|
1269
|
+
ywglTable: ywglTable,
|
|
1270
|
+
pages: (_c = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _c === void 0 ? void 0 : _c.total
|
|
1271
|
+
};
|
|
1272
|
+
},
|
|
1273
|
+
//缺陷
|
|
1274
|
+
UseFlaw: function UseFlaw(_ref23) {
|
|
1275
|
+
var code = _ref23.code;
|
|
1276
|
+
var _a;
|
|
1277
|
+
var _useRequest28 = (0, _ahooks.useRequest)(function () {
|
|
1278
|
+
return _utils.request.get('/cloud/zhsw-psfw/api/cctv/flaw/getDetail', {
|
|
1279
|
+
body: {
|
|
1280
|
+
lineCode: code
|
|
1281
|
+
}
|
|
1282
|
+
});
|
|
1283
|
+
}, {
|
|
1284
|
+
refreshDeps: [code]
|
|
1285
|
+
}),
|
|
1286
|
+
dataValue = _useRequest28.data;
|
|
1287
|
+
var tableData = ((_a = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data) === null || _a === void 0 ? void 0 : _a.thins) || [];
|
|
1288
|
+
return {
|
|
1289
|
+
tableData: tableData
|
|
1290
|
+
};
|
|
1291
|
+
},
|
|
1292
|
+
UseSynthesisScore: function UseSynthesisScore(_ref24) {
|
|
1293
|
+
var code = _ref24.code;
|
|
1294
|
+
var _useRequest29 = (0, _ahooks.useRequest)(function () {
|
|
1295
|
+
return _utils.request.get('/cloud/zhsw-psfw/api/lineHealth/getSynthesisScore', {
|
|
1296
|
+
body: {
|
|
1297
|
+
lineCode: code
|
|
1298
|
+
}
|
|
1299
|
+
});
|
|
1300
|
+
}, {
|
|
1301
|
+
refreshDeps: [code]
|
|
1302
|
+
}),
|
|
1303
|
+
data = _useRequest29.data;
|
|
1304
|
+
var score = {};
|
|
1305
|
+
var max = 0;
|
|
1306
|
+
var zhdf = 0;
|
|
1307
|
+
var indicator = [];
|
|
1308
|
+
var healthScoreData = [];
|
|
1309
|
+
data === null || data === void 0 ? void 0 : data.data.map(function (item) {
|
|
1310
|
+
if (item.name !== '综合得分') {
|
|
1311
|
+
if (Number(item.value) > 0) {
|
|
1312
|
+
max = Number(item.value);
|
|
1313
|
+
}
|
|
1314
|
+
indicator.push({
|
|
1315
|
+
name: item.name,
|
|
1316
|
+
max: max
|
|
1317
|
+
});
|
|
1318
|
+
healthScoreData.push(Number(item.value) || 0);
|
|
1319
|
+
} else {
|
|
1320
|
+
zhdf = Number(item.value);
|
|
1321
|
+
}
|
|
1322
|
+
score = Object.assign(Object.assign({}, score), _defineProperty({}, item.name, item.value));
|
|
1323
|
+
});
|
|
1324
|
+
return {
|
|
1325
|
+
score: score,
|
|
1326
|
+
indicator: indicator,
|
|
1327
|
+
healthScoreData: healthScoreData,
|
|
1328
|
+
zhdf: zhdf
|
|
1329
|
+
};
|
|
1330
|
+
},
|
|
1331
|
+
sewerage_user: function sewerage_user(_ref25) {
|
|
1332
|
+
var id = _ref25.id;
|
|
1333
|
+
// 基本信息
|
|
1334
|
+
var _useRequest30 = (0, _ahooks.useRequest)(function () {
|
|
1335
|
+
return _utils.request.get('/cloud/zhsw-psfw/api/sewageUser/detail', {
|
|
1336
|
+
body: {
|
|
1337
|
+
id: id
|
|
1338
|
+
}
|
|
1339
|
+
});
|
|
1340
|
+
}, {
|
|
1341
|
+
refreshDeps: [id]
|
|
1342
|
+
}),
|
|
1343
|
+
baseInfoRes = _useRequest30.data;
|
|
1344
|
+
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
1345
|
+
return {
|
|
1346
|
+
info: info
|
|
1347
|
+
};
|
|
1348
|
+
}
|
|
1349
|
+
};
|
|
1350
|
+
exports.facilityService = facilityService;
|
|
1351
|
+
//# sourceMappingURL=api.js.map
|