@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
|
@@ -0,0 +1,855 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _antd = require("antd");
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _components = require("@vtx/components");
|
|
11
|
+
var _ahooks = require("ahooks");
|
|
12
|
+
var _dayjs = _interopRequireDefault(require("dayjs"));
|
|
13
|
+
var _icons = require("@ant-design/icons");
|
|
14
|
+
var _api = require("../../api");
|
|
15
|
+
var _lodash = _interopRequireWildcard(require("lodash"));
|
|
16
|
+
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
17
|
+
var _vmNodata = _interopRequireDefault(require("../../../vm-nodata"));
|
|
18
|
+
var echarts = _interopRequireWildcard(require("echarts"));
|
|
19
|
+
var _config = require("../../config");
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
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); }
|
|
22
|
+
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; }
|
|
23
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
24
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
25
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
26
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
27
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
28
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
30
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
31
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
32
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
33
|
+
var VtxRangePicker = _components.VtxDatePicker.VtxRangePicker,
|
|
34
|
+
VtxMonthPicker = _components.VtxDatePicker.VtxMonthPicker,
|
|
35
|
+
VtxYearPicker = _components.VtxDatePicker.VtxYearPicker;
|
|
36
|
+
var Option = _components.VtxSelect.Option;
|
|
37
|
+
var Chart = function Chart(_ref) {
|
|
38
|
+
var deviceIds = _ref.deviceIds,
|
|
39
|
+
monitorItemIds = _ref.monitorItemIds;
|
|
40
|
+
var _useSetState = (0, _ahooks.useSetState)({
|
|
41
|
+
timeType: 'danTime',
|
|
42
|
+
danTimeType: '24h',
|
|
43
|
+
duoTimeType: 'day',
|
|
44
|
+
duoTimeList: [{
|
|
45
|
+
time: (0, _dayjs["default"])().format('YYYY-MM-DD')
|
|
46
|
+
}],
|
|
47
|
+
danTimeStartTime: (0, _dayjs["default"])().format('YYYY-MM-DD'),
|
|
48
|
+
danTimeEndTime: (0, _dayjs["default"])().format('YYYY-MM-DD'),
|
|
49
|
+
month: (0, _dayjs["default"])(),
|
|
50
|
+
year: (0, _dayjs["default"])(),
|
|
51
|
+
collectFrequency: ''
|
|
52
|
+
}),
|
|
53
|
+
_useSetState2 = _slicedToArray(_useSetState, 2),
|
|
54
|
+
state = _useSetState2[0],
|
|
55
|
+
setState = _useSetState2[1];
|
|
56
|
+
var timeType = state.timeType,
|
|
57
|
+
danTimeEndTime = state.danTimeEndTime,
|
|
58
|
+
duoTimeType = state.duoTimeType,
|
|
59
|
+
duoTimeList = state.duoTimeList,
|
|
60
|
+
danTimeType = state.danTimeType,
|
|
61
|
+
danTimeStartTime = state.danTimeStartTime,
|
|
62
|
+
month = state.month,
|
|
63
|
+
year = state.year,
|
|
64
|
+
collectFrequency = state.collectFrequency;
|
|
65
|
+
var handleDuoTimeList = function handleDuoTimeList(index, value) {
|
|
66
|
+
var newDuoTimeList = JSON.parse(JSON.stringify(duoTimeList));
|
|
67
|
+
newDuoTimeList[index].time = value;
|
|
68
|
+
setState({
|
|
69
|
+
duoTimeList: newDuoTimeList
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
var _useState = (0, _react.useState)(null),
|
|
73
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
74
|
+
dates = _useState2[0],
|
|
75
|
+
setDates = _useState2[1];
|
|
76
|
+
(0, _react.useEffect)(function () {
|
|
77
|
+
if ((0, _lodash.isEmpty)(deviceIds) || (0, _lodash.isEmpty)(monitorItemIds)) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
setState({
|
|
81
|
+
collectFrequency: ''
|
|
82
|
+
});
|
|
83
|
+
}, [JSON.stringify(deviceIds), JSON.stringify(monitorItemIds)]);
|
|
84
|
+
var _BaseService$useColle = _api.BaseService.useCollectList({
|
|
85
|
+
deviceIds: deviceIds,
|
|
86
|
+
monitorItemIds: monitorItemIds
|
|
87
|
+
}),
|
|
88
|
+
_BaseService$useColle2 = _BaseService$useColle.data,
|
|
89
|
+
collectList = _BaseService$useColle2 === void 0 ? [] : _BaseService$useColle2;
|
|
90
|
+
(0, _react.useEffect)(function () {
|
|
91
|
+
var _a;
|
|
92
|
+
if (!(0, _lodash.isEmpty)(collectList)) {
|
|
93
|
+
setState({
|
|
94
|
+
collectFrequency: (_a = collectList === null || collectList === void 0 ? void 0 : collectList[0]) === null || _a === void 0 ? void 0 : _a.id
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}, [JSON.stringify(collectList)]);
|
|
98
|
+
var _BaseService$useGetAn = _api.BaseService.useGetAnalysis({
|
|
99
|
+
timeType: timeType,
|
|
100
|
+
danTimeEndTime: danTimeEndTime,
|
|
101
|
+
duoTimeType: duoTimeType,
|
|
102
|
+
duoTimeList: duoTimeList,
|
|
103
|
+
danTimeType: danTimeType,
|
|
104
|
+
danTimeStartTime: danTimeStartTime,
|
|
105
|
+
month: month,
|
|
106
|
+
year: year,
|
|
107
|
+
collectFrequency: collectFrequency,
|
|
108
|
+
deviceIds: deviceIds,
|
|
109
|
+
monitorItemIds: monitorItemIds
|
|
110
|
+
}),
|
|
111
|
+
chartDataList = _BaseService$useGetAn.data,
|
|
112
|
+
loading = _BaseService$useGetAn.loading;
|
|
113
|
+
var isHasChartData = function isHasChartData() {
|
|
114
|
+
var isHasData = true;
|
|
115
|
+
if (chartDataList.length) {
|
|
116
|
+
isHasData = true;
|
|
117
|
+
if (timeType === 'danTime') {
|
|
118
|
+
if (chartDataList.some(function (item) {
|
|
119
|
+
return item.values && item.values.length;
|
|
120
|
+
})) {
|
|
121
|
+
isHasData = true;
|
|
122
|
+
} else {
|
|
123
|
+
isHasData = false;
|
|
124
|
+
}
|
|
125
|
+
} else {
|
|
126
|
+
if (chartDataList.some(function (item) {
|
|
127
|
+
return item.list && item.list.length;
|
|
128
|
+
})) {
|
|
129
|
+
isHasData = true;
|
|
130
|
+
} else {
|
|
131
|
+
isHasData = false;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
} else {
|
|
135
|
+
isHasData = false;
|
|
136
|
+
}
|
|
137
|
+
return isHasData;
|
|
138
|
+
};
|
|
139
|
+
var isHasChartItemData = function isHasChartItemData(item) {
|
|
140
|
+
// console.log(item);
|
|
141
|
+
var isHasData = true;
|
|
142
|
+
if (timeType === 'danTime') {
|
|
143
|
+
if (item.values.length) {
|
|
144
|
+
isHasData = true;
|
|
145
|
+
} else {
|
|
146
|
+
isHasData = false;
|
|
147
|
+
}
|
|
148
|
+
} else {
|
|
149
|
+
if (item.length) {
|
|
150
|
+
isHasData = true;
|
|
151
|
+
if (item.some(function (each) {
|
|
152
|
+
return each.values.length;
|
|
153
|
+
})) {
|
|
154
|
+
isHasData = true;
|
|
155
|
+
} else {
|
|
156
|
+
isHasData = false;
|
|
157
|
+
}
|
|
158
|
+
} else {
|
|
159
|
+
isHasData = false;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return isHasData;
|
|
163
|
+
};
|
|
164
|
+
var newList = isHasChartData() ? chartDataList.filter(function (item) {
|
|
165
|
+
return isHasChartItemData(timeType === 'danTime' ? item : item.list);
|
|
166
|
+
}) : null;
|
|
167
|
+
var getGroupDanOption = function getGroupDanOption(list) {
|
|
168
|
+
var xData = _lodash["default"].uniq(_lodash["default"].flatMap(list, 'xData').sort());
|
|
169
|
+
var offsetList = [];
|
|
170
|
+
list.forEach(function (_unused, index) {
|
|
171
|
+
var maxLength = 0;
|
|
172
|
+
if (index === 0) {
|
|
173
|
+
offsetList.push(0);
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
var item = list[index - 1];
|
|
177
|
+
item.yData.map(function (v) {
|
|
178
|
+
maxLength = Math.max(maxLength, v.length);
|
|
179
|
+
});
|
|
180
|
+
offsetList.push(_lodash["default"].last(offsetList) || 0 + (maxLength * 10 + 20));
|
|
181
|
+
});
|
|
182
|
+
return {
|
|
183
|
+
color: _config.colors.map(function (color) {
|
|
184
|
+
return color.lineColor;
|
|
185
|
+
}),
|
|
186
|
+
grid: {
|
|
187
|
+
top: 70,
|
|
188
|
+
left: 100 + offsetList.length * 10,
|
|
189
|
+
right: 50,
|
|
190
|
+
bottom: 50,
|
|
191
|
+
containLabel: true
|
|
192
|
+
},
|
|
193
|
+
toolbox: {
|
|
194
|
+
show: true,
|
|
195
|
+
feature: {
|
|
196
|
+
saveAsImage: {
|
|
197
|
+
show: true
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
legend: {
|
|
202
|
+
type: 'scroll',
|
|
203
|
+
itemWidth: 17,
|
|
204
|
+
itemHeight: 10,
|
|
205
|
+
textStyle: {
|
|
206
|
+
color: '#000000A5'
|
|
207
|
+
},
|
|
208
|
+
top: 35,
|
|
209
|
+
left: 'center'
|
|
210
|
+
},
|
|
211
|
+
tooltip: {
|
|
212
|
+
trigger: 'axis',
|
|
213
|
+
formatter: function formatter(data) {
|
|
214
|
+
var circle = "<span style=\"display:inline-block;margin-right:5px;border-radius:50%;width:10px;height:10px;left:5px;background-color:";
|
|
215
|
+
var result = "".concat(data[0].name, "<br/>");
|
|
216
|
+
data.map(function (v) {
|
|
217
|
+
var info = list.find(function (item) {
|
|
218
|
+
return item.name === v.seriesName;
|
|
219
|
+
}) || {};
|
|
220
|
+
result += "".concat(circle + _config.colors[v.seriesIndex % 5].lineColor, "\"></span>").concat(v.seriesName, "\uFF1A").concat(v.value).concat(info.unit || '', "<br/>");
|
|
221
|
+
});
|
|
222
|
+
return result;
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
xAxis: [{
|
|
226
|
+
type: 'category',
|
|
227
|
+
boundaryGap: false,
|
|
228
|
+
axisLine: {
|
|
229
|
+
show: true,
|
|
230
|
+
lineStyle: {
|
|
231
|
+
color: 'color:"#000000A5"'
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
axisLabel: {
|
|
235
|
+
textStyle: {
|
|
236
|
+
color: '#000000A5',
|
|
237
|
+
fontSize: 12
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
axisTick: {
|
|
241
|
+
show: false
|
|
242
|
+
},
|
|
243
|
+
data: xData
|
|
244
|
+
}],
|
|
245
|
+
yAxis: list.map(function (item, index) {
|
|
246
|
+
return {
|
|
247
|
+
name: "".concat(item.newName || item.name || '').concat(item.unit ? "(".concat(item.unit, ")") : ''),
|
|
248
|
+
minInterval: 1,
|
|
249
|
+
offset: offsetList[index],
|
|
250
|
+
position: 'left',
|
|
251
|
+
// maxInterval: 5,
|
|
252
|
+
nameTextStyle: {
|
|
253
|
+
color: _config.colors[index % 5].lineColor
|
|
254
|
+
},
|
|
255
|
+
nameLocation: 'middle',
|
|
256
|
+
nameGap: 0,
|
|
257
|
+
splitLine: {
|
|
258
|
+
lineStyle: {
|
|
259
|
+
color: '#E8E8E8',
|
|
260
|
+
type: 'dashed'
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
axisLine: {
|
|
264
|
+
show: true,
|
|
265
|
+
color: _config.colors[index % 5].lineColor
|
|
266
|
+
},
|
|
267
|
+
axisLabel: {
|
|
268
|
+
color: _config.colors[index % 5].lineColor,
|
|
269
|
+
margin: 20
|
|
270
|
+
},
|
|
271
|
+
axisTick: {
|
|
272
|
+
show: false
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
}),
|
|
276
|
+
series: list.flatMap(function (item, index) {
|
|
277
|
+
if (item.showMode === 'stack') {
|
|
278
|
+
var _state = _lodash["default"].map(_lodash["default"].uniqBy(item.dataList, 'value'));
|
|
279
|
+
return [].concat(_toConsumableArray((_state || []).map(function (v) {
|
|
280
|
+
return {
|
|
281
|
+
name: v.value,
|
|
282
|
+
type: 'bar',
|
|
283
|
+
data: [],
|
|
284
|
+
yAxisIndex: index,
|
|
285
|
+
markLine: {
|
|
286
|
+
symbol: ['none', 'none'],
|
|
287
|
+
data: (item.markLine || []).filter(function (_unused, i) {
|
|
288
|
+
return i !== 0;
|
|
289
|
+
}).map(function (m, i) {
|
|
290
|
+
return {
|
|
291
|
+
name: (0, _dayjs["default"])(m.data).format('YYYY-MM-DD'),
|
|
292
|
+
xAxis: "(".concat(i + 1, ")").concat((0, _dayjs["default"])(m.data).format('HH:mm')),
|
|
293
|
+
lineStyle: {
|
|
294
|
+
color: '#4159A7'
|
|
295
|
+
},
|
|
296
|
+
label: {
|
|
297
|
+
position: 'end',
|
|
298
|
+
formatter: '{b}'
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
})
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
})), [{
|
|
305
|
+
type: 'custom',
|
|
306
|
+
yAxisIndex: index,
|
|
307
|
+
renderItem: function renderItem(params, api) {
|
|
308
|
+
var categoryIndex = api.value(0);
|
|
309
|
+
var start = api.coord([api.value(1), categoryIndex]);
|
|
310
|
+
var end = api.coord([api.value(2), categoryIndex]);
|
|
311
|
+
var height = 18;
|
|
312
|
+
return {
|
|
313
|
+
type: 'rect',
|
|
314
|
+
shape: echarts.graphic.clipRectByRect({
|
|
315
|
+
x: start[0],
|
|
316
|
+
y: start[1] - height / 2,
|
|
317
|
+
width: end[0] - start[0],
|
|
318
|
+
height: height
|
|
319
|
+
}, {
|
|
320
|
+
x: params.coordSys.x,
|
|
321
|
+
y: params.coordSys.y,
|
|
322
|
+
width: params.coordSys.width,
|
|
323
|
+
height: params.coordSys.height
|
|
324
|
+
}),
|
|
325
|
+
style: api.style()
|
|
326
|
+
};
|
|
327
|
+
},
|
|
328
|
+
encode: {
|
|
329
|
+
x: [1, 2],
|
|
330
|
+
y: 0
|
|
331
|
+
},
|
|
332
|
+
data: (item.dataList || []).map(function (item, index, arr) {
|
|
333
|
+
var _a;
|
|
334
|
+
return {
|
|
335
|
+
itemStyle: {
|
|
336
|
+
normal: {
|
|
337
|
+
color: _config.colors[item.originValue]
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
color: _config.colors[item.originValue],
|
|
341
|
+
name: item.value,
|
|
342
|
+
label: item.value,
|
|
343
|
+
value: [0, item.date, (_a = arr[index + 1]) === null || _a === void 0 ? void 0 : _a.date]
|
|
344
|
+
};
|
|
345
|
+
})
|
|
346
|
+
}]);
|
|
347
|
+
}
|
|
348
|
+
return [{
|
|
349
|
+
type: item.showMode,
|
|
350
|
+
name: item.newName || item.name || '',
|
|
351
|
+
data: (item.yData || []).map(function (y, i) {
|
|
352
|
+
return {
|
|
353
|
+
value: Number(y).toFixed(2),
|
|
354
|
+
name: item.xData[i]
|
|
355
|
+
};
|
|
356
|
+
}),
|
|
357
|
+
animationEasing: 'linear',
|
|
358
|
+
animationDuration: 2000,
|
|
359
|
+
smooth: true,
|
|
360
|
+
// symbol: 'none',
|
|
361
|
+
symbolSize: 1,
|
|
362
|
+
xAxisIndex: 0,
|
|
363
|
+
yAxisIndex: index,
|
|
364
|
+
itemStyle: {
|
|
365
|
+
normal: {
|
|
366
|
+
lineStyle: {
|
|
367
|
+
color: _config.colors[index % 5].lineColor,
|
|
368
|
+
width: 2
|
|
369
|
+
},
|
|
370
|
+
areaStyle: {
|
|
371
|
+
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
|
|
372
|
+
offset: 0,
|
|
373
|
+
color: _config.colors[index % 5].areaColor0
|
|
374
|
+
}, {
|
|
375
|
+
offset: 1,
|
|
376
|
+
color: _config.colors[index % 5].areaColor1
|
|
377
|
+
}])
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}];
|
|
382
|
+
})
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
var getGroupDuoOption = function getGroupDuoOption(list) {
|
|
386
|
+
var newList = list.map(function (item) {
|
|
387
|
+
var xData = _lodash["default"].uniq(_lodash["default"].flatMap(item.list, 'xData').sort());
|
|
388
|
+
var yData = xData.map(function (x) {
|
|
389
|
+
var _a;
|
|
390
|
+
var values = ((_a = item.list.find(function (i) {
|
|
391
|
+
return i.values.find(function (v) {
|
|
392
|
+
return v.x === x;
|
|
393
|
+
});
|
|
394
|
+
})) === null || _a === void 0 ? void 0 : _a.values) || [];
|
|
395
|
+
var keyByValues = _lodash["default"].keyBy(values, 'x');
|
|
396
|
+
return keyByValues[x].y;
|
|
397
|
+
});
|
|
398
|
+
return Object.assign(Object.assign({}, item.list[0]), {
|
|
399
|
+
yData: yData,
|
|
400
|
+
newName: '',
|
|
401
|
+
xData: xData
|
|
402
|
+
});
|
|
403
|
+
});
|
|
404
|
+
var xData = _lodash["default"].uniq(_lodash["default"].flatMap(newList, 'xData').sort());
|
|
405
|
+
var offsetList = [];
|
|
406
|
+
newList.forEach(function (_unused, index) {
|
|
407
|
+
var maxLength = 0;
|
|
408
|
+
if (index === 0) {
|
|
409
|
+
offsetList.push(0);
|
|
410
|
+
return;
|
|
411
|
+
}
|
|
412
|
+
var item = newList[index - 1];
|
|
413
|
+
item.yData.map(function (v) {
|
|
414
|
+
maxLength = Math.max(maxLength, v.length);
|
|
415
|
+
});
|
|
416
|
+
offsetList.push(_lodash["default"].last(offsetList) || 0 + maxLength * 10);
|
|
417
|
+
});
|
|
418
|
+
return {
|
|
419
|
+
color: _config.colors.map(function (color) {
|
|
420
|
+
return color.lineColor;
|
|
421
|
+
}),
|
|
422
|
+
grid: {
|
|
423
|
+
top: 70,
|
|
424
|
+
left: 100 + offsetList.length * 10,
|
|
425
|
+
right: 50,
|
|
426
|
+
bottom: 50,
|
|
427
|
+
containLabel: true
|
|
428
|
+
},
|
|
429
|
+
toolbox: {
|
|
430
|
+
show: true,
|
|
431
|
+
feature: {
|
|
432
|
+
saveAsImage: {
|
|
433
|
+
show: true
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
legend: {
|
|
438
|
+
itemWidth: 17,
|
|
439
|
+
itemHeight: 10,
|
|
440
|
+
textStyle: {
|
|
441
|
+
color: '#000000A5'
|
|
442
|
+
},
|
|
443
|
+
top: 35,
|
|
444
|
+
left: 'center'
|
|
445
|
+
},
|
|
446
|
+
tooltip: {
|
|
447
|
+
trigger: 'axis',
|
|
448
|
+
formatter: function formatter(data) {
|
|
449
|
+
var circle = "<span style=\"display:inline-block;margin-right:5px;border-radius:50%;width:10px;height:10px;left:5px;background-color:";
|
|
450
|
+
var result = "".concat(data[0].name, "<br/>");
|
|
451
|
+
data.map(function (v) {
|
|
452
|
+
var info = newList.find(function (item) {
|
|
453
|
+
return item.name === v.seriesName;
|
|
454
|
+
}) || {};
|
|
455
|
+
result += "".concat(circle + _config.colors[v.seriesIndex % 5].lineColor, "\"></span>").concat(v.seriesName, "\uFF1A").concat(v.value).concat(info.unit || '', "<br/>");
|
|
456
|
+
});
|
|
457
|
+
return result;
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
xAxis: [{
|
|
461
|
+
type: 'category',
|
|
462
|
+
boundaryGap: false,
|
|
463
|
+
axisLine: {
|
|
464
|
+
show: true,
|
|
465
|
+
lineStyle: {
|
|
466
|
+
color: 'color:"#000000A5"'
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
axisLabel: {
|
|
470
|
+
textStyle: {
|
|
471
|
+
color: '#000000A5',
|
|
472
|
+
fontSize: 12
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
axisTick: {
|
|
476
|
+
show: false
|
|
477
|
+
},
|
|
478
|
+
data: xData
|
|
479
|
+
}],
|
|
480
|
+
yAxis: newList.map(function (item, index) {
|
|
481
|
+
return {
|
|
482
|
+
name: "".concat(item.newName || item.name || '').concat(item.unit ? "(".concat(item.unit, ")") : ''),
|
|
483
|
+
minInterval: 1,
|
|
484
|
+
offset: offsetList[index],
|
|
485
|
+
position: 'left',
|
|
486
|
+
// maxInterval: 5,
|
|
487
|
+
nameTextStyle: {
|
|
488
|
+
color: _config.colors[index % 5].lineColor
|
|
489
|
+
},
|
|
490
|
+
nameLocation: 'middle',
|
|
491
|
+
nameGap: 0,
|
|
492
|
+
splitLine: {
|
|
493
|
+
lineStyle: {
|
|
494
|
+
color: '#E8E8E8',
|
|
495
|
+
type: 'dashed'
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
axisLine: {
|
|
499
|
+
show: true,
|
|
500
|
+
color: _config.colors[index % 5].lineColor
|
|
501
|
+
},
|
|
502
|
+
axisLabel: {
|
|
503
|
+
color: _config.colors[index % 5].lineColor,
|
|
504
|
+
margin: 20
|
|
505
|
+
},
|
|
506
|
+
axisTick: {
|
|
507
|
+
show: false
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
}),
|
|
511
|
+
series: newList.flatMap(function (item, index) {
|
|
512
|
+
if (item.showMode === 'stack') {
|
|
513
|
+
var _state2 = _lodash["default"].map(_lodash["default"].uniqBy(item.dataList, 'value'));
|
|
514
|
+
return [].concat(_toConsumableArray((_state2 || []).map(function (v) {
|
|
515
|
+
return {
|
|
516
|
+
name: v.value,
|
|
517
|
+
type: 'bar',
|
|
518
|
+
data: [],
|
|
519
|
+
yAxisIndex: index,
|
|
520
|
+
markLine: {
|
|
521
|
+
symbol: ['none', 'none'],
|
|
522
|
+
data: (item.markLine || []).filter(function (_unused, i) {
|
|
523
|
+
return i !== 0;
|
|
524
|
+
}).map(function (m, i) {
|
|
525
|
+
return {
|
|
526
|
+
name: (0, _dayjs["default"])(m.data).format('YYYY-MM-DD'),
|
|
527
|
+
xAxis: "(".concat(i + 1, ")").concat((0, _dayjs["default"])(m.data).format('HH:mm')),
|
|
528
|
+
lineStyle: {
|
|
529
|
+
color: '#4159A7'
|
|
530
|
+
},
|
|
531
|
+
label: {
|
|
532
|
+
position: 'end',
|
|
533
|
+
formatter: '{b}'
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
})
|
|
537
|
+
}
|
|
538
|
+
};
|
|
539
|
+
})), [{
|
|
540
|
+
type: 'custom',
|
|
541
|
+
yAxisIndex: index,
|
|
542
|
+
renderItem: function renderItem(params, api) {
|
|
543
|
+
var categoryIndex = api.value(0);
|
|
544
|
+
var start = api.coord([api.value(1), categoryIndex]);
|
|
545
|
+
var end = api.coord([api.value(2), categoryIndex]);
|
|
546
|
+
var height = 18;
|
|
547
|
+
return {
|
|
548
|
+
type: 'rect',
|
|
549
|
+
shape: echarts.graphic.clipRectByRect({
|
|
550
|
+
x: start[0],
|
|
551
|
+
y: start[1] - height / 2,
|
|
552
|
+
width: end[0] - start[0],
|
|
553
|
+
height: height
|
|
554
|
+
}, {
|
|
555
|
+
x: params.coordSys.x,
|
|
556
|
+
y: params.coordSys.y,
|
|
557
|
+
width: params.coordSys.width,
|
|
558
|
+
height: params.coordSys.height
|
|
559
|
+
}),
|
|
560
|
+
style: api.style()
|
|
561
|
+
};
|
|
562
|
+
},
|
|
563
|
+
encode: {
|
|
564
|
+
x: [1, 2],
|
|
565
|
+
y: 0
|
|
566
|
+
},
|
|
567
|
+
data: (item.dataList || []).map(function (item, index, arr) {
|
|
568
|
+
var _a;
|
|
569
|
+
return {
|
|
570
|
+
itemStyle: {
|
|
571
|
+
normal: {
|
|
572
|
+
color: _config.colors[item.originValue]
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
color: _config.colors[item.originValue],
|
|
576
|
+
name: item.value,
|
|
577
|
+
label: item.value,
|
|
578
|
+
value: [0, item.date, (_a = arr[index + 1]) === null || _a === void 0 ? void 0 : _a.date]
|
|
579
|
+
};
|
|
580
|
+
})
|
|
581
|
+
}]);
|
|
582
|
+
}
|
|
583
|
+
return [{
|
|
584
|
+
type: 'line',
|
|
585
|
+
name: item.newName || item.name || '',
|
|
586
|
+
data: (item.yData || []).map(function (y, i) {
|
|
587
|
+
return {
|
|
588
|
+
value: Number(y).toFixed(2),
|
|
589
|
+
name: item.xData[i]
|
|
590
|
+
};
|
|
591
|
+
}),
|
|
592
|
+
animationEasing: 'linear',
|
|
593
|
+
animationDuration: 2000,
|
|
594
|
+
smooth: true,
|
|
595
|
+
// symbol: 'none',
|
|
596
|
+
symbolSize: 5,
|
|
597
|
+
xAxisIndex: 0,
|
|
598
|
+
yAxisIndex: index,
|
|
599
|
+
itemStyle: {
|
|
600
|
+
normal: {
|
|
601
|
+
lineStyle: {
|
|
602
|
+
color: _config.colors[index % 5].lineColor,
|
|
603
|
+
width: 2
|
|
604
|
+
},
|
|
605
|
+
areaStyle: {
|
|
606
|
+
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
|
|
607
|
+
offset: 0,
|
|
608
|
+
color: _config.colors[index % 5].areaColor0
|
|
609
|
+
}, {
|
|
610
|
+
offset: 1,
|
|
611
|
+
color: _config.colors[index % 5].areaColor1
|
|
612
|
+
}])
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}];
|
|
617
|
+
})
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_antd.Space, null, /*#__PURE__*/_react["default"].createElement("span", null, "\u65F6\u95F4\uFF1A"), /*#__PURE__*/_react["default"].createElement(_components.VtxSelect, {
|
|
621
|
+
allowClear: false,
|
|
622
|
+
style: {
|
|
623
|
+
width: 100
|
|
624
|
+
},
|
|
625
|
+
value: timeType,
|
|
626
|
+
onChange: function onChange(e) {
|
|
627
|
+
setState({
|
|
628
|
+
timeType: e
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
}, /*#__PURE__*/_react["default"].createElement(Option, {
|
|
632
|
+
value: 'danTime'
|
|
633
|
+
}, "\u5355\u65F6\u6BB5"), /*#__PURE__*/_react["default"].createElement(Option, {
|
|
634
|
+
value: 'duoTime'
|
|
635
|
+
}, "\u591A\u65F6\u6BB5")), timeType === 'danTime' ? /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Group, {
|
|
636
|
+
optionType: "button",
|
|
637
|
+
value: danTimeType,
|
|
638
|
+
onChange: function onChange(_ref2) {
|
|
639
|
+
var value = _ref2.target.value;
|
|
640
|
+
setState({
|
|
641
|
+
danTimeType: value
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
}, [
|
|
645
|
+
// { label: '近1小时', value: '1h' },
|
|
646
|
+
{
|
|
647
|
+
label: '24小时',
|
|
648
|
+
value: '24h'
|
|
649
|
+
}, {
|
|
650
|
+
label: '3天',
|
|
651
|
+
value: '3days'
|
|
652
|
+
}, {
|
|
653
|
+
label: '7天',
|
|
654
|
+
value: '7days'
|
|
655
|
+
}].concat(_toConsumableArray(collectFrequency === 'day' ? [{
|
|
656
|
+
label: '月',
|
|
657
|
+
value: 'month'
|
|
658
|
+
}] : []), _toConsumableArray(collectFrequency === 'month' ? [{
|
|
659
|
+
label: '年',
|
|
660
|
+
value: 'year'
|
|
661
|
+
}] : []), [{
|
|
662
|
+
label: '自定义',
|
|
663
|
+
value: 'self'
|
|
664
|
+
}]).map(function (item) {
|
|
665
|
+
return item.value === 'self' ? /*#__PURE__*/_react["default"].createElement(_antd.Popover, {
|
|
666
|
+
content: /*#__PURE__*/_react["default"].createElement(VtxRangePicker, {
|
|
667
|
+
allowClear: false,
|
|
668
|
+
style: {
|
|
669
|
+
marginLeft: 10
|
|
670
|
+
},
|
|
671
|
+
value: dates || [danTimeStartTime, danTimeEndTime],
|
|
672
|
+
onChange: function onChange(_unused, dateStr) {
|
|
673
|
+
setState({
|
|
674
|
+
danTimeStartTime: dateStr[0],
|
|
675
|
+
danTimeEndTime: dateStr[1]
|
|
676
|
+
});
|
|
677
|
+
},
|
|
678
|
+
onCalendarChange: function onCalendarChange(val) {
|
|
679
|
+
setDates(val);
|
|
680
|
+
},
|
|
681
|
+
onOpenChange: function onOpenChange(open) {
|
|
682
|
+
if (open) {
|
|
683
|
+
setDates([]);
|
|
684
|
+
} else {
|
|
685
|
+
setDates(null);
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
disabledDate: function disabledDate(current) {
|
|
689
|
+
var day = collectFrequency === 'day' ? 31 : 7;
|
|
690
|
+
if (!dates) {
|
|
691
|
+
return false;
|
|
692
|
+
}
|
|
693
|
+
var tooLate = dates[0] && current.diff(dates[0], 'days') > day;
|
|
694
|
+
var tooEarly = dates[1] && dates[1].diff(current, 'days') > day;
|
|
695
|
+
return !!tooEarly || !!tooLate;
|
|
696
|
+
}
|
|
697
|
+
}),
|
|
698
|
+
trigger: "click"
|
|
699
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Button, {
|
|
700
|
+
value: item.value
|
|
701
|
+
}, item.label)) : item.value === 'month' ? /*#__PURE__*/_react["default"].createElement(_antd.Popover, {
|
|
702
|
+
content: /*#__PURE__*/_react["default"].createElement(VtxMonthPicker, {
|
|
703
|
+
allowClear: false,
|
|
704
|
+
style: {
|
|
705
|
+
marginLeft: 10
|
|
706
|
+
},
|
|
707
|
+
value: month,
|
|
708
|
+
onChange: function onChange(date) {
|
|
709
|
+
setState({
|
|
710
|
+
month: date
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
}),
|
|
714
|
+
trigger: "click"
|
|
715
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Button, {
|
|
716
|
+
value: item.value
|
|
717
|
+
}, item.label)) : item.value === 'year' ? /*#__PURE__*/_react["default"].createElement(_antd.Popover, {
|
|
718
|
+
content: /*#__PURE__*/_react["default"].createElement(VtxYearPicker, {
|
|
719
|
+
allowClear: false,
|
|
720
|
+
style: {
|
|
721
|
+
marginLeft: 10
|
|
722
|
+
},
|
|
723
|
+
value: year,
|
|
724
|
+
onChange: function onChange(date) {
|
|
725
|
+
setState({
|
|
726
|
+
year: date
|
|
727
|
+
});
|
|
728
|
+
},
|
|
729
|
+
disabledDate: function disabledDate(current) {
|
|
730
|
+
return current && current >= (0, _dayjs["default"])().startOf('day');
|
|
731
|
+
}
|
|
732
|
+
}),
|
|
733
|
+
trigger: "click"
|
|
734
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Button, {
|
|
735
|
+
value: item.value
|
|
736
|
+
}, item.label)) : /*#__PURE__*/_react["default"].createElement(_antd.Radio.Button, {
|
|
737
|
+
value: item.value
|
|
738
|
+
}, item.label);
|
|
739
|
+
})), /*#__PURE__*/_react["default"].createElement(_antd.Tooltip, {
|
|
740
|
+
title: collectFrequency === 'day' ? '自定义时间仅支持查30天' : '自定义时间仅支持查七天'
|
|
741
|
+
}, /*#__PURE__*/_react["default"].createElement(_icons.QuestionCircleOutlined, {
|
|
742
|
+
style: {
|
|
743
|
+
marginLeft: 8,
|
|
744
|
+
fontSize: 16
|
|
745
|
+
}
|
|
746
|
+
}))) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
747
|
+
style: {
|
|
748
|
+
marginLeft: 10
|
|
749
|
+
}
|
|
750
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Group, {
|
|
751
|
+
options: collectFrequency === 'realtime' ? [{
|
|
752
|
+
label: '日',
|
|
753
|
+
value: 'day'
|
|
754
|
+
}] : [{
|
|
755
|
+
label: '日',
|
|
756
|
+
value: 'day'
|
|
757
|
+
}, {
|
|
758
|
+
label: '月',
|
|
759
|
+
value: 'month'
|
|
760
|
+
}],
|
|
761
|
+
optionType: "button",
|
|
762
|
+
value: duoTimeType,
|
|
763
|
+
onChange: function onChange(_ref3) {
|
|
764
|
+
var value = _ref3.target.value;
|
|
765
|
+
setState({
|
|
766
|
+
duoTimeType: value
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
}), duoTimeList.length === 5 ? null : /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
770
|
+
type: "primary",
|
|
771
|
+
icon: /*#__PURE__*/_react["default"].createElement(_icons.PlusOutlined, null),
|
|
772
|
+
style: {
|
|
773
|
+
marginLeft: 20
|
|
774
|
+
},
|
|
775
|
+
onClick: function onClick() {
|
|
776
|
+
var _a;
|
|
777
|
+
var lastDate = (_a = duoTimeList[(duoTimeList === null || duoTimeList === void 0 ? void 0 : duoTimeList.length) - 1]) === null || _a === void 0 ? void 0 : _a.time;
|
|
778
|
+
var newDate = (0, _dayjs["default"])(lastDate).subtract(1, duoTimeType === 'day' ? 'days' : 'months').format(duoTimeType === 'day' ? 'YYYY-MM-DD' : 'YYYY-MM');
|
|
779
|
+
setState({
|
|
780
|
+
duoTimeList: [].concat(_toConsumableArray(duoTimeList), [{
|
|
781
|
+
time: newDate
|
|
782
|
+
}])
|
|
783
|
+
});
|
|
784
|
+
}
|
|
785
|
+
}, "\u65B0\u589E")), /*#__PURE__*/_react["default"].createElement("div", null, timeType === 'duoTime' && duoTimeList.map(function (item, index) {
|
|
786
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
787
|
+
style: {
|
|
788
|
+
marginLeft: 20,
|
|
789
|
+
position: 'relative'
|
|
790
|
+
},
|
|
791
|
+
key: index
|
|
792
|
+
}, duoTimeType === 'day' ? /*#__PURE__*/_react["default"].createElement(_components.VtxDatePicker, {
|
|
793
|
+
allowClear: false,
|
|
794
|
+
value: item.time,
|
|
795
|
+
onChange: function onChange(_unused, dateStr) {
|
|
796
|
+
handleDuoTimeList(index, dateStr);
|
|
797
|
+
}
|
|
798
|
+
}) : /*#__PURE__*/_react["default"].createElement(VtxMonthPicker, {
|
|
799
|
+
allowClear: false,
|
|
800
|
+
value: item.time,
|
|
801
|
+
onChange: function onChange(_, dateStr) {
|
|
802
|
+
handleDuoTimeList(index, dateStr);
|
|
803
|
+
}
|
|
804
|
+
}), index === 0 ? null : /*#__PURE__*/_react["default"].createElement(_icons.CloseCircleOutlined, {
|
|
805
|
+
style: {
|
|
806
|
+
color: '#bbb8b8',
|
|
807
|
+
position: 'absolute',
|
|
808
|
+
top: -7,
|
|
809
|
+
right: -15,
|
|
810
|
+
cursor: 'pointer'
|
|
811
|
+
},
|
|
812
|
+
onClick: function onClick() {
|
|
813
|
+
setState({
|
|
814
|
+
duoTimeList: duoTimeList.filter(function (_unused, timeIndex) {
|
|
815
|
+
return timeIndex !== index;
|
|
816
|
+
})
|
|
817
|
+
});
|
|
818
|
+
}
|
|
819
|
+
}));
|
|
820
|
+
})), /*#__PURE__*/_react["default"].createElement("span", null, "\u91C7\u96C6\u5468\u671F\uFF1A"), /*#__PURE__*/_react["default"].createElement(_components.VtxSelect, {
|
|
821
|
+
allowClear: false,
|
|
822
|
+
style: {
|
|
823
|
+
width: 200
|
|
824
|
+
},
|
|
825
|
+
onChange: function onChange(e) {
|
|
826
|
+
return setState({
|
|
827
|
+
collectFrequency: e
|
|
828
|
+
});
|
|
829
|
+
},
|
|
830
|
+
value: collectFrequency
|
|
831
|
+
}, collectList.map(function (item) {
|
|
832
|
+
return /*#__PURE__*/_react["default"].createElement(Option, {
|
|
833
|
+
key: item.id
|
|
834
|
+
}, item.name);
|
|
835
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
836
|
+
className: "vtx-device-modal-analysis-content--chart"
|
|
837
|
+
}, loading ? /*#__PURE__*/_react["default"].createElement(_antd.Spin, {
|
|
838
|
+
spinning: true
|
|
839
|
+
}) : (0, _lodash.isEmpty)(newList) ? /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
|
|
840
|
+
style: {
|
|
841
|
+
height: 300
|
|
842
|
+
}
|
|
843
|
+
}) : /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
844
|
+
option: timeType === 'danTime' ? getGroupDanOption(newList) : getGroupDuoOption(newList),
|
|
845
|
+
notMerge: true,
|
|
846
|
+
lazyUpdate: true,
|
|
847
|
+
style: {
|
|
848
|
+
height: '100%',
|
|
849
|
+
width: '100%'
|
|
850
|
+
}
|
|
851
|
+
})));
|
|
852
|
+
};
|
|
853
|
+
var _default = Chart;
|
|
854
|
+
exports["default"] = _default;
|
|
855
|
+
//# sourceMappingURL=Chart.js.map
|