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