@ued_fpi/data-visual 1.2.6 → 1.2.7
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/dist/es/aims/src/AirQualityCalendar/index.vue.mjs +1 -0
- package/dist/es/aims/src/common/BasicEcharts/index.vue.mjs +6 -4
- package/dist/es/bmp/src/AlgaeMonitoring/index.d.ts +34 -2
- package/dist/es/bmp/src/AlgaeMonitoring/index.vue.d.ts +20 -1
- package/dist/es/bmp/src/AlgaeMonitoring/index.vue.mjs +49 -28
- package/dist/es/bmp/src/EarlyWarningEvent/index.d.ts +30 -0
- package/dist/es/bmp/src/EarlyWarningEvent/index.vue.d.ts +18 -0
- package/dist/es/bmp/src/EarlyWarningEvent/index.vue.mjs +45 -30
- package/dist/es/bmp/src/EarlyWarningEvent/utils/echarts/echartsOptions.mjs +1 -1
- package/dist/es/bmp/src/EventList/index.d.ts +23 -2
- package/dist/es/bmp/src/EventList/index.vue.d.ts +13 -1
- package/dist/es/bmp/src/EventList/index.vue.mjs +12 -2
- package/dist/es/bmp/src/ReportEvent/index.d.ts +30 -0
- package/dist/es/bmp/src/ReportEvent/index.vue.d.ts +18 -0
- package/dist/es/bmp/src/ReportEvent/index.vue.mjs +46 -31
- package/dist/es/bmp/src/ReportEvent/utils/echarts/echartsOptions.mjs +1 -1
- package/dist/es/ipes/src/AccessVehicleManage/index.d.ts +75 -39
- package/dist/es/ipes/src/AccessVehicleManage/index.vue.d.ts +44 -45
- package/dist/es/ipes/src/AccessVehicleManage/index.vue.mjs +60 -151
- package/dist/es/ipes/src/AccessVehicleManage/types/index.d.ts +33 -0
- package/dist/es/ipes/src/AccessVehicleManage/types/index.mjs +36 -0
- package/dist/es/ipes/src/AirQuality/images/air-status-1.png.mjs +3 -0
- package/dist/es/ipes/src/AirQuality/images/air-status-2.png.mjs +3 -0
- package/dist/es/ipes/src/AirQuality/images/air-status-3.png.mjs +3 -0
- package/dist/es/ipes/src/AirQuality/images/air-status-4.png.mjs +3 -0
- package/dist/es/ipes/src/AirQuality/images/air-status-5.png.mjs +3 -0
- package/dist/es/ipes/src/AirQuality/images/air-status-6.png.mjs +3 -0
- package/dist/es/ipes/src/AirQuality/images/air-status.png.mjs +3 -0
- package/dist/es/ipes/src/AirQuality/index.vue.mjs +100 -123
- package/dist/es/ipes/src/AirQuality/type.d.ts +10 -10
- package/dist/es/ipes/src/AirQualityManagement/index.vue.mjs +69 -124
- package/dist/es/ipes/src/AlarmManage/index.d.ts +71 -3
- package/dist/es/ipes/src/AlarmManage/index.vue.d.ts +45 -1
- package/dist/es/ipes/src/AlarmManage/index.vue.mjs +59 -75
- package/dist/es/ipes/src/BusinessManage/index.d.ts +89 -3
- package/dist/es/ipes/src/BusinessManage/index.vue.d.ts +56 -1
- package/dist/es/ipes/src/BusinessManage/index.vue.mjs +38 -56
- package/dist/es/ipes/src/EmergencyDuty/index.d.ts +36 -12
- package/dist/es/ipes/src/EmergencyDuty/index.vue.d.ts +37 -12
- package/dist/es/ipes/src/EmergencyDuty/index.vue.mjs +9 -44
- package/dist/es/ipes/src/EmergencyResources/index.d.ts +36 -12
- package/dist/es/ipes/src/EmergencyResources/index.vue.d.ts +37 -12
- package/dist/es/ipes/src/EmergencyResources/index.vue.mjs +7 -37
- package/dist/es/ipes/src/EnterpriseProtectionCode/index.vue.mjs +1 -1
- package/dist/es/ipes/src/EnvManage/index.d.ts +0 -36
- package/dist/es/ipes/src/EnvManage/index.vue.d.ts +1 -18
- package/dist/es/ipes/src/EnvManage/index.vue.mjs +99 -96
- package/dist/es/ipes/src/EnvManage/type.d.ts +6 -3
- package/dist/es/ipes/src/HazardousVehicleManage/index.d.ts +90 -48
- package/dist/es/ipes/src/HazardousVehicleManage/index.vue.d.ts +58 -44
- package/dist/es/ipes/src/HazardousVehicleManage/index.vue.mjs +87 -213
- package/dist/es/ipes/src/HazardousVehicleManage/types/index.d.ts +44 -4
- package/dist/es/ipes/src/HazardousVehicleManage/types/index.mjs +45 -0
- package/dist/es/ipes/src/InspectionManage/index.d.ts +93 -24
- package/dist/es/ipes/src/InspectionManage/index.vue.d.ts +65 -18
- package/dist/es/ipes/src/InspectionManage/index.vue.mjs +42 -94
- package/dist/es/ipes/src/Level3AirDefense/images/empty.png.mjs +2 -2
- package/dist/es/ipes/src/Level3AirDefense/index.d.ts +50 -3
- package/dist/es/ipes/src/Level3AirDefense/index.vue.d.ts +31 -1
- package/dist/es/ipes/src/Level3AirDefense/index.vue.mjs +27 -27
- package/dist/es/ipes/src/OdorControl/index.d.ts +24 -0
- package/dist/es/ipes/src/OdorControl/index.vue.d.ts +15 -0
- package/dist/es/ipes/src/OdorControl/index.vue.mjs +71 -79
- package/dist/es/ipes/src/RealTimeAirQualityManage/index.d.ts +0 -36
- package/dist/es/ipes/src/RealTimeAirQualityManage/index.mjs +0 -1
- package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue.d.ts +0 -18
- package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue.mjs +41 -66
- package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue2.mjs +4 -2
- package/dist/es/ipes/src/RealTimeAirQualityManage/type.d.ts +3 -3
- package/dist/es/ipes/src/SealingManage/index.d.ts +130 -58
- package/dist/es/ipes/src/SealingManage/index.vue.d.ts +79 -67
- package/dist/es/ipes/src/SealingManage/index.vue.mjs +85 -240
- package/dist/es/ipes/src/SealingManage/types/index.d.ts +58 -2
- package/dist/es/ipes/src/SealingManage/types/index.mjs +73 -0
- package/dist/es/ipes/src/StreetLightingManagement/index.d.ts +33 -12
- package/dist/es/ipes/src/StreetLightingManagement/index.vue.d.ts +33 -10
- package/dist/es/ipes/src/StreetLightingManagement/index.vue.mjs +14 -30
- package/dist/es/ipes/src/WaterNetworkManage/images/icon-percent.png.mjs +2 -2
- package/dist/es/ipes/src/WaterNetworkManage/index.d.ts +153 -39
- package/dist/es/ipes/src/WaterNetworkManage/index.vue.d.ts +68 -39
- package/dist/es/ipes/src/WaterNetworkManage/index.vue.mjs +112 -187
- package/dist/es/ipes/src/WaterNetworkManage/types/index.d.ts +54 -4
- package/dist/es/ipes/src/WaterNetworkManage/types/index.mjs +43 -0
- package/dist/es/ipes/src/common/RealTimeAir.vue.d.ts +42 -0
- package/dist/es/ipes/src/common/RealTimeAir.vue.mjs +97 -0
- package/dist/es/ipes/src/common/RealTimeAir.vue2.mjs +3 -0
- package/dist/es/ipes/src/common/RealTimeAir.vue3.mjs +6 -0
- package/dist/es/ipes/src/common/types.d.ts +7 -0
- package/dist/es/style.css +3 -3
- package/dist/es/utils.d.ts +13 -0
- package/dist/es/utils.mjs +41 -1
- package/dist/es/wgms/src/ChangesAlongTheProcess/index.vue.mjs +21 -24
- package/dist/es/wgms/src/ChlorophyllAchangeRate/index.vue.mjs +10 -12
- package/dist/es/wgms/src/CrossSectionCorrelation/index.vue.mjs +3 -11
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-2.svg.mjs +1 -1
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-light-1.svg.mjs +3 -0
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-light-2.svg.mjs +3 -0
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/images/icon-light-3.svg.mjs +3 -0
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/index.vue.mjs +8 -3
- package/dist/es/wgms/src/FactorTopThreeRanking/index.d.ts +8 -8
- package/dist/es/wgms/src/FactorTopThreeRanking/index.vue.d.ts +4 -4
- package/dist/es/wgms/src/FactorTopThreeRanking/index.vue.mjs +20 -20
- package/dist/es/wgms/src/FactorTrendComparison/index.d.ts +8 -8
- package/dist/es/wgms/src/FactorTrendComparison/index.vue.d.ts +4 -4
- package/dist/es/wgms/src/FactorTrendComparison/index.vue.mjs +39 -37
- package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/index.vue.mjs +7 -10
- package/dist/es/wgms/src/LakeRiverIndex/images/0.svg.mjs +1 -1
- package/dist/es/wgms/src/NPTrendChange/index.vue.mjs +23 -19
- package/dist/es/wgms/src/PollutionSourceControl/index.vue.mjs +11 -11
- package/dist/es/wgms/src/SevenDayKline/index.vue.mjs +22 -40
- package/dist/es/wgms/src/SubordinateRanking/index.vue.mjs +3 -3
- package/dist/es/wgms/src/SurroundingPollution/index.vue.mjs +6 -4
- package/dist/es/wgms/src/UpstreamImpact/index.vue.mjs +20 -25
- package/dist/es/wgms/src/UpstreamSection/index.vue.mjs +3 -11
- package/dist/es/wgms/src/WaterEnvironmentOnlineMonitor/index.vue.mjs +4 -2
- package/dist/es/wgms/src/WaterQualityClassification/index.vue.mjs +17 -18
- package/dist/es/wgms/src/WaterQualityRainfall/index.vue.mjs +39 -45
- package/dist/es/wgms/src/WaterQualityStatus/index.vue.mjs +8 -13
- package/dist/es/wgms/src/common/ProgressBar.vue.mjs +3 -3
- package/dist/{lib/ipes/src/Level3AirDefense/components/EmptyData.vue.d.ts → es/wgms/src/common/common-arrow.vue.d.ts} +6 -5
- package/dist/es/wgms/src/common/common-arrow.vue.mjs +26 -0
- package/dist/es/wgms/src/common/common-arrow.vue2.mjs +3 -0
- package/dist/es/wgms/src/common/common-arrow.vue3.mjs +6 -0
- package/dist/es/wgms/utils/echarts/BaseECharts.vue.d.ts +41 -0
- package/dist/es/wgms/utils/echarts/BaseECharts.vue.mjs +103 -0
- package/dist/es/wgms/utils/echarts/BaseECharts.vue2.mjs +5 -0
- package/dist/es/wgms/utils/echarts/echartsOptions.mjs +1 -1
- package/dist/es/wgms/utils/echarts/index.d.ts +0 -12
- package/dist/es/wgms/utils/echarts/index.mjs +19 -29
- package/dist/lib/aims/src/AirQualityCalendar/index.vue.js +1 -0
- package/dist/lib/aims/src/common/BasicEcharts/index.vue.js +7 -24
- package/dist/lib/bmp/src/AlgaeMonitoring/index.d.ts +34 -2
- package/dist/lib/bmp/src/AlgaeMonitoring/index.vue.d.ts +20 -1
- package/dist/lib/bmp/src/AlgaeMonitoring/index.vue.js +48 -27
- package/dist/lib/bmp/src/EarlyWarningEvent/index.d.ts +30 -0
- package/dist/lib/bmp/src/EarlyWarningEvent/index.vue.d.ts +18 -0
- package/dist/lib/bmp/src/EarlyWarningEvent/index.vue.js +46 -31
- package/dist/lib/bmp/src/EarlyWarningEvent/utils/echarts/echartsOptions.js +1 -1
- package/dist/lib/bmp/src/EventList/index.d.ts +23 -2
- package/dist/lib/bmp/src/EventList/index.vue.d.ts +13 -1
- package/dist/lib/bmp/src/EventList/index.vue.js +12 -2
- package/dist/lib/bmp/src/ReportEvent/index.d.ts +30 -0
- package/dist/lib/bmp/src/ReportEvent/index.vue.d.ts +18 -0
- package/dist/lib/bmp/src/ReportEvent/index.vue.js +47 -32
- package/dist/lib/bmp/src/ReportEvent/utils/echarts/echartsOptions.js +1 -1
- package/dist/lib/ipes/src/AccessVehicleManage/index.d.ts +75 -39
- package/dist/lib/ipes/src/AccessVehicleManage/index.vue.d.ts +44 -45
- package/dist/lib/ipes/src/AccessVehicleManage/index.vue.js +58 -149
- package/dist/lib/ipes/src/AccessVehicleManage/types/index.d.ts +33 -0
- package/dist/lib/ipes/src/AccessVehicleManage/types/index.js +40 -0
- package/dist/lib/ipes/src/AirQuality/images/air-status-1.png.js +7 -0
- package/dist/lib/ipes/src/AirQuality/images/air-status-2.png.js +7 -0
- package/dist/lib/ipes/src/AirQuality/images/air-status-3.png.js +7 -0
- package/dist/lib/ipes/src/AirQuality/images/air-status-4.png.js +7 -0
- package/dist/lib/ipes/src/AirQuality/images/air-status-5.png.js +7 -0
- package/dist/lib/ipes/src/AirQuality/images/air-status-6.png.js +7 -0
- package/dist/lib/ipes/src/AirQuality/images/air-status.png.js +7 -0
- package/dist/lib/ipes/src/AirQuality/index.vue.js +99 -122
- package/dist/lib/ipes/src/AirQuality/type.d.ts +10 -10
- package/dist/lib/ipes/src/AirQualityManagement/index.vue.js +68 -123
- package/dist/lib/ipes/src/AlarmManage/index.d.ts +71 -3
- package/dist/lib/ipes/src/AlarmManage/index.vue.d.ts +45 -1
- package/dist/lib/ipes/src/AlarmManage/index.vue.js +58 -74
- package/dist/lib/ipes/src/BusinessManage/index.d.ts +89 -3
- package/dist/lib/ipes/src/BusinessManage/index.vue.d.ts +56 -1
- package/dist/lib/ipes/src/BusinessManage/index.vue.js +37 -55
- package/dist/lib/ipes/src/EmergencyDuty/index.d.ts +36 -12
- package/dist/lib/ipes/src/EmergencyDuty/index.vue.d.ts +37 -12
- package/dist/lib/ipes/src/EmergencyDuty/index.vue.js +8 -43
- package/dist/lib/ipes/src/EmergencyResources/index.d.ts +36 -12
- package/dist/lib/ipes/src/EmergencyResources/index.vue.d.ts +37 -12
- package/dist/lib/ipes/src/EmergencyResources/index.vue.js +6 -36
- package/dist/lib/ipes/src/EnterpriseProtectionCode/index.vue.js +1 -1
- package/dist/lib/ipes/src/EnvManage/index.d.ts +0 -36
- package/dist/lib/ipes/src/EnvManage/index.vue.d.ts +1 -18
- package/dist/lib/ipes/src/EnvManage/index.vue.js +99 -96
- package/dist/lib/ipes/src/EnvManage/type.d.ts +6 -3
- package/dist/lib/ipes/src/HazardousVehicleManage/index.d.ts +90 -48
- package/dist/lib/ipes/src/HazardousVehicleManage/index.vue.d.ts +58 -44
- package/dist/lib/ipes/src/HazardousVehicleManage/index.vue.js +86 -212
- package/dist/lib/ipes/src/HazardousVehicleManage/types/index.d.ts +44 -4
- package/dist/lib/ipes/src/HazardousVehicleManage/types/index.js +49 -0
- package/dist/lib/ipes/src/InspectionManage/index.d.ts +93 -24
- package/dist/lib/ipes/src/InspectionManage/index.vue.d.ts +65 -18
- package/dist/lib/ipes/src/InspectionManage/index.vue.js +41 -93
- package/dist/lib/ipes/src/Level3AirDefense/images/empty.png.js +2 -2
- package/dist/lib/ipes/src/Level3AirDefense/index.d.ts +50 -3
- package/dist/lib/ipes/src/Level3AirDefense/index.vue.d.ts +31 -1
- package/dist/lib/ipes/src/Level3AirDefense/index.vue.js +25 -25
- package/dist/lib/ipes/src/OdorControl/index.d.ts +24 -0
- package/dist/lib/ipes/src/OdorControl/index.vue.d.ts +15 -0
- package/dist/lib/ipes/src/OdorControl/index.vue.js +70 -78
- package/dist/lib/ipes/src/RealTimeAirQualityManage/index.d.ts +0 -36
- package/dist/lib/ipes/src/RealTimeAirQualityManage/index.js +0 -1
- package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue.d.ts +0 -18
- package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue.js +41 -66
- package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue2.js +4 -2
- package/dist/lib/ipes/src/RealTimeAirQualityManage/type.d.ts +3 -3
- package/dist/lib/ipes/src/SealingManage/index.d.ts +130 -58
- package/dist/lib/ipes/src/SealingManage/index.vue.d.ts +79 -67
- package/dist/lib/ipes/src/SealingManage/index.vue.js +84 -239
- package/dist/lib/ipes/src/SealingManage/types/index.d.ts +58 -2
- package/dist/lib/ipes/src/SealingManage/types/index.js +77 -0
- package/dist/lib/ipes/src/StreetLightingManagement/index.d.ts +33 -12
- package/dist/lib/ipes/src/StreetLightingManagement/index.vue.d.ts +33 -10
- package/dist/lib/ipes/src/StreetLightingManagement/index.vue.js +13 -29
- package/dist/lib/ipes/src/WaterNetworkManage/images/icon-percent.png.js +2 -2
- package/dist/lib/ipes/src/WaterNetworkManage/index.d.ts +153 -39
- package/dist/lib/ipes/src/WaterNetworkManage/index.vue.d.ts +68 -39
- package/dist/lib/ipes/src/WaterNetworkManage/index.vue.js +109 -184
- package/dist/lib/ipes/src/WaterNetworkManage/types/index.d.ts +54 -4
- package/dist/lib/ipes/src/WaterNetworkManage/types/index.js +47 -0
- package/dist/lib/ipes/src/common/RealTimeAir.vue.d.ts +42 -0
- package/dist/lib/ipes/src/common/RealTimeAir.vue.js +101 -0
- package/dist/lib/ipes/src/common/RealTimeAir.vue2.js +7 -0
- package/dist/lib/ipes/src/common/RealTimeAir.vue3.js +10 -0
- package/dist/lib/ipes/src/common/types.d.ts +7 -0
- package/dist/lib/style.css +3 -3
- package/dist/lib/utils.d.ts +13 -0
- package/dist/lib/utils.js +43 -0
- package/dist/lib/wgms/src/ChangesAlongTheProcess/index.vue.js +20 -23
- package/dist/lib/wgms/src/ChlorophyllAchangeRate/index.vue.js +10 -12
- package/dist/lib/wgms/src/CrossSectionCorrelation/index.vue.js +3 -11
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-2.svg.js +1 -1
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-light-1.svg.js +7 -0
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-light-2.svg.js +7 -0
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/images/icon-light-3.svg.js +7 -0
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/index.vue.js +7 -2
- package/dist/lib/wgms/src/FactorTopThreeRanking/index.d.ts +8 -8
- package/dist/lib/wgms/src/FactorTopThreeRanking/index.vue.d.ts +4 -4
- package/dist/lib/wgms/src/FactorTopThreeRanking/index.vue.js +19 -19
- package/dist/lib/wgms/src/FactorTrendComparison/index.d.ts +8 -8
- package/dist/lib/wgms/src/FactorTrendComparison/index.vue.d.ts +4 -4
- package/dist/lib/wgms/src/FactorTrendComparison/index.vue.js +40 -38
- package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/index.vue.js +6 -9
- package/dist/lib/wgms/src/LakeRiverIndex/images/0.svg.js +1 -1
- package/dist/lib/wgms/src/NPTrendChange/index.vue.js +22 -18
- package/dist/lib/wgms/src/PollutionSourceControl/index.vue.js +11 -11
- package/dist/lib/wgms/src/SevenDayKline/index.vue.js +21 -39
- package/dist/lib/wgms/src/SubordinateRanking/index.vue.js +3 -3
- package/dist/lib/wgms/src/SurroundingPollution/index.vue.js +6 -4
- package/dist/lib/wgms/src/UpstreamImpact/index.vue.js +19 -24
- package/dist/lib/wgms/src/UpstreamSection/index.vue.js +3 -11
- package/dist/lib/wgms/src/WaterEnvironmentOnlineMonitor/index.vue.js +4 -2
- package/dist/lib/wgms/src/WaterQualityClassification/index.vue.js +16 -17
- package/dist/lib/wgms/src/WaterQualityRainfall/index.vue.js +38 -44
- package/dist/lib/wgms/src/WaterQualityStatus/index.vue.js +7 -12
- package/dist/lib/wgms/src/common/ProgressBar.vue.js +3 -3
- package/dist/{es/ipes/src/Level3AirDefense/components/EmptyData.vue.d.ts → lib/wgms/src/common/common-arrow.vue.d.ts} +6 -5
- package/dist/lib/wgms/src/common/common-arrow.vue.js +30 -0
- package/dist/lib/wgms/src/common/common-arrow.vue2.js +7 -0
- package/dist/lib/wgms/src/common/common-arrow.vue3.js +10 -0
- package/dist/lib/wgms/utils/echarts/BaseECharts.vue.d.ts +41 -0
- package/dist/lib/wgms/utils/echarts/BaseECharts.vue.js +107 -0
- package/dist/lib/wgms/utils/echarts/BaseECharts.vue2.js +9 -0
- package/dist/lib/wgms/utils/echarts/echartsOptions.js +1 -1
- package/dist/lib/wgms/utils/echarts/index.d.ts +0 -12
- package/dist/lib/wgms/utils/echarts/index.js +19 -29
- package/dist/style/base.css +120 -26
- package/dist/style/style-bmp.css +1 -1
- package/dist/style/style-ipes.css +1 -1
- package/dist/style/style-wgms.css +1 -1
- package/package.json +2 -2
- package/dist/es/bmp/src/AlgaeMonitoring/images/checked.png.mjs +0 -3
- package/dist/es/bmp/src/AlgaeMonitoring/images/today-alarm.png.mjs +0 -3
- package/dist/es/bmp/src/EarlyWarningEvent/utils/echarts/index.d.ts +0 -14
- package/dist/es/bmp/src/EarlyWarningEvent/utils/echarts/index.mjs +0 -40
- package/dist/es/bmp/src/ReportEvent/utils/echarts/index.d.ts +0 -14
- package/dist/es/bmp/src/ReportEvent/utils/echarts/index.mjs +0 -40
- package/dist/es/ipes/src/AccessVehicleManage/images/module-title-icon.png.mjs +0 -3
- package/dist/es/ipes/src/AlarmManage/images/modeluIcon.png.mjs +0 -3
- package/dist/es/ipes/src/HazardousVehicleManage/images/module-title-icon.png.mjs +0 -3
- package/dist/es/ipes/src/Level3AirDefense/components/EmptyData.vue.mjs +0 -25
- package/dist/es/ipes/src/Level3AirDefense/components/EmptyData.vue2.mjs +0 -3
- package/dist/es/ipes/src/Level3AirDefense/components/EmptyData.vue3.mjs +0 -6
- package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue3.mjs +0 -6
- package/dist/es/ipes/src/SealingManage/images/module-title-icon.png.mjs +0 -3
- package/dist/es/ipes/src/WaterNetworkManage/images/module-title-icon.png.mjs +0 -3
- package/dist/es/ipes/src/WaterNetworkManage/images/water-leakage.png.mjs +0 -3
- package/dist/es/ipes/src/WaterNetworkManage/images/water-total.png.mjs +0 -3
- package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/down.svg.mjs +0 -3
- package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/right.svg.mjs +0 -3
- package/dist/es/wgms/src/KeyRiverWaterQualityEvaluation/images/up.svg.mjs +0 -3
- package/dist/es/wgms/src/WaterQualityClassification/images/down.svg.mjs +0 -3
- package/dist/es/wgms/src/WaterQualityClassification/images/right.svg.mjs +0 -3
- package/dist/es/wgms/src/WaterQualityClassification/images/up.svg.mjs +0 -3
- package/dist/es/wgms/src/WaterQualityStatus/images/down.svg.mjs +0 -3
- package/dist/es/wgms/src/WaterQualityStatus/images/right.svg.mjs +0 -3
- package/dist/es/wgms/src/WaterQualityStatus/images/up.svg.mjs +0 -3
- package/dist/lib/bmp/src/AlgaeMonitoring/images/checked.png.js +0 -7
- package/dist/lib/bmp/src/AlgaeMonitoring/images/today-alarm.png.js +0 -7
- package/dist/lib/bmp/src/EarlyWarningEvent/utils/echarts/index.d.ts +0 -14
- package/dist/lib/bmp/src/EarlyWarningEvent/utils/echarts/index.js +0 -63
- package/dist/lib/bmp/src/ReportEvent/utils/echarts/index.d.ts +0 -14
- package/dist/lib/bmp/src/ReportEvent/utils/echarts/index.js +0 -63
- package/dist/lib/ipes/src/AccessVehicleManage/images/module-title-icon.png.js +0 -7
- package/dist/lib/ipes/src/AlarmManage/images/modeluIcon.png.js +0 -7
- package/dist/lib/ipes/src/HazardousVehicleManage/images/module-title-icon.png.js +0 -7
- package/dist/lib/ipes/src/Level3AirDefense/components/EmptyData.vue.js +0 -29
- package/dist/lib/ipes/src/Level3AirDefense/components/EmptyData.vue2.js +0 -7
- package/dist/lib/ipes/src/Level3AirDefense/components/EmptyData.vue3.js +0 -10
- package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue3.js +0 -10
- package/dist/lib/ipes/src/SealingManage/images/module-title-icon.png.js +0 -7
- package/dist/lib/ipes/src/WaterNetworkManage/images/module-title-icon.png.js +0 -7
- package/dist/lib/ipes/src/WaterNetworkManage/images/water-leakage.png.js +0 -7
- package/dist/lib/ipes/src/WaterNetworkManage/images/water-total.png.js +0 -7
- package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/down.svg.js +0 -7
- package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/right.svg.js +0 -7
- package/dist/lib/wgms/src/KeyRiverWaterQualityEvaluation/images/up.svg.js +0 -7
- package/dist/lib/wgms/src/WaterQualityClassification/images/down.svg.js +0 -7
- package/dist/lib/wgms/src/WaterQualityClassification/images/right.svg.js +0 -7
- package/dist/lib/wgms/src/WaterQualityClassification/images/up.svg.js +0 -7
- package/dist/lib/wgms/src/WaterQualityStatus/images/down.svg.js +0 -7
- package/dist/lib/wgms/src/WaterQualityStatus/images/right.svg.js +0 -7
- package/dist/lib/wgms/src/WaterQualityStatus/images/up.svg.js +0 -7
- /package/dist/es/ipes/src/{AccessVehicleManage → common}/images/new-nodata.svg.mjs +0 -0
- /package/dist/lib/ipes/src/{AccessVehicleManage → common}/images/new-nodata.svg.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, reactive, watch, onMounted, nextTick,
|
|
1
|
+
import { defineComponent, ref, reactive, watch, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, createVNode } from 'vue';
|
|
2
2
|
import dayjs from 'dayjs';
|
|
3
|
-
import
|
|
3
|
+
import _sfc_main$1 from '../../utils/echarts/BaseECharts.vue.mjs';
|
|
4
4
|
import { rainHydrologyAnalyse, waterSurfaceListAll } from './api/index.mjs';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1 = { class: "dv-wgms-water-quality-rainfall" };
|
|
@@ -43,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
setup(__props) {
|
|
44
44
|
const props = __props;
|
|
45
45
|
const chartQualityRainfall = ref();
|
|
46
|
+
const option = ref(void 0);
|
|
46
47
|
const data = reactive({
|
|
47
48
|
title: "水质-雨量-水位趋势对比图",
|
|
48
49
|
unit: "mg/L",
|
|
@@ -76,7 +77,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76
77
|
};
|
|
77
78
|
const getData = async () => {
|
|
78
79
|
const res = await rainHydrologyAnalyse(data.params);
|
|
79
|
-
console.log(res);
|
|
80
80
|
const resData = res.data || [];
|
|
81
81
|
const xData = [];
|
|
82
82
|
const seriesData = {
|
|
@@ -95,14 +95,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
seriesData.factorValue.push(item.factorValue);
|
|
96
96
|
seriesData.quality.push(item.quality);
|
|
97
97
|
});
|
|
98
|
-
|
|
99
|
-
echarts.draw(chartQualityRainfall.value, lineOptions);
|
|
98
|
+
option.value = await initWaterQuality(xData, seriesData, data.unit, data.factorName);
|
|
100
99
|
};
|
|
101
100
|
const initWaterQuality = async (xAxis, data2, unit, factorName) => {
|
|
102
101
|
const { hydrology, factorValue, rain, quality } = data2;
|
|
103
102
|
const res = await waterSurfaceListAll({});
|
|
104
103
|
const gradeList = res?.entries ?? [];
|
|
105
|
-
const
|
|
104
|
+
const option2 = {
|
|
106
105
|
grid: {
|
|
107
106
|
top: 55,
|
|
108
107
|
right: 26,
|
|
@@ -135,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
134
|
bottom: 0,
|
|
136
135
|
inactiveColor: "rgba(255,255,255,0.5)",
|
|
137
136
|
textStyle: {
|
|
138
|
-
color: "
|
|
137
|
+
color: "var(--dv-color-text-primary)"
|
|
139
138
|
},
|
|
140
139
|
itemHeight: 2,
|
|
141
140
|
itemWidth: 16,
|
|
@@ -160,15 +159,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
160
159
|
axisLine: {
|
|
161
160
|
show: false,
|
|
162
161
|
lineStyle: {
|
|
163
|
-
color: "
|
|
162
|
+
color: "var(--dv-color-fill-lighter)"
|
|
164
163
|
}
|
|
165
164
|
},
|
|
166
165
|
axisLabel: {
|
|
167
166
|
show: true,
|
|
168
167
|
textStyle: {
|
|
169
|
-
fontFamily: "
|
|
170
|
-
fontSize: "
|
|
171
|
-
color: "
|
|
168
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
169
|
+
fontSize: "var(--dv-text-number2)",
|
|
170
|
+
color: "var(--dv-color-text-primary)"
|
|
172
171
|
}
|
|
173
172
|
},
|
|
174
173
|
axisTick: {
|
|
@@ -184,21 +183,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
184
183
|
nameLocation: "start",
|
|
185
184
|
nameTextStyle: {
|
|
186
185
|
align: "right",
|
|
187
|
-
|
|
186
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
187
|
+
fontSize: "var(--dv-text-body2)",
|
|
188
|
+
color: "var(--dv-color-text-secondary)"
|
|
188
189
|
},
|
|
189
190
|
axisLabel: {
|
|
190
191
|
formatter: "{value}",
|
|
191
192
|
textStyle: {
|
|
192
193
|
fontFamily: "var(--dv-font-family-number)",
|
|
193
|
-
fontSize: "
|
|
194
|
-
color: "
|
|
194
|
+
fontSize: "var(--dv-text-number2)",
|
|
195
|
+
color: "var(--dv-color-text-secondary)"
|
|
195
196
|
}
|
|
196
197
|
},
|
|
197
198
|
axisLine: {
|
|
198
|
-
show: false
|
|
199
|
-
lineStyle: {
|
|
200
|
-
color: "rgba(255,255,255,1)"
|
|
201
|
-
}
|
|
199
|
+
show: false
|
|
202
200
|
},
|
|
203
201
|
axisPointer: {
|
|
204
202
|
snap: true
|
|
@@ -206,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
206
204
|
splitLine: {
|
|
207
205
|
show: true,
|
|
208
206
|
lineStyle: {
|
|
209
|
-
color: "
|
|
207
|
+
color: "var(--dv-color-fill-lighter)"
|
|
210
208
|
}
|
|
211
209
|
},
|
|
212
210
|
axisTick: { show: false },
|
|
@@ -219,7 +217,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
219
217
|
(${unit})`,
|
|
220
218
|
nameTextStyle: {
|
|
221
219
|
align: "right",
|
|
222
|
-
|
|
220
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
221
|
+
fontSize: "var(--dv-text-body2)",
|
|
222
|
+
color: "var(--dv-color-text-secondary)"
|
|
223
223
|
},
|
|
224
224
|
position: "left",
|
|
225
225
|
offset: 40,
|
|
@@ -227,24 +227,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
227
227
|
formatter: "{value}",
|
|
228
228
|
textStyle: {
|
|
229
229
|
fontFamily: "var(--dv-font-family-number)",
|
|
230
|
-
fontSize: "
|
|
231
|
-
color: "
|
|
230
|
+
fontSize: "var(--dv-text-number2)",
|
|
231
|
+
color: "var(--dv-color-text-secondary)"
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
axisLine: {
|
|
235
|
-
show: false
|
|
236
|
-
lineStyle: {
|
|
237
|
-
color: "rgba(255,255,255,0.5)"
|
|
238
|
-
}
|
|
235
|
+
show: false
|
|
239
236
|
},
|
|
240
237
|
axisPointer: {
|
|
241
238
|
snap: true
|
|
242
239
|
},
|
|
243
240
|
splitArea: {
|
|
244
|
-
show: false
|
|
245
|
-
areaStyle: {
|
|
246
|
-
color: ["transparent", "rgba(255, 255, 255, 0.05)"]
|
|
247
|
-
}
|
|
241
|
+
show: false
|
|
248
242
|
},
|
|
249
243
|
splitLine: { show: false },
|
|
250
244
|
axisTick: { show: false }
|
|
@@ -254,21 +248,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
254
248
|
type: "value",
|
|
255
249
|
name: "水位(m)",
|
|
256
250
|
nameTextStyle: {
|
|
257
|
-
|
|
251
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
252
|
+
fontSize: "var(--dv-text-body2)",
|
|
253
|
+
color: "var(--dv-color-text-secondary)"
|
|
258
254
|
},
|
|
259
255
|
axisLabel: {
|
|
260
256
|
formatter: "{value}",
|
|
261
257
|
textStyle: {
|
|
262
|
-
fontFamily: "
|
|
263
|
-
fontSize: "
|
|
264
|
-
color: "
|
|
258
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
259
|
+
fontSize: "var(--dv-text-number2)",
|
|
260
|
+
color: "var(--dv-color-text-secondary)"
|
|
265
261
|
}
|
|
266
262
|
},
|
|
267
263
|
axisLine: {
|
|
268
|
-
show: false
|
|
269
|
-
lineStyle: {
|
|
270
|
-
color: "rgba(255,255,255,0.5)"
|
|
271
|
-
}
|
|
264
|
+
show: false
|
|
272
265
|
},
|
|
273
266
|
axisPointer: {
|
|
274
267
|
snap: true
|
|
@@ -309,14 +302,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
309
302
|
markPoint: {
|
|
310
303
|
show: false,
|
|
311
304
|
itemStyle: {
|
|
312
|
-
color: ["
|
|
305
|
+
color: ["var(--dv-color-danger)"]
|
|
313
306
|
}
|
|
314
307
|
},
|
|
315
308
|
label: {
|
|
316
309
|
show: true,
|
|
317
|
-
fontFamily: "
|
|
318
|
-
fontSize: "
|
|
319
|
-
color: "
|
|
310
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
311
|
+
fontSize: "var(--dv-text-number2)",
|
|
312
|
+
color: "var(--dv-color-text-secondary)"
|
|
320
313
|
},
|
|
321
314
|
// data: factorValue.map((item, index) => {
|
|
322
315
|
// return {
|
|
@@ -379,16 +372,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
379
372
|
}
|
|
380
373
|
]
|
|
381
374
|
};
|
|
382
|
-
return
|
|
375
|
+
return option2;
|
|
383
376
|
};
|
|
384
|
-
toRefs(data);
|
|
385
377
|
return (_ctx, _cache) => {
|
|
386
378
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
387
379
|
createElementVNode("div", {
|
|
388
380
|
ref_key: "chartQualityRainfall",
|
|
389
381
|
ref: chartQualityRainfall,
|
|
390
382
|
class: "chart"
|
|
391
|
-
},
|
|
383
|
+
}, [
|
|
384
|
+
createVNode(_sfc_main$1, { options: option.value }, null, 8, ["options"])
|
|
385
|
+
], 512)
|
|
392
386
|
]);
|
|
393
387
|
};
|
|
394
388
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import __vite_glob_0_1 from './images/right.svg.mjs';
|
|
3
|
-
import __vite_glob_0_2 from './images/up.svg.mjs';
|
|
4
|
-
import { defineComponent, reactive, onMounted, watch, toRefs, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, createVNode, normalizeStyle, createCommentVNode } from 'vue';
|
|
1
|
+
import { defineComponent, reactive, onMounted, watch, toRefs, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, createVNode, normalizeStyle, createBlock, createCommentVNode } from 'vue';
|
|
5
2
|
import dayjs from 'dayjs';
|
|
6
3
|
import _sfc_main$1 from '../common/ProgressBar.vue.mjs';
|
|
7
4
|
import '../common/ProgressBar.vue2.mjs';
|
|
5
|
+
import _sfc_main$2 from '../common/common-arrow.vue.mjs';
|
|
6
|
+
import '../common/common-arrow.vue2.mjs';
|
|
8
7
|
import { getReachStandardData } from './api/index.mjs';
|
|
9
8
|
|
|
10
9
|
const _hoisted_1 = { class: "dv-wgms-water-quality" };
|
|
@@ -15,9 +14,8 @@ const _hoisted_5 = { class: "dv-wgms-water-quality-status-bottom dv-wgms-flex-be
|
|
|
15
14
|
const _hoisted_6 = { class: "dv-wgms-target" };
|
|
16
15
|
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", { class: "dv-wgms-text" }, "目标", -1);
|
|
17
16
|
const _hoisted_8 = { class: "dv-wgms-value" };
|
|
18
|
-
const _hoisted_9 = { class: "dv-wgms-same" };
|
|
17
|
+
const _hoisted_9 = { class: "dv-wgms-same flex-left-center" };
|
|
19
18
|
const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", { class: "dv-wgms-text" }, "同比", -1);
|
|
20
|
-
const _hoisted_11 = ["src"];
|
|
21
19
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
20
|
__name: "index",
|
|
23
21
|
props: {
|
|
@@ -45,9 +43,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
43
|
const { data: res } = await getReachStandardData(props.params);
|
|
46
44
|
res && (wgmsData.list = res);
|
|
47
45
|
};
|
|
48
|
-
const getAssetsFile = (url) => {
|
|
49
|
-
return new URL((/* #__PURE__ */ Object.assign({"./images/down.svg": __vite_glob_0_0,"./images/right.svg": __vite_glob_0_1,"./images/up.svg": __vite_glob_0_2}))[`./images/${url}`], self.location).href;
|
|
50
|
-
};
|
|
51
46
|
onMounted(() => {
|
|
52
47
|
getResData();
|
|
53
48
|
});
|
|
@@ -79,13 +74,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
74
|
createElementVNode("div", _hoisted_9, [
|
|
80
75
|
_hoisted_10,
|
|
81
76
|
createElementVNode("span", {
|
|
82
|
-
style: normalizeStyle({ color: item.yoy === null ? "
|
|
77
|
+
style: normalizeStyle({ color: item.yoy === null ? "var(--dv-color-text-placeholder)" : item.yoy > 0 ? "var(--dv-color-success)" : item.yoy < 0 ? "var(--dv-color-danger)" : "var(--dv-color-index)" }),
|
|
83
78
|
class: "dv-wgms-value"
|
|
84
79
|
}, toDisplayString(item.yoy === null ? "--" : item.yoy === 0 ? "持平" : `${item.yoy}%`), 5),
|
|
85
|
-
item.yoy !== null ? (openBlock(),
|
|
80
|
+
item.yoy !== null ? (openBlock(), createBlock(_sfc_main$2, {
|
|
86
81
|
key: 0,
|
|
87
|
-
|
|
88
|
-
}, null, 8,
|
|
82
|
+
direction: item.yoy > 0 ? "up" : item.yoy < 0 ? "down" : "flat"
|
|
83
|
+
}, null, 8, ["direction"])) : createCommentVNode("", true)
|
|
89
84
|
])
|
|
90
85
|
])
|
|
91
86
|
]);
|
|
@@ -15,14 +15,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
*/
|
|
16
16
|
bgColor: {
|
|
17
17
|
type: String,
|
|
18
|
-
default: "
|
|
18
|
+
default: "var(--dv-color-fill-lighter)"
|
|
19
19
|
},
|
|
20
20
|
/**
|
|
21
21
|
* 激活部分背景色
|
|
22
22
|
*/
|
|
23
23
|
activeColor: {
|
|
24
24
|
type: String,
|
|
25
|
-
default: "linear-gradient(270deg,
|
|
25
|
+
default: "linear-gradient(270deg, var(--dv-color-index) 0%, var(--dv-color-index-30) 100%)"
|
|
26
26
|
},
|
|
27
27
|
/**
|
|
28
28
|
* 百分比
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
type: Object,
|
|
39
39
|
default: () => {
|
|
40
40
|
return {
|
|
41
|
-
background: "
|
|
41
|
+
background: "var(--dv-color-index)",
|
|
42
42
|
width: "2px",
|
|
43
43
|
height: "12px"
|
|
44
44
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
type:
|
|
3
|
+
direction: {
|
|
4
|
+
type: PropType<"flat" | "up" | "down">;
|
|
4
5
|
default: string;
|
|
5
6
|
};
|
|
6
7
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
|
|
8
|
-
type:
|
|
8
|
+
direction: {
|
|
9
|
+
type: PropType<"flat" | "up" | "down">;
|
|
9
10
|
default: string;
|
|
10
11
|
};
|
|
11
12
|
}>>, {
|
|
12
|
-
|
|
13
|
+
direction: "flat" | "up" | "down";
|
|
13
14
|
}, {}>;
|
|
14
15
|
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { class: "bar" }, null, -1);
|
|
4
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "triangle" }, null, -1);
|
|
5
|
+
const _hoisted_3 = [
|
|
6
|
+
_hoisted_1,
|
|
7
|
+
_hoisted_2
|
|
8
|
+
];
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "common-arrow",
|
|
11
|
+
props: {
|
|
12
|
+
direction: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "up"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
setup(__props) {
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createElementBlock("div", {
|
|
20
|
+
class: normalizeClass(["arrow", __props.direction])
|
|
21
|
+
}, _hoisted_3, 2);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
width: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
height: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
loading: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
options: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: null;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
width: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
height: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
loading: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
options: {
|
|
32
|
+
type: ObjectConstructor;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
width: string;
|
|
37
|
+
height: string;
|
|
38
|
+
options: Record<string, any>;
|
|
39
|
+
loading: boolean;
|
|
40
|
+
}, {}>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, onUnmounted, watch, openBlock, createElementBlock, normalizeStyle, createElementVNode } from 'vue';
|
|
2
|
+
import { useThemeHook, replaceVarStrings } from '../../../utils.mjs';
|
|
3
|
+
import echarts from './index.mjs';
|
|
4
|
+
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "BaseECharts",
|
|
7
|
+
props: {
|
|
8
|
+
width: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "100%"
|
|
11
|
+
},
|
|
12
|
+
height: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "100%"
|
|
15
|
+
},
|
|
16
|
+
loading: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false
|
|
19
|
+
},
|
|
20
|
+
options: {
|
|
21
|
+
type: Object,
|
|
22
|
+
default: null
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(__props) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const { isDark } = useThemeHook();
|
|
28
|
+
const domRef = ref(null);
|
|
29
|
+
const domBox = ref(null);
|
|
30
|
+
let chartObj = null;
|
|
31
|
+
let observer = null;
|
|
32
|
+
onMounted(() => {
|
|
33
|
+
if (!chartObj && domRef.value)
|
|
34
|
+
chartObj = echarts.init(domRef.value);
|
|
35
|
+
if (!chartObj)
|
|
36
|
+
return;
|
|
37
|
+
chartObj.showLoading({
|
|
38
|
+
text: "",
|
|
39
|
+
color: "#409eff",
|
|
40
|
+
textColor: "#000",
|
|
41
|
+
maskColor: "rgba(255, 255, 255, .95)",
|
|
42
|
+
zlevel: 0,
|
|
43
|
+
lineWidth: 2
|
|
44
|
+
});
|
|
45
|
+
if (!props.loading) {
|
|
46
|
+
chartObj.hideLoading();
|
|
47
|
+
drawOption();
|
|
48
|
+
}
|
|
49
|
+
if (props.options)
|
|
50
|
+
drawOption();
|
|
51
|
+
observer = new MutationObserver((mutationsList) => {
|
|
52
|
+
for (const mutation of mutationsList)
|
|
53
|
+
if (mutation.target === domBox.value)
|
|
54
|
+
chartObj && chartObj.resize();
|
|
55
|
+
});
|
|
56
|
+
nextTick(() => {
|
|
57
|
+
domBox.value && observer.observe(domBox.value, {
|
|
58
|
+
attributes: true,
|
|
59
|
+
childList: false,
|
|
60
|
+
characterData: true,
|
|
61
|
+
subtree: true
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
setTimeout(() => {
|
|
65
|
+
chartObj && chartObj.resize();
|
|
66
|
+
}, 1e3);
|
|
67
|
+
});
|
|
68
|
+
onUnmounted(() => {
|
|
69
|
+
if (chartObj) {
|
|
70
|
+
chartObj.dispose();
|
|
71
|
+
chartObj = null;
|
|
72
|
+
}
|
|
73
|
+
observer && observer.disconnect();
|
|
74
|
+
});
|
|
75
|
+
watch(
|
|
76
|
+
() => props.options,
|
|
77
|
+
() => {
|
|
78
|
+
drawOption();
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
watch(() => isDark.value, () => {
|
|
82
|
+
drawOption();
|
|
83
|
+
});
|
|
84
|
+
const drawOption = () => {
|
|
85
|
+
chartObj && chartObj.setOption(replaceVarStrings(props.options));
|
|
86
|
+
};
|
|
87
|
+
return (_ctx, _cache) => {
|
|
88
|
+
return openBlock(), createElementBlock("div", {
|
|
89
|
+
ref_key: "domBox",
|
|
90
|
+
ref: domBox,
|
|
91
|
+
style: normalizeStyle({ width: __props.width, height: __props.height })
|
|
92
|
+
}, [
|
|
93
|
+
createElementVNode("div", {
|
|
94
|
+
ref_key: "domRef",
|
|
95
|
+
ref: domRef,
|
|
96
|
+
style: normalizeStyle({ width: __props.width, height: __props.height })
|
|
97
|
+
}, null, 4)
|
|
98
|
+
], 4);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export { _sfc_main as default };
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
import 'echarts/lib/chart/line';
|
|
2
|
-
import 'echarts/lib/chart/pie';
|
|
3
|
-
import 'echarts/lib/chart/bar';
|
|
4
|
-
import 'echarts/lib/chart/boxplot';
|
|
5
|
-
import 'echarts/lib/component/legend';
|
|
6
|
-
import 'echarts/lib/component/grid';
|
|
7
|
-
import 'echarts/lib/component/title';
|
|
8
|
-
import 'echarts/lib/component/tooltip';
|
|
9
|
-
import 'echarts/lib/component/graphic';
|
|
10
|
-
import 'echarts/lib/component/dataZoom';
|
|
11
|
-
import 'echarts/lib/component/visualMap';
|
|
12
|
-
import 'echarts/lib/component/markLine';
|
|
13
1
|
declare const _default: any;
|
|
14
2
|
export default _default;
|
|
@@ -1,40 +1,30 @@
|
|
|
1
|
-
import * as echarts$1 from 'echarts/
|
|
2
|
-
import 'echarts/
|
|
3
|
-
import 'echarts/
|
|
4
|
-
import 'echarts/
|
|
5
|
-
import 'echarts/
|
|
6
|
-
import 'echarts/lib/component/legend';
|
|
7
|
-
import 'echarts/lib/component/grid';
|
|
8
|
-
import 'echarts/lib/component/title';
|
|
9
|
-
import 'echarts/lib/component/tooltip';
|
|
10
|
-
import 'echarts/lib/component/graphic';
|
|
11
|
-
import 'echarts/lib/component/dataZoom';
|
|
12
|
-
import 'echarts/lib/component/visualMap';
|
|
13
|
-
import 'echarts/lib/component/markLine';
|
|
1
|
+
import * as echarts$1 from 'echarts/core';
|
|
2
|
+
import { GraphicComponent, GridComponent, TooltipComponent, LegendComponent, TitleComponent } from 'echarts/components';
|
|
3
|
+
import { LineChart, BarChart, PieChart, BoxplotChart } from 'echarts/charts';
|
|
4
|
+
import { UniversalTransition } from 'echarts/features';
|
|
5
|
+
import { CanvasRenderer } from 'echarts/renderers';
|
|
14
6
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
echarts$1.use([
|
|
8
|
+
GraphicComponent,
|
|
9
|
+
GridComponent,
|
|
10
|
+
TooltipComponent,
|
|
11
|
+
LegendComponent,
|
|
12
|
+
TitleComponent,
|
|
13
|
+
LineChart,
|
|
14
|
+
BarChart,
|
|
15
|
+
PieChart,
|
|
16
|
+
BoxplotChart,
|
|
17
|
+
CanvasRenderer,
|
|
18
|
+
UniversalTransition
|
|
19
|
+
]);
|
|
21
20
|
const draw = (dom, option) => {
|
|
22
|
-
const chart = init(dom);
|
|
21
|
+
const chart = echarts$1.init(dom);
|
|
23
22
|
chart.clear();
|
|
24
23
|
chart.setOption(option);
|
|
25
24
|
return chart;
|
|
26
25
|
};
|
|
27
|
-
window.addEventListener("resize", () => {
|
|
28
|
-
allChart.forEach((item, index) => {
|
|
29
|
-
if (!item._dom.offsetWidth)
|
|
30
|
-
allChart[index] = void 0;
|
|
31
|
-
item && item.resize && item._dom.offsetWidth && item.resize();
|
|
32
|
-
});
|
|
33
|
-
allChart = allChart.filter((item) => item);
|
|
34
|
-
});
|
|
35
26
|
const echarts = {
|
|
36
27
|
...echarts$1,
|
|
37
|
-
init,
|
|
38
28
|
draw
|
|
39
29
|
};
|
|
40
30
|
|
|
@@ -184,6 +184,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
184
184
|
vue.createVNode(_component_el_date_picker, {
|
|
185
185
|
modelValue: dateTime.value,
|
|
186
186
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dateTime.value = $event),
|
|
187
|
+
teleported: false,
|
|
187
188
|
type: "month",
|
|
188
189
|
clearable: false,
|
|
189
190
|
"disabled-date": pickerOptions,
|
|
@@ -3,26 +3,8 @@
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
5
|
const vue = require('vue');
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
function _interopNamespaceDefault(e) {
|
|
9
|
-
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
10
|
-
if (e) {
|
|
11
|
-
for (const k in e) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: () => e[k]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
n.default = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const echarts__namespace = /*#__PURE__*/_interopNamespaceDefault(echarts);
|
|
6
|
+
const index = require('../../../../wgms/utils/echarts/index.js');
|
|
7
|
+
const utils = require('../../../../utils.js');
|
|
26
8
|
|
|
27
9
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
28
10
|
__name: "index",
|
|
@@ -53,6 +35,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
53
35
|
const props = __props;
|
|
54
36
|
let myChart;
|
|
55
37
|
const echartsDomRef = vue.ref(null);
|
|
38
|
+
const { isDark } = utils.useThemeHook();
|
|
56
39
|
const resizeHandler = () => {
|
|
57
40
|
myChart.resize();
|
|
58
41
|
};
|
|
@@ -68,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
68
51
|
};
|
|
69
52
|
const cancalDebounce = debounce(resizeHandler, 50);
|
|
70
53
|
vue.onMounted(() => {
|
|
71
|
-
myChart =
|
|
54
|
+
myChart = index.default.init(echartsDomRef.value, { renderer: "svg" });
|
|
72
55
|
myChart.showLoading({
|
|
73
56
|
text: "",
|
|
74
57
|
color: "#409eff",
|
|
@@ -79,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
79
62
|
});
|
|
80
63
|
if (!props.loading) {
|
|
81
64
|
myChart.hideLoading();
|
|
82
|
-
props.fullOptions.options && myChart.setOption(props.fullOptions.options, true);
|
|
65
|
+
props.fullOptions.options && myChart.setOption(utils.replaceVarStrings(props.fullOptions.options), true);
|
|
83
66
|
}
|
|
84
67
|
window.addEventListener("resize", cancalDebounce);
|
|
85
68
|
});
|
|
@@ -87,10 +70,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
87
70
|
window.removeEventListener("resize", cancalDebounce);
|
|
88
71
|
myChart.dispose();
|
|
89
72
|
});
|
|
90
|
-
vue.watch(() => [props.fullOptions.options, props.loading], () => {
|
|
73
|
+
vue.watch(() => [props.fullOptions.options, props.loading, isDark.value], () => {
|
|
91
74
|
if (!props.loading) {
|
|
92
75
|
myChart.hideLoading();
|
|
93
|
-
myChart.setOption(props.fullOptions.options, false);
|
|
76
|
+
myChart.setOption(utils.replaceVarStrings(props.fullOptions.options), false);
|
|
94
77
|
}
|
|
95
78
|
}, { deep: true });
|
|
96
79
|
return (_ctx, _cache) => {
|