@vtx/modals2 2.15.8 → 2.15.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -33
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/style/css.js.map +1 -1
- package/lib/style/index.js.map +1 -1
- package/lib/style/index.less +8 -8
- package/lib/style/themes/dark.less +119 -119
- package/lib/style/themes/default.less +40 -40
- package/lib/style/themes/index.less +1 -1
- package/lib/typings.d.ts +17 -17
- package/lib/util/index.js +15 -11
- package/lib/util/index.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js +13 -12
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +17 -16
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +13 -12
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +13 -12
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +16 -15
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.less +43 -43
- package/lib/vm-alarm-info/api.js +2 -1
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +18 -16
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/css.js.map +1 -1
- package/lib/vm-alarm-info/style/index.js.map +1 -1
- package/lib/vm-alarm-info/style/index.less +16 -16
- package/lib/vm-alarm-situation/api.js +3 -2
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +23 -21
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/css.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.less +67 -67
- package/lib/vm-alarm-situation-pt/api.js +3 -1
- package/lib/vm-alarm-situation-pt/api.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +14 -13
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.less +65 -65
- package/lib/vm-analysis-comparison/api.js +3 -2
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +19 -17
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/css.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.less +12 -12
- package/lib/vm-appraisal-info/AppraisalBase.js +3 -2
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js +5 -4
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +10 -9
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +15 -14
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +15 -14
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js +6 -5
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js +3 -2
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/api.js +2 -1
- package/lib/vm-appraisal-info/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +20 -19
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/css.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.less +136 -136
- package/lib/vm-base-list/OpenArrow.js +6 -5
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +16 -15
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/css.js.map +1 -1
- package/lib/vm-base-list/style/index.js.map +1 -1
- package/lib/vm-base-list/style/index.less +39 -39
- package/lib/vm-button/index.js +3 -2
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-button/style/css.js.map +1 -1
- package/lib/vm-button/style/index.js.map +1 -1
- package/lib/vm-button/style/index.less +20 -20
- package/lib/vm-charts/Distribute1.js +8 -7
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js +3 -2
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line.js +14 -12
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Line1.js +4 -2
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/Pie.js +9 -7
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.js +1 -1
- package/lib/vm-charts/index.js.map +1 -1
- package/lib/vm-charts/index.less +30 -30
- package/lib/vm-checkbox/index.js +5 -3
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/css.js.map +1 -1
- package/lib/vm-checkbox/style/index.js.map +1 -1
- package/lib/vm-checkbox/style/index.less +25 -25
- package/lib/vm-container/index.js +7 -5
- package/lib/vm-container/index.js.map +1 -1
- package/lib/vm-container/style/css.js.map +1 -1
- package/lib/vm-container/style/index.js.map +1 -1
- package/lib/vm-container/style/index.less +30 -30
- package/lib/vm-correlation-comparison/api.js +3 -2
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +18 -17
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/css.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.less +13 -13
- package/lib/vm-custom/index.js +3 -2
- package/lib/vm-custom/index.js.map +1 -1
- package/lib/vm-custom/style/css.js.map +1 -1
- package/lib/vm-custom/style/index.js.map +1 -1
- package/lib/vm-custom/style/index.less +20 -20
- package/lib/vm-empty/index.js +3 -2
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-empty/style/css.js.map +1 -1
- package/lib/vm-empty/style/index.js.map +1 -1
- package/lib/vm-empty/style/index.less +23 -23
- package/lib/vm-filter/index.js +23 -16
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/css.js.map +1 -1
- package/lib/vm-filter/style/index.js.map +1 -1
- package/lib/vm-filter/style/index.less +293 -293
- package/lib/vm-hooks/useSettings.js +2 -1
- package/lib/vm-hooks/useSettings.js.map +1 -1
- package/lib/vm-iframe-modal/index.js +5 -4
- package/lib/vm-iframe-modal/index.js.map +1 -1
- package/lib/vm-iframe-modal/style/css.js.map +1 -1
- package/lib/vm-iframe-modal/style/index.js.map +1 -1
- package/lib/vm-iframe-modal/style/index.less +9 -9
- package/lib/vm-image-text/index.js +5 -4
- package/lib/vm-image-text/index.js.map +1 -1
- package/lib/vm-image-text/style/css.js.map +1 -1
- package/lib/vm-image-text/style/index.js.map +1 -1
- package/lib/vm-image-text/style/index.less +32 -32
- package/lib/vm-info-collection/index.js +17 -15
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/css.js.map +1 -1
- package/lib/vm-info-collection/style/index.css +1 -0
- package/lib/vm-info-collection/style/index.js.map +1 -1
- package/lib/vm-info-collection/style/index.less +48 -47
- package/lib/vm-map/index.js +16 -14
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js +14 -7
- package/lib/vm-map/mapStyle.js.map +1 -1
- package/lib/vm-map/style/css.js.map +1 -1
- package/lib/vm-map/style/index.js.map +1 -1
- package/lib/vm-map/style/index.less +3 -3
- package/lib/vm-modal-table/index.js +5 -4
- package/lib/vm-modal-table/index.js.map +1 -1
- package/lib/vm-modal-table/style/css.js.map +1 -1
- package/lib/vm-modal-table/style/index.js.map +1 -1
- package/lib/vm-modal-table/style/index.less +23 -23
- package/lib/vm-nodata/index.js +1 -1
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-radio/index.js +5 -3
- package/lib/vm-radio/index.js.map +1 -1
- package/lib/vm-radio/style/css.js.map +1 -1
- package/lib/vm-radio/style/index.js.map +1 -1
- package/lib/vm-radio/style/index.less +26 -26
- package/lib/vm-real-time-monitor/api.js +3 -2
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +18 -17
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/css.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.less +12 -12
- package/lib/vm-repair-maintain/RmInfoSummary.js +7 -6
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js +3 -2
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +8 -8
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js +6 -5
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/api.js +2 -1
- package/lib/vm-repair-maintain/api.js.map +1 -1
- package/lib/vm-repair-maintain/index.js +3 -2
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/css.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.less +115 -115
- package/lib/vm-round-content/index.js +17 -15
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/css.js.map +1 -1
- package/lib/vm-round-content/style/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +33 -33
- package/lib/vm-row-col/index.js +5 -3
- package/lib/vm-row-col/index.js.map +1 -1
- package/lib/vm-row-col/style/css.js.map +1 -1
- package/lib/vm-row-col/style/index.js.map +1 -1
- package/lib/vm-select-device/index.js +8 -8
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-select-device/style/css.js.map +1 -1
- package/lib/vm-select-device/style/index.js.map +1 -1
- package/lib/vm-select-device/style/index.less +16 -16
- package/lib/vm-sub-tabs/index.js +7 -4
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/css.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.less +179 -179
- package/lib/vm-sub-title/index.js +7 -6
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-sub-title/style/css.js.map +1 -1
- package/lib/vm-sub-title/style/index.js.map +1 -1
- package/lib/vm-sub-title/style/index.less +68 -68
- package/lib/vm-table/index.js +24 -18
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/css.js.map +1 -1
- package/lib/vm-table/style/index.js.map +1 -1
- package/lib/vm-table/style/index.less +315 -315
- package/lib/vm-time-line/index.js +3 -3
- package/lib/vm-time-line/index.js.map +1 -1
- package/lib/vm-time-line/style/css.js.map +1 -1
- package/lib/vm-time-line/style/index.js.map +1 -1
- package/lib/vm-video/api.js +2 -1
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.js +6 -5
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vm-video/index.less +36 -36
- package/lib/vtx-base-info/index.js +16 -15
- package/lib/vtx-base-info/index.js.map +1 -1
- package/lib/vtx-base-info/style/css.js.map +1 -1
- package/lib/vtx-base-info/style/index.js.map +1 -1
- package/lib/vtx-base-info/style/index.less +66 -66
- package/lib/vtx-base-modal/api.js +12 -6
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/config.js +5 -4
- package/lib/vtx-base-modal/config.js.map +1 -1
- package/lib/vtx-base-modal/index.js +30 -29
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/css.js.map +1 -1
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +1075 -1075
- package/lib/vtx-car-modal/api.js +33 -20
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +9 -6
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +15 -14
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +22 -21
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +40 -40
- package/lib/vtx-car-modal/components/BaseInfo/Chain.js +3 -2
- package/lib/vtx-car-modal/components/BaseInfo/Chain.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js +3 -3
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +2 -2
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +6 -4
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +8 -7
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +10 -8
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +10 -7
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +18 -17
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +290 -290
- package/lib/vtx-car-modal/components/Collection/index.js +16 -15
- package/lib/vtx-car-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Collection/index.less +18 -18
- package/lib/vtx-car-modal/components/DetailInfo/index.js +6 -5
- package/lib/vtx-car-modal/components/DetailInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -21
- package/lib/vtx-car-modal/components/Maintenance/index.js +7 -6
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.less +35 -35
- package/lib/vtx-car-modal/components/OilConsumption/List.js +10 -9
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +5 -4
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +10 -9
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.less +39 -39
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js +6 -5
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js +3 -2
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +19 -18
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.less +82 -82
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +10 -9
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +25 -25
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +10 -8
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +15 -15
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js +6 -5
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.less +66 -66
- package/lib/vtx-car-modal/components/index.js +1 -1
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js +31 -28
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/css.js.map +1 -1
- package/lib/vtx-car-modal/style/index.js.map +1 -1
- package/lib/vtx-car-modal/style/index.less +8 -8
- package/lib/vtx-cc-cp-modal/api.js +11 -7
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +7 -5
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +13 -11
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +6 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +6 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +6 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +95 -95
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +7 -5
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +13 -11
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +3 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js +4 -2
- package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js +11 -10
- package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js +10 -8
- package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js +6 -5
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -108
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +11 -10
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +8 -8
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +10 -8
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +6 -5
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +8 -7
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +46 -46
- package/lib/vtx-cc-cp-modal/components/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/index.js +11 -8
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.less +1 -1
- package/lib/vtx-cc-cp-modal/type.js.map +1 -1
- package/lib/vtx-cp-modal/api.js +8 -4
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -11
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +4 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +20 -18
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +109 -109
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +2 -2
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +5 -3
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +3 -2
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +156 -156
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -11
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +4 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +20 -18
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +3 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +109 -109
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +10 -8
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +16 -15
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +47 -47
- package/lib/vtx-cp-modal/components/index.js +1 -1
- package/lib/vtx-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js +27 -24
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.less +1 -1
- package/lib/vtx-default-modal/api.js +9 -5
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +6 -5
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +38 -38
- package/lib/vtx-default-modal/components/index.js +1 -1
- package/lib/vtx-default-modal/components/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +26 -24
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/css.js.map +1 -1
- package/lib/vtx-default-modal/style/index.js.map +1 -1
- package/lib/vtx-default-modal/style/index.less +1 -1
- package/lib/vtx-device-modal/api.js +528 -141
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js +385 -0
- package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js.map +1 -0
- package/lib/vtx-device-modal/components/BaseInfo/index.css +66 -0
- package/lib/vtx-device-modal/components/BaseInfo/index.js +51 -38
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.less +45 -0
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js +855 -0
- package/lib/vtx-device-modal/components/DataAnalysis/Chart.js.map +1 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.css +70 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +130 -66
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.less +46 -0
- package/lib/vtx-device-modal/config.js +27 -3
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js +85 -40
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/css.js +1 -0
- package/lib/vtx-device-modal/style/css.js.map +1 -1
- package/lib/vtx-device-modal/style/index.css +0 -11
- package/lib/vtx-device-modal/style/index.js +1 -0
- package/lib/vtx-device-modal/style/index.js.map +1 -1
- package/lib/vtx-device-modal/style/index.less +0 -6
- package/lib/vtx-device-modal/types.js.map +1 -1
- package/lib/vtx-df-modal/api.js +9 -5
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +6 -5
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +9 -9
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +13 -13
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +19 -18
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.less +173 -173
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +9 -8
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +8 -7
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +10 -9
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +21 -19
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +83 -83
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +13 -13
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +14 -14
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +16 -15
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.less +136 -136
- package/lib/vtx-df-modal/components/index.js +1 -1
- package/lib/vtx-df-modal/components/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js +25 -23
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/css.js.map +1 -1
- package/lib/vtx-df-modal/style/index.js.map +1 -1
- package/lib/vtx-df-modal/style/index.less +1 -1
- package/lib/vtx-facility-modal/api.js +6 -4
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js +3 -2
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +19 -18
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.less +120 -120
- package/lib/vtx-facility-modal/components/index.js +1 -1
- package/lib/vtx-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-facility-modal/config.js +6 -3
- package/lib/vtx-facility-modal/config.js.map +1 -1
- package/lib/vtx-facility-modal/index.js +5 -4
- package/lib/vtx-facility-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/style/css.js.map +1 -1
- package/lib/vtx-facility-modal/style/index.js.map +1 -1
- package/lib/vtx-facility-modal/style/index.less +1 -1
- package/lib/vtx-facility-modal/types.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +20 -11
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +16 -13
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +15 -14
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +18 -17
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +3 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +17 -15
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +3 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +13 -11
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +25 -22
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +3 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +5 -4
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.less +256 -256
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +10 -9
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +14 -13
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +6 -5
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +11 -10
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +6 -5
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +14 -13
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-housing-estate-modal/components/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js +11 -8
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +15 -13
- package/lib/vtx-housing-estate-modal/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.less +1 -1
- package/lib/vtx-housing-estate-modal/types.js.map +1 -1
- package/lib/vtx-kh-modal/api.js +2 -1
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +4 -3
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +66 -66
- package/lib/vtx-kh-modal/components/index.js +1 -1
- package/lib/vtx-kh-modal/components/index.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +11 -10
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/css.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.less +1 -1
- package/lib/vtx-pump-modal/api.js +16 -10
- package/lib/vtx-pump-modal/api.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +26 -15
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +14 -13
- package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.css +7 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js +54 -22
- package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/AlarmRecord/index.less +103 -96
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +9 -8
- package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +11 -10
- package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js +11 -10
- package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js +11 -10
- package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.js +19 -17
- package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Basic/index.less +74 -74
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +17 -11
- package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +17 -11
- package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.js +9 -9
- package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sbxl/index.less +90 -90
- package/lib/vtx-pump-modal/components/Sjfx/index.js +36 -30
- package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sjfx/index.less +60 -60
- package/lib/vtx-pump-modal/components/Sxyx/index.js +14 -13
- package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
- package/lib/vtx-pump-modal/components/Sxyx/index.less +161 -161
- package/lib/vtx-pump-modal/components/index.js +1 -1
- package/lib/vtx-pump-modal/components/index.js.map +1 -1
- package/lib/vtx-pump-modal/config.js +6 -3
- package/lib/vtx-pump-modal/config.js.map +1 -1
- package/lib/vtx-pump-modal/index.js +17 -15
- package/lib/vtx-pump-modal/index.js.map +1 -1
- package/lib/vtx-pump-modal/style/css.js.map +1 -1
- package/lib/vtx-pump-modal/style/index.js.map +1 -1
- package/lib/vtx-pump-modal/style/index.less +1 -1
- package/lib/vtx-pump-modal/type.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +7 -5
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +6 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +6 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +6 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +11 -10
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.less +35 -35
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +5 -4
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.less +59 -59
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js +11 -10
- package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/List.js +6 -5
- package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +17 -16
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.less +29 -29
- package/lib/vtx-restaurant-modal/components/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js +4 -2
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +11 -8
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/index.less +1 -1
- package/lib/vtx-restaurant-modal/type.js.map +1 -1
- package/lib/vtx-road-modal/api.js +7 -4
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +2 -2
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +2 -2
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +146 -146
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +9 -7
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +9 -7
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +10 -9
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.less +112 -112
- package/lib/vtx-road-modal/components/index.js +1 -1
- package/lib/vtx-road-modal/components/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js +23 -20
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/css.js.map +1 -1
- package/lib/vtx-road-modal/style/index.js.map +1 -1
- package/lib/vtx-road-modal/style/index.less +1 -1
- package/lib/vtx-staff-modal/api.js +8 -4
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +9 -6
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +12 -11
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +19 -18
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +23 -23
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +4 -3
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -8
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js +3 -2
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.less +22 -22
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +10 -8
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +4 -3
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +150 -150
- package/lib/vtx-staff-modal/components/DetailInfo/index.js +18 -17
- package/lib/vtx-staff-modal/components/DetailInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/DetailInfo/index.less +38 -38
- package/lib/vtx-staff-modal/components/Equipment/index.js +3 -2
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.less +28 -28
- package/lib/vtx-staff-modal/components/index.js +1 -1
- package/lib/vtx-staff-modal/components/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js +16 -14
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/css.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.less +1 -1
- package/lib/vtx-theme-provider/index.js +5 -3
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +24 -13
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +15 -13
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +15 -14
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +18 -17
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +3 -2
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +17 -15
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +69 -69
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +13 -12
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js +6 -5
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +13 -11
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +24 -22
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js +3 -2
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js +5 -4
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.less +331 -331
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +3 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +20 -18
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +14 -13
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js +6 -5
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +13 -12
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js +6 -5
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +16 -15
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.less +102 -102
- package/lib/vtx-throw-point-modal/components/index.js +1 -1
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js +11 -8
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +20 -19
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.less +1 -1
- package/lib/vtx-throw-point-modal/types.js.map +1 -1
- package/lib/vtx-wr-modal/api.js +10 -5
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +11 -11
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +6 -5
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +20 -18
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js +3 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +106 -106
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +4 -2
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +3 -3
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +142 -142
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +15 -14
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +8 -7
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +13 -12
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +14 -13
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +8 -7
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +3 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +11 -10
- package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +13 -12
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +320 -320
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +8 -8
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +11 -11
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +10 -9
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.less +124 -124
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +13 -12
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +7 -6
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js +3 -2
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.less +82 -82
- package/lib/vtx-wr-modal/components/Score/index.js +15 -13
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Score/index.less +134 -134
- package/lib/vtx-wr-modal/components/Ztt/index.js +1 -1
- package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/index.js +1 -1
- package/lib/vtx-wr-modal/components/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js +30 -28
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/css.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.less +1 -1
- package/lib/vtx-zg-modal/api.js +2 -1
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.css +12 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +16 -14
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +101 -88
- package/lib/vtx-zg-modal/components/index.js +1 -1
- package/lib/vtx-zg-modal/components/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +11 -10
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/css.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +1 -1
- package/lib/vtx-device-modal/components/FacilityFile/index.js +0 -47
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +0 -1
- package/lib/vtx-device-modal/components/LiftInfo/index.js +0 -31
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +0 -1
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js +0 -28
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +0 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +0 -102
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +0 -1
- package/lib/vtx-device-modal/components/VideoInfo/index.js +0 -35
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +0 -1
|
@@ -4,53 +4,56 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.BaseService = void 0;
|
|
7
|
+
var _tslib = require("tslib");
|
|
7
8
|
var _utils = require("@vtx/utils");
|
|
8
9
|
var _ahooks = require("ahooks");
|
|
9
|
-
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
var _lodash = _interopRequireWildcard(require("lodash"));
|
|
11
|
+
var _dayjs = _interopRequireDefault(require("dayjs"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
16
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
17
|
+
var sortClass = function sortClass(sortData, key) {
|
|
18
|
+
var groupBy = function groupBy(array, f) {
|
|
19
|
+
var groups = {};
|
|
20
|
+
array.forEach(function (o) {
|
|
21
|
+
var group = JSON.stringify(f(o));
|
|
22
|
+
groups[group] = groups[group] || [];
|
|
23
|
+
groups[group].push(o);
|
|
15
24
|
});
|
|
25
|
+
return Object.keys(groups).map(function (group) {
|
|
26
|
+
return groups[group];
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
var sorted = groupBy(sortData, function (item) {
|
|
30
|
+
return item[key]; // 返回需要分组的对象
|
|
16
31
|
});
|
|
32
|
+
|
|
33
|
+
return sorted;
|
|
17
34
|
};
|
|
18
35
|
// 总览信息
|
|
19
|
-
var BaseService =
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
publicUrlJCSS = _ref.publicUrlJCSS,
|
|
23
|
-
code = _ref.code;
|
|
24
|
-
var _a, _b, _c, _d;
|
|
25
|
-
// 设备基础信息---获取实时数据的时间和状态
|
|
26
|
-
var _useRequest = (0, _ahooks.useRequest)(function () {
|
|
27
|
-
return _utils.request.post("".concat(publicUrlJCSS, "/api/device/getListByFacilityType"), {
|
|
28
|
-
body: {
|
|
29
|
-
deviceCode: code
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}, {
|
|
33
|
-
refreshDeps: [code]
|
|
34
|
-
}),
|
|
35
|
-
baseInfoReal = _useRequest.data;
|
|
36
|
+
var BaseService = {
|
|
37
|
+
useBaseInfo: function useBaseInfo(id, coordType) {
|
|
38
|
+
var _a, _b, _c, _d, _e, _f;
|
|
36
39
|
// 基本信息
|
|
37
|
-
var
|
|
40
|
+
var _useRequest = (0, _ahooks.useRequest)(function () {
|
|
38
41
|
return _utils.request.get('/cloud/device/entity/getBasicInfo', {
|
|
39
42
|
body: {
|
|
40
|
-
deviceId: id
|
|
43
|
+
deviceId: id,
|
|
44
|
+
coordinateType: coordType || 'bd09'
|
|
41
45
|
}
|
|
42
46
|
});
|
|
43
47
|
}, {
|
|
44
|
-
refreshDeps: [id]
|
|
48
|
+
refreshDeps: [id, coordType]
|
|
45
49
|
}),
|
|
46
|
-
baseInfoRes =
|
|
47
|
-
var
|
|
48
|
-
var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
|
|
50
|
+
baseInfoRes = _useRequest.data;
|
|
51
|
+
var info = (baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data) || {};
|
|
49
52
|
if ((_a = info === null || info === void 0 ? void 0 : info.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
|
|
50
|
-
var
|
|
53
|
+
var _monitorItems = info.monitorItems.map(function (item) {
|
|
51
54
|
return item.value;
|
|
52
55
|
});
|
|
53
|
-
info.monitorItemsName =
|
|
56
|
+
info.monitorItemsName = _monitorItems.join(',');
|
|
54
57
|
}
|
|
55
58
|
if ((_b = info === null || info === void 0 ? void 0 : info.projects) === null || _b === void 0 ? void 0 : _b.length) {
|
|
56
59
|
var projectsNameItems = info.projects.map(function (item) {
|
|
@@ -58,154 +61,538 @@ var BaseService = exports.BaseService = {
|
|
|
58
61
|
});
|
|
59
62
|
info.projectsName = projectsNameItems.join(',');
|
|
60
63
|
}
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}, {
|
|
66
|
-
label: '更新时间',
|
|
67
|
-
key: 'lastDataTime',
|
|
68
|
-
value: (_d = realdata === null || realdata === void 0 ? void 0 : realdata[0]) === null || _d === void 0 ? void 0 : _d.lastDataTime
|
|
69
|
-
}];
|
|
70
|
-
var baseInfo = [{
|
|
71
|
-
label: '设备名称',
|
|
72
|
-
key: 'name',
|
|
73
|
-
value: info === null || info === void 0 ? void 0 : info.name
|
|
74
|
-
}, {
|
|
75
|
-
label: '设备编码',
|
|
76
|
-
key: 'code',
|
|
77
|
-
value: info === null || info === void 0 ? void 0 : info.code
|
|
78
|
-
}, {
|
|
79
|
-
label: '设备类型',
|
|
80
|
-
key: 'deviceTypeName',
|
|
81
|
-
value: info === null || info === void 0 ? void 0 : info.deviceTypeName
|
|
82
|
-
}, {
|
|
83
|
-
label: '规格型号',
|
|
84
|
-
key: 'modelName',
|
|
85
|
-
value: info === null || info === void 0 ? void 0 : info.modelName
|
|
86
|
-
}, {
|
|
87
|
-
label: '所属设施',
|
|
88
|
-
key: 'sourceName',
|
|
89
|
-
value: info === null || info === void 0 ? void 0 : info.sourceName
|
|
90
|
-
}];
|
|
91
|
-
return {
|
|
92
|
-
realInfo: realInfo,
|
|
93
|
-
baseInfo: baseInfo,
|
|
94
|
-
info: info
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
UseFileInfo: function UseFileInfo(_ref2) {
|
|
98
|
-
var id = _ref2.id;
|
|
99
|
-
var _a, _b;
|
|
100
|
-
// 设备档案
|
|
101
|
-
var _useRequest3 = (0, _ahooks.useRequest)(function () {
|
|
102
|
-
return _utils.request.get('/cloud/device/entity/getBasicInfo', {
|
|
103
|
-
body: {
|
|
104
|
-
deviceId: id
|
|
64
|
+
var _useRequest2 = (0, _ahooks.useRequest)(function () {
|
|
65
|
+
return _utils.request.get('/cloud/jcss-reborn/facility/type/config/getByCode', {
|
|
66
|
+
data: {
|
|
67
|
+
code: 'device'
|
|
105
68
|
}
|
|
106
69
|
});
|
|
107
70
|
}, {
|
|
108
71
|
refreshDeps: [id]
|
|
109
72
|
}),
|
|
110
|
-
|
|
111
|
-
var
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return item.value;
|
|
121
|
-
});
|
|
122
|
-
info.projectsName = projectsNameItems.join(',');
|
|
123
|
-
}
|
|
73
|
+
tabConfig = _useRequest2.data;
|
|
74
|
+
var monitorItems = info.monitorItems;
|
|
75
|
+
var monitorItemsName = (monitorItems === null || monitorItems === void 0 ? void 0 : monitorItems.length) ? monitorItems.map(function (v) {
|
|
76
|
+
return v.value;
|
|
77
|
+
}).join(',') : '';
|
|
78
|
+
var unitObj = {
|
|
79
|
+
YEAR: '年',
|
|
80
|
+
MONYH: '月',
|
|
81
|
+
DAY: '日'
|
|
82
|
+
};
|
|
124
83
|
var baseInfo = [{
|
|
125
|
-
label: '
|
|
84
|
+
label: '设备编码',
|
|
126
85
|
key: 'code',
|
|
127
86
|
value: info === null || info === void 0 ? void 0 : info.code
|
|
87
|
+
}, {
|
|
88
|
+
label: '设备名称',
|
|
89
|
+
key: 'name',
|
|
90
|
+
value: info === null || info === void 0 ? void 0 : info.name
|
|
128
91
|
}, {
|
|
129
92
|
label: '设备类型',
|
|
130
93
|
key: 'deviceTypeName',
|
|
131
94
|
value: info === null || info === void 0 ? void 0 : info.deviceTypeName
|
|
132
95
|
}, {
|
|
133
|
-
label: '
|
|
134
|
-
key: '
|
|
135
|
-
value: info === null || info === void 0 ? void 0 : info.
|
|
96
|
+
label: '设备型号',
|
|
97
|
+
key: 'modelName',
|
|
98
|
+
value: info === null || info === void 0 ? void 0 : info.modelName
|
|
136
99
|
}, {
|
|
137
100
|
label: '设备厂家',
|
|
138
101
|
key: 'factoryName',
|
|
139
102
|
value: info === null || info === void 0 ? void 0 : info.factoryName
|
|
140
103
|
}, {
|
|
141
|
-
label: '
|
|
142
|
-
key: '
|
|
143
|
-
value: info === null || info === void 0 ? void 0 : info.
|
|
104
|
+
label: '安装位置',
|
|
105
|
+
key: 'facilityName',
|
|
106
|
+
value: info === null || info === void 0 ? void 0 : info.facilityName
|
|
107
|
+
}, {
|
|
108
|
+
label: '设备ID',
|
|
109
|
+
key: 'iotId',
|
|
110
|
+
value: info === null || info === void 0 ? void 0 : info.iotId
|
|
111
|
+
}, {
|
|
112
|
+
label: '监测项',
|
|
113
|
+
key: 'monitorItems',
|
|
114
|
+
value: monitorItemsName
|
|
115
|
+
}, {
|
|
116
|
+
label: '资产编号',
|
|
117
|
+
key: 'assetNumber',
|
|
118
|
+
value: info === null || info === void 0 ? void 0 : info.assetNumber
|
|
144
119
|
}, {
|
|
145
|
-
label: '
|
|
146
|
-
key: '
|
|
147
|
-
value: info === null || info === void 0 ? void 0 : info.
|
|
120
|
+
label: '设备位号',
|
|
121
|
+
key: 'tagNumber',
|
|
122
|
+
value: info === null || info === void 0 ? void 0 : info.tagNumber
|
|
148
123
|
}, {
|
|
149
|
-
label: '
|
|
150
|
-
key: '
|
|
151
|
-
value: info === null || info === void 0 ? void 0 : info.
|
|
124
|
+
label: '性能参数',
|
|
125
|
+
key: 'performanceParameter',
|
|
126
|
+
value: info === null || info === void 0 ? void 0 : info.performanceParameter
|
|
152
127
|
}, {
|
|
153
|
-
label: '
|
|
154
|
-
key: '
|
|
155
|
-
value: info === null || info === void 0 ? void 0 : info.
|
|
128
|
+
label: '主要材质',
|
|
129
|
+
key: 'mainMaterial',
|
|
130
|
+
value: info === null || info === void 0 ? void 0 : info.mainMaterial
|
|
156
131
|
}, {
|
|
157
|
-
label: '
|
|
158
|
-
key: '
|
|
159
|
-
value: info === null || info === void 0 ? void 0 : info.
|
|
132
|
+
label: '出厂编号',
|
|
133
|
+
key: 'factoryNumber',
|
|
134
|
+
value: info === null || info === void 0 ? void 0 : info.factoryNumber
|
|
160
135
|
}, {
|
|
161
|
-
label: '
|
|
162
|
-
key: '
|
|
163
|
-
value: info === null || info === void 0 ? void 0 : info.
|
|
136
|
+
label: '出厂日期',
|
|
137
|
+
key: 'factoryDate',
|
|
138
|
+
value: info === null || info === void 0 ? void 0 : info.factoryDate
|
|
139
|
+
}, {
|
|
140
|
+
label: '设备供应商',
|
|
141
|
+
key: 'supplier',
|
|
142
|
+
value: info === null || info === void 0 ? void 0 : info.supplier
|
|
143
|
+
}, {
|
|
144
|
+
label: '启用时间',
|
|
145
|
+
key: 'enableDate',
|
|
146
|
+
value: info === null || info === void 0 ? void 0 : info.enableDate
|
|
147
|
+
}, {
|
|
148
|
+
label: '寿命周期',
|
|
149
|
+
key: 'expectServiceLifeUnit',
|
|
150
|
+
value: unitObj[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit]
|
|
151
|
+
}, {
|
|
152
|
+
label: '预计使用寿命',
|
|
153
|
+
key: 'expectServiceLifeNumber',
|
|
154
|
+
value: info === null || info === void 0 ? void 0 : info.expectServiceLifeNumber
|
|
155
|
+
}, {
|
|
156
|
+
label: '所属单位',
|
|
157
|
+
key: 'manageUnitName',
|
|
158
|
+
value: info === null || info === void 0 ? void 0 : info.manageUnitName
|
|
159
|
+
}, {
|
|
160
|
+
label: '设备负责人',
|
|
161
|
+
key: 'responsiblePersonName',
|
|
162
|
+
value: info === null || info === void 0 ? void 0 : info.responsiblePersonName
|
|
163
|
+
}, {
|
|
164
|
+
label: '联系方式',
|
|
165
|
+
key: 'phone',
|
|
166
|
+
value: info === null || info === void 0 ? void 0 : info.phone
|
|
164
167
|
}];
|
|
165
168
|
return {
|
|
166
|
-
baseInfo: baseInfo
|
|
169
|
+
baseInfo: baseInfo,
|
|
170
|
+
info: info,
|
|
171
|
+
tabIsFilter: !!((_d = (_c = tabConfig === null || tabConfig === void 0 ? void 0 : tabConfig.data) === null || _c === void 0 ? void 0 : _c.popupConfigJson) === null || _d === void 0 ? void 0 : _d.length),
|
|
172
|
+
tabConfig: ((_f = (_e = tabConfig === null || tabConfig === void 0 ? void 0 : tabConfig.data) === null || _e === void 0 ? void 0 : _e.popupConfigJson) === null || _f === void 0 ? void 0 : _f.filter(function (ele) {
|
|
173
|
+
return ele.display;
|
|
174
|
+
}).map(function (ele) {
|
|
175
|
+
return {
|
|
176
|
+
key: ele.code,
|
|
177
|
+
title: ele.name
|
|
178
|
+
};
|
|
179
|
+
})) || [],
|
|
180
|
+
visited: !!tabConfig
|
|
167
181
|
};
|
|
168
182
|
},
|
|
169
|
-
|
|
170
|
-
var
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
183
|
+
useRealtimeList: function useRealtimeList(id) {
|
|
184
|
+
var _useRequest3 = (0, _ahooks.useRequest)(function () {
|
|
185
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
186
|
+
var res;
|
|
187
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
188
|
+
while (1) switch (_context.prev = _context.next) {
|
|
189
|
+
case 0:
|
|
190
|
+
_context.next = 2;
|
|
191
|
+
return _utils.request.get('/cloud/device/realtime/monitor/data/realtimeFactorValueList', {
|
|
192
|
+
data: {
|
|
193
|
+
deviceId: id
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
case 2:
|
|
197
|
+
res = _context.sent;
|
|
198
|
+
return _context.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
199
|
+
case 4:
|
|
200
|
+
case "end":
|
|
201
|
+
return _context.stop();
|
|
202
|
+
}
|
|
203
|
+
}, _callee);
|
|
204
|
+
}));
|
|
182
205
|
}, {
|
|
183
206
|
refreshDeps: [id]
|
|
184
207
|
}),
|
|
185
|
-
|
|
186
|
-
|
|
208
|
+
_useRequest3$data = _useRequest3.data,
|
|
209
|
+
data = _useRequest3$data === void 0 ? [] : _useRequest3$data;
|
|
210
|
+
return {
|
|
211
|
+
data: data
|
|
212
|
+
};
|
|
213
|
+
},
|
|
214
|
+
useGetChartData: function useGetChartData(_ref) {
|
|
215
|
+
var monitorItemIds = _ref.monitorItemIds,
|
|
216
|
+
deviceId = _ref.deviceId,
|
|
217
|
+
collectFrequency = _ref.collectFrequency,
|
|
218
|
+
startTime = _ref.startTime,
|
|
219
|
+
endTime = _ref.endTime;
|
|
220
|
+
var _useRequest4 = (0, _ahooks.useRequest)(function () {
|
|
221
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
222
|
+
var res;
|
|
223
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
224
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
225
|
+
case 0:
|
|
226
|
+
if (!((0, _lodash.isEmpty)(monitorItemIds) || !startTime || !endTime || !collectFrequency)) {
|
|
227
|
+
_context2.next = 2;
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
return _context2.abrupt("return", []);
|
|
231
|
+
case 2:
|
|
232
|
+
_context2.next = 4;
|
|
233
|
+
return _utils.request.get('/cloud/device/realtime/monitor/data/eCharts', {
|
|
234
|
+
data: {
|
|
235
|
+
monitorItemIds: monitorItemIds,
|
|
236
|
+
deviceId: deviceId,
|
|
237
|
+
collectFrequency: collectFrequency,
|
|
238
|
+
startTime: startTime,
|
|
239
|
+
endTime: endTime
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
case 4:
|
|
243
|
+
res = _context2.sent;
|
|
244
|
+
return _context2.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
245
|
+
case 6:
|
|
246
|
+
case "end":
|
|
247
|
+
return _context2.stop();
|
|
248
|
+
}
|
|
249
|
+
}, _callee2);
|
|
250
|
+
}));
|
|
251
|
+
}, {
|
|
252
|
+
refreshDeps: [JSON.stringify(monitorItemIds), collectFrequency, startTime, endTime]
|
|
253
|
+
}),
|
|
254
|
+
_useRequest4$data = _useRequest4.data,
|
|
255
|
+
data = _useRequest4$data === void 0 ? [] : _useRequest4$data,
|
|
256
|
+
loading = _useRequest4.loading;
|
|
187
257
|
return {
|
|
188
|
-
|
|
258
|
+
data: data,
|
|
259
|
+
loading: loading
|
|
189
260
|
};
|
|
190
261
|
},
|
|
191
|
-
|
|
192
|
-
var id = _ref4.id,
|
|
193
|
-
publicUrlJCYJ = _ref4.publicUrlJCYJ;
|
|
194
|
-
// 设备-生命周期
|
|
262
|
+
useGetDeviceTree: function useGetDeviceTree(id) {
|
|
195
263
|
var _useRequest5 = (0, _ahooks.useRequest)(function () {
|
|
196
|
-
return
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
264
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
265
|
+
var res, treeData, _data;
|
|
266
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
267
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
268
|
+
case 0:
|
|
269
|
+
_context3.next = 2;
|
|
270
|
+
return _utils.request.get('/cloud/device/realtime/monitor/data/generateDeviceJsonTree', {
|
|
271
|
+
data: {
|
|
272
|
+
showDeviceFlag: true,
|
|
273
|
+
onlyDeviceFacilityFlag: true
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
case 2:
|
|
277
|
+
res = _context3.sent;
|
|
278
|
+
treeData = [];
|
|
279
|
+
if ((res === null || res === void 0 ? void 0 : res.result) == 0 && (res === null || res === void 0 ? void 0 : res.data)) {
|
|
280
|
+
_data = res.data || {};
|
|
281
|
+
treeData = (0, _utils.parseTreeData)(_data.children || [], {
|
|
282
|
+
renderNode: function renderNode(node) {
|
|
283
|
+
var _a;
|
|
284
|
+
return Object.assign(Object.assign({}, node), {
|
|
285
|
+
title: node.type === 'device' ? "".concat(((_a = node === null || node === void 0 ? void 0 : node.attributes) === null || _a === void 0 ? void 0 : _a.deviceTypeName) ? "".concat(node.attributes.deviceTypeName, "-") : '').concat(node.name) : node.name
|
|
286
|
+
});
|
|
287
|
+
},
|
|
288
|
+
filterNode: function filterNode(node) {
|
|
289
|
+
return node.key !== id;
|
|
290
|
+
},
|
|
291
|
+
filterEmptyNodes: function filterEmptyNodes() {
|
|
292
|
+
return null;
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
return _context3.abrupt("return", treeData);
|
|
297
|
+
case 6:
|
|
298
|
+
case "end":
|
|
299
|
+
return _context3.stop();
|
|
300
|
+
}
|
|
301
|
+
}, _callee3);
|
|
302
|
+
}));
|
|
303
|
+
}),
|
|
304
|
+
_useRequest5$data = _useRequest5.data,
|
|
305
|
+
data = _useRequest5$data === void 0 ? [] : _useRequest5$data;
|
|
306
|
+
return {
|
|
307
|
+
data: data
|
|
308
|
+
};
|
|
309
|
+
},
|
|
310
|
+
useGetMonitor: function useGetMonitor(_ref2) {
|
|
311
|
+
var deviceIds = _ref2.deviceIds;
|
|
312
|
+
var _useRequest6 = (0, _ahooks.useRequest)(function () {
|
|
313
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
314
|
+
var res, data;
|
|
315
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
316
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
317
|
+
case 0:
|
|
318
|
+
_context4.next = 2;
|
|
319
|
+
return _utils.request.get('/cloud/device/monitor/item/loadItemTree', {
|
|
320
|
+
data: {
|
|
321
|
+
deviceIds: deviceIds.join(',')
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
case 2:
|
|
325
|
+
res = _context4.sent;
|
|
326
|
+
data = (res === null || res === void 0 ? void 0 : res.data) || {};
|
|
327
|
+
return _context4.abrupt("return", (0, _utils.parseTreeData)(data.children || [], {
|
|
328
|
+
renderNode: function renderNode(node) {
|
|
329
|
+
var selectable = node.type === 'monitorItem';
|
|
330
|
+
return Object.assign(Object.assign({}, node), {
|
|
331
|
+
selectable: selectable,
|
|
332
|
+
title: node.name
|
|
333
|
+
});
|
|
334
|
+
},
|
|
335
|
+
filterEmptyNodes: function filterEmptyNodes() {
|
|
336
|
+
return null;
|
|
337
|
+
}
|
|
338
|
+
}));
|
|
339
|
+
case 5:
|
|
340
|
+
case "end":
|
|
341
|
+
return _context4.stop();
|
|
342
|
+
}
|
|
343
|
+
}, _callee4);
|
|
344
|
+
}));
|
|
201
345
|
}, {
|
|
202
|
-
refreshDeps: [
|
|
346
|
+
refreshDeps: [deviceIds]
|
|
347
|
+
}),
|
|
348
|
+
_useRequest6$data = _useRequest6.data,
|
|
349
|
+
data = _useRequest6$data === void 0 ? [] : _useRequest6$data;
|
|
350
|
+
return {
|
|
351
|
+
data: data
|
|
352
|
+
};
|
|
353
|
+
},
|
|
354
|
+
useCollectList: function useCollectList(_ref3) {
|
|
355
|
+
var deviceIds = _ref3.deviceIds,
|
|
356
|
+
monitorItemIds = _ref3.monitorItemIds;
|
|
357
|
+
var _useRequest7 = (0, _ahooks.useRequest)(function () {
|
|
358
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
359
|
+
var res;
|
|
360
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
361
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
362
|
+
case 0:
|
|
363
|
+
if (!((0, _lodash.isEmpty)(deviceIds) || (0, _lodash.isEmpty)(monitorItemIds))) {
|
|
364
|
+
_context5.next = 2;
|
|
365
|
+
break;
|
|
366
|
+
}
|
|
367
|
+
return _context5.abrupt("return", []);
|
|
368
|
+
case 2:
|
|
369
|
+
_context5.next = 4;
|
|
370
|
+
return _utils.request.get('/cloud/device/monitor/factor/listCollectFrequency', {
|
|
371
|
+
data: {
|
|
372
|
+
deviceIds: deviceIds.join(','),
|
|
373
|
+
monitorItemIds: monitorItemIds.join(',')
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
case 4:
|
|
377
|
+
res = _context5.sent;
|
|
378
|
+
return _context5.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
|
|
379
|
+
case 6:
|
|
380
|
+
case "end":
|
|
381
|
+
return _context5.stop();
|
|
382
|
+
}
|
|
383
|
+
}, _callee5);
|
|
384
|
+
}));
|
|
385
|
+
}, {
|
|
386
|
+
refreshDeps: [deviceIds, monitorItemIds]
|
|
387
|
+
}),
|
|
388
|
+
_useRequest7$data = _useRequest7.data,
|
|
389
|
+
data = _useRequest7$data === void 0 ? [] : _useRequest7$data;
|
|
390
|
+
return {
|
|
391
|
+
data: data
|
|
392
|
+
};
|
|
393
|
+
},
|
|
394
|
+
useGetAnalysis: function useGetAnalysis(_ref4) {
|
|
395
|
+
var timeType = _ref4.timeType,
|
|
396
|
+
danTimeEndTime = _ref4.danTimeEndTime,
|
|
397
|
+
duoTimeType = _ref4.duoTimeType,
|
|
398
|
+
duoTimeList = _ref4.duoTimeList,
|
|
399
|
+
danTimeType = _ref4.danTimeType,
|
|
400
|
+
danTimeStartTime = _ref4.danTimeStartTime,
|
|
401
|
+
month = _ref4.month,
|
|
402
|
+
year = _ref4.year,
|
|
403
|
+
monitorItemIds = _ref4.monitorItemIds,
|
|
404
|
+
deviceIds = _ref4.deviceIds,
|
|
405
|
+
collectFrequency = _ref4.collectFrequency;
|
|
406
|
+
var _useRequest8 = (0, _ahooks.useRequest)(function () {
|
|
407
|
+
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
408
|
+
var chartDataList, format, startTime, endTime, res, dataList, newDataList;
|
|
409
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
410
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
411
|
+
case 0:
|
|
412
|
+
if (!((0, _lodash.isEmpty)(monitorItemIds) || (0, _lodash.isEmpty)(deviceIds) || !collectFrequency)) {
|
|
413
|
+
_context6.next = 2;
|
|
414
|
+
break;
|
|
415
|
+
}
|
|
416
|
+
return _context6.abrupt("return", []);
|
|
417
|
+
case 2:
|
|
418
|
+
format = 'YYYY-MM-DD HH:mm:ss';
|
|
419
|
+
if (!(timeType === 'danTime')) {
|
|
420
|
+
_context6.next = 37;
|
|
421
|
+
break;
|
|
422
|
+
}
|
|
423
|
+
//单时段
|
|
424
|
+
startTime = '', endTime = '';
|
|
425
|
+
_context6.t0 = danTimeType;
|
|
426
|
+
_context6.next = _context6.t0 === '1h' ? 8 : _context6.t0 === '24h' ? 11 : _context6.t0 === '3days' ? 14 : _context6.t0 === '7days' ? 17 : _context6.t0 === 'self' ? 20 : _context6.t0 === 'month' ? 23 : _context6.t0 === 'year' ? 26 : 29;
|
|
427
|
+
break;
|
|
428
|
+
case 8:
|
|
429
|
+
startTime = (0, _dayjs["default"])().subtract(1, 'hours').format(format);
|
|
430
|
+
endTime = (0, _dayjs["default"])().format(format);
|
|
431
|
+
return _context6.abrupt("break", 31);
|
|
432
|
+
case 11:
|
|
433
|
+
startTime = (0, _dayjs["default"])().subtract(24, 'hours').format(format);
|
|
434
|
+
endTime = (0, _dayjs["default"])().format(format);
|
|
435
|
+
return _context6.abrupt("break", 31);
|
|
436
|
+
case 14:
|
|
437
|
+
startTime = (0, _dayjs["default"])().subtract(3, 'days').format(format);
|
|
438
|
+
endTime = (0, _dayjs["default"])().format(format);
|
|
439
|
+
return _context6.abrupt("break", 31);
|
|
440
|
+
case 17:
|
|
441
|
+
startTime = (0, _dayjs["default"])().subtract(7, 'days').format(format);
|
|
442
|
+
endTime = (0, _dayjs["default"])().format(format);
|
|
443
|
+
return _context6.abrupt("break", 31);
|
|
444
|
+
case 20:
|
|
445
|
+
startTime = (0, _dayjs["default"])(danTimeStartTime).startOf('day').format(format);
|
|
446
|
+
endTime = (0, _dayjs["default"])(danTimeEndTime).endOf('day').format(format);
|
|
447
|
+
return _context6.abrupt("break", 31);
|
|
448
|
+
case 23:
|
|
449
|
+
startTime = (0, _dayjs["default"])(month).startOf('month').startOf('day').format(format);
|
|
450
|
+
endTime = (0, _dayjs["default"])(month).endOf('month').endOf('day').format(format);
|
|
451
|
+
return _context6.abrupt("break", 31);
|
|
452
|
+
case 26:
|
|
453
|
+
startTime = (0, _dayjs["default"])(year).startOf('year').startOf('day').format(format);
|
|
454
|
+
endTime = (0, _dayjs["default"])(year).endOf('year').endOf('day').format(format);
|
|
455
|
+
return _context6.abrupt("break", 31);
|
|
456
|
+
case 29:
|
|
457
|
+
startTime = (0, _dayjs["default"])().subtract(1, 'hours').startOf('day').format(format);
|
|
458
|
+
endTime = (0, _dayjs["default"])().endOf('day').format(format);
|
|
459
|
+
case 31:
|
|
460
|
+
_context6.next = 33;
|
|
461
|
+
return _utils.request.get('/cloud/device/realtime/monitor/data/eCharts', {
|
|
462
|
+
data: {
|
|
463
|
+
deviceIds: deviceIds,
|
|
464
|
+
monitorItemIds: (monitorItemIds || []).join(','),
|
|
465
|
+
startTime: startTime,
|
|
466
|
+
endTime: endTime,
|
|
467
|
+
collectFrequency: collectFrequency
|
|
468
|
+
}
|
|
469
|
+
});
|
|
470
|
+
case 33:
|
|
471
|
+
res = _context6.sent;
|
|
472
|
+
if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
|
|
473
|
+
dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
474
|
+
chartDataList = dataList.map(function (item) {
|
|
475
|
+
var values = item.values;
|
|
476
|
+
var xData = [],
|
|
477
|
+
yData = [],
|
|
478
|
+
markLine = [],
|
|
479
|
+
dataList = [];
|
|
480
|
+
var type = (item === null || item === void 0 ? void 0 : item.monitorItemDefaultChartType) || 'line';
|
|
481
|
+
if (values.length) {
|
|
482
|
+
values.map(function (one) {
|
|
483
|
+
xData.push(one.x);
|
|
484
|
+
yData.push(one.y);
|
|
485
|
+
dataList.push({
|
|
486
|
+
date: one.x,
|
|
487
|
+
value: type === 'stack' ? one.yformat || one.y : Number(one.y),
|
|
488
|
+
originValue: one.y
|
|
489
|
+
});
|
|
490
|
+
if (!markLine.map(function (m) {
|
|
491
|
+
return (0, _dayjs["default"])(m).format('YYYY-MM-DD');
|
|
492
|
+
}).includes((0, _dayjs["default"])(one.x).format('YYYY-MM-DD'))) {
|
|
493
|
+
markLine.push(one.x);
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
item.name = "".concat(item.typeChs ? "".concat(item.typeChs, "-") : '').concat(item.monitorItemName);
|
|
498
|
+
item.dataList = dataList;
|
|
499
|
+
item.markLine = markLine;
|
|
500
|
+
item.xData = xData;
|
|
501
|
+
item.yData = yData;
|
|
502
|
+
item.showMode = type;
|
|
503
|
+
var yDataList = yData.map(function (ele) {
|
|
504
|
+
return Number(ele);
|
|
505
|
+
});
|
|
506
|
+
item.maximumValue = _lodash["default"].max(yDataList);
|
|
507
|
+
item.minimumValue = _lodash["default"].min(yDataList);
|
|
508
|
+
return item;
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
|
+
_context6.next = 41;
|
|
512
|
+
break;
|
|
513
|
+
case 37:
|
|
514
|
+
newDataList = [];
|
|
515
|
+
_context6.next = 40;
|
|
516
|
+
return Promise.all(duoTimeList.map(function (item) {
|
|
517
|
+
return _utils.request.get('/cloud/device/realtime/monitor/data/eCharts', {
|
|
518
|
+
data: {
|
|
519
|
+
startTime: (0, _dayjs["default"])(item.time).startOf(duoTimeType).format(format),
|
|
520
|
+
endTime: (0, _dayjs["default"])(item.time).endOf(duoTimeType).format(format),
|
|
521
|
+
deviceIds: deviceIds,
|
|
522
|
+
monitorItemIds: monitorItemIds,
|
|
523
|
+
collectFrequency: collectFrequency
|
|
524
|
+
}
|
|
525
|
+
}).then(function (res) {
|
|
526
|
+
if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
|
|
527
|
+
return {
|
|
528
|
+
time: item.time,
|
|
529
|
+
data: res.data || []
|
|
530
|
+
};
|
|
531
|
+
}
|
|
532
|
+
return [];
|
|
533
|
+
});
|
|
534
|
+
})).then(function (dataList) {
|
|
535
|
+
newDataList = dataList.map(function (list) {
|
|
536
|
+
return ((list === null || list === void 0 ? void 0 : list.data) || []).map(function (one) {
|
|
537
|
+
return Object.assign(Object.assign({}, one), {
|
|
538
|
+
newName: "".concat(one.facilityName, "-").concat(one.name, "(").concat(list.time, ")")
|
|
539
|
+
});
|
|
540
|
+
}).map(function (item) {
|
|
541
|
+
var type = (item === null || item === void 0 ? void 0 : item.monitorItemDefaultChartType) || 'line';
|
|
542
|
+
var values = item.values;
|
|
543
|
+
var xData = [],
|
|
544
|
+
yData = [],
|
|
545
|
+
dataList = [];
|
|
546
|
+
if (values.length) {
|
|
547
|
+
values.map(function (one) {
|
|
548
|
+
xData.push(one.x);
|
|
549
|
+
yData.push(one.y);
|
|
550
|
+
dataList.push({
|
|
551
|
+
date: one.x,
|
|
552
|
+
value: type === 'stack' ? one.yformat || one.y : Number(one.y),
|
|
553
|
+
originValue: one.y
|
|
554
|
+
});
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
item.dataList = dataList;
|
|
558
|
+
item.showMode = type;
|
|
559
|
+
item.xData = xData;
|
|
560
|
+
item.yData = yData;
|
|
561
|
+
var yDataList = yData.map(function (ele) {
|
|
562
|
+
return Number(ele);
|
|
563
|
+
});
|
|
564
|
+
item.maximumValue = _lodash["default"].max(yDataList);
|
|
565
|
+
item.minimumValue = _lodash["default"].min(yDataList);
|
|
566
|
+
return item;
|
|
567
|
+
});
|
|
568
|
+
}).flat();
|
|
569
|
+
});
|
|
570
|
+
case 40:
|
|
571
|
+
chartDataList = sortClass(newDataList, 'name').map(function (item) {
|
|
572
|
+
return {
|
|
573
|
+
showMode: 'chart',
|
|
574
|
+
list: item
|
|
575
|
+
};
|
|
576
|
+
});
|
|
577
|
+
case 41:
|
|
578
|
+
return _context6.abrupt("return", chartDataList);
|
|
579
|
+
case 42:
|
|
580
|
+
case "end":
|
|
581
|
+
return _context6.stop();
|
|
582
|
+
}
|
|
583
|
+
}, _callee6);
|
|
584
|
+
}));
|
|
585
|
+
}, {
|
|
586
|
+
refreshDeps: [timeType, danTimeEndTime, duoTimeType, duoTimeList, danTimeType, danTimeStartTime, month, year, monitorItemIds, deviceIds, collectFrequency]
|
|
203
587
|
}),
|
|
204
|
-
|
|
205
|
-
|
|
588
|
+
_useRequest8$data = _useRequest8.data,
|
|
589
|
+
data = _useRequest8$data === void 0 ? [] : _useRequest8$data,
|
|
590
|
+
loading = _useRequest8.loading;
|
|
206
591
|
return {
|
|
207
|
-
|
|
592
|
+
data: data,
|
|
593
|
+
loading: loading
|
|
208
594
|
};
|
|
209
595
|
}
|
|
210
596
|
};
|
|
597
|
+
exports.BaseService = BaseService;
|
|
211
598
|
//# sourceMappingURL=api.js.map
|