@ued_fpi/data-visual 1.2.2 → 1.2.4
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/AirQualityPresentSituation/index.vue.mjs +41 -15
- package/dist/es/aims/src/AirQualityRealTime/api/index.d.ts +1 -1
- package/dist/es/aims/src/AirQualityRealTime/index.vue.mjs +16 -11
- package/dist/es/aims/src/AirQualityRealTimeAndDay/api/index.d.ts +28 -0
- package/dist/es/aims/src/AirQualityRealTimeAndDay/api/index.mjs +11 -0
- package/dist/es/aims/src/AirQualityRealTimeAndDay/index.d.ts +122 -0
- package/dist/es/aims/src/AirQualityRealTimeAndDay/index.mjs +7 -0
- package/dist/es/aims/src/AirQualityRealTimeAndDay/index.vue.d.ts +33 -0
- package/dist/es/aims/src/AirQualityRealTimeAndDay/index.vue.mjs +218 -0
- package/dist/es/aims/src/AirQualityRealTimeAndDay/index.vue2.mjs +3 -0
- package/dist/es/aims/src/AirQualityRealTimeAndDay/index.vue3.mjs +6 -0
- package/dist/es/aims/src/index.d.ts +1 -0
- package/dist/es/aims/src/index.mjs +1 -0
- package/dist/es/bmp/src/AlgaeMonitoring/index.vue.mjs +3 -3
- package/dist/es/index.mjs +2 -1
- package/dist/es/ipes/src/AccessVehicleManage/index.vue.mjs +20 -17
- package/dist/es/ipes/src/AirPollutionDischarge/index.vue.mjs +82 -68
- package/dist/es/ipes/src/AirQualityManagement/index.vue.mjs +2 -2
- package/dist/es/ipes/src/BusinessManage/index.vue.mjs +12 -7
- package/dist/es/ipes/src/EmergencyDuty/index.d.ts +23 -30
- package/dist/es/ipes/src/EmergencyDuty/index.mjs +4 -3
- package/dist/es/ipes/src/EmergencyDuty/index.vue.d.ts +13 -10
- package/dist/es/ipes/src/EmergencyDuty/index.vue.mjs +97 -33
- package/dist/es/ipes/src/EmergencyDuty/index.vue2.mjs +2 -20
- package/dist/es/ipes/src/EmergencyDuty/index.vue3.mjs +5 -2
- package/dist/es/ipes/src/EmergencyDuty/type.d.ts +7 -0
- package/dist/es/ipes/src/EmergencyManage/index.d.ts +9 -27
- package/dist/es/ipes/src/EmergencyManage/index.vue.d.ts +5 -17
- package/dist/es/ipes/src/EmergencyManage/index.vue.mjs +35 -56
- package/dist/es/ipes/src/EmergencyResources/images/expert.png.mjs +3 -0
- package/dist/es/ipes/src/EmergencyResources/images/materials.png.mjs +3 -0
- package/dist/es/ipes/src/EmergencyResources/images/personnel.png.mjs +3 -0
- package/dist/es/ipes/src/EmergencyResources/images/preplan.png.mjs +2 -2
- package/dist/es/ipes/src/EmergencyResources/images/protected.png.mjs +3 -0
- package/dist/es/ipes/src/EmergencyResources/images/shelter.png.mjs +3 -0
- package/dist/es/ipes/src/EmergencyResources/images/store.png.mjs +3 -0
- package/dist/es/ipes/src/EmergencyResources/images/team.png.mjs +3 -0
- package/dist/es/ipes/src/EmergencyResources/index.d.ts +12 -30
- package/dist/es/ipes/src/EmergencyResources/index.vue.d.ts +7 -20
- package/dist/es/ipes/src/EmergencyResources/index.vue.mjs +107 -28
- package/dist/es/ipes/src/EnterpriseProtectionCode/index.d.ts +17 -25
- package/dist/es/ipes/src/EnterpriseProtectionCode/index.vue.d.ts +7 -14
- package/dist/es/ipes/src/EnterpriseProtectionCode/index.vue.mjs +53 -45
- package/dist/es/ipes/src/EnvManage/index.vue.mjs +2 -1
- package/dist/es/ipes/src/EnvironmentalProtection/images/piebottom.png.mjs +2 -2
- package/dist/es/ipes/src/EnvironmentalProtection/images/pietop.png.mjs +2 -2
- package/dist/es/ipes/src/EnvironmentalProtection/index.vue.mjs +9 -17
- package/dist/es/ipes/src/EnvironmentalRiskManagement/index.d.ts +76 -7
- package/dist/es/ipes/src/EnvironmentalRiskManagement/index.vue.d.ts +49 -3
- package/dist/es/ipes/src/EnvironmentalRiskManagement/index.vue.mjs +22 -53
- package/dist/es/ipes/src/GasControl/index.d.ts +12 -12
- package/dist/es/ipes/src/GasControl/index.vue.d.ts +6 -6
- package/dist/es/ipes/src/GasControl/index.vue.mjs +4 -4
- package/dist/es/ipes/src/GeneralManagement/components/Tabs.vue.mjs +1 -1
- package/dist/es/ipes/src/GeneralManagement/index.d.ts +131 -26
- package/dist/es/ipes/src/GeneralManagement/index.vue.d.ts +82 -12
- package/dist/es/ipes/src/GeneralManagement/index.vue.mjs +21 -53
- package/dist/es/ipes/src/InspectionManage/index.vue.mjs +59 -67
- package/dist/es/ipes/src/Level3AirDefense/index.vue.mjs +1 -1
- package/dist/es/ipes/src/PollutantSourceManage/index.d.ts +54 -56
- package/dist/es/ipes/src/PollutantSourceManage/index.vue.d.ts +28 -13
- package/dist/es/ipes/src/PollutantSourceManage/index.vue.mjs +16 -16
- package/dist/es/ipes/src/PollutantSourceManage/type.d.ts +9 -1
- package/dist/es/ipes/src/RealTimeAirQualityManage/index.vue.mjs +6 -5
- package/dist/es/ipes/src/StreetLightingManagement/index.d.ts +12 -21
- package/dist/es/ipes/src/StreetLightingManagement/index.vue.d.ts +7 -15
- package/dist/es/ipes/src/StreetLightingManagement/index.vue.mjs +34 -13
- package/dist/es/ipes/src/StreetLightingManagement/type.d.ts +2 -0
- package/dist/es/ipes/src/TaskDispose/index.d.ts +18 -93
- package/dist/es/ipes/src/TaskDispose/index.vue.d.ts +10 -58
- package/dist/es/ipes/src/TaskDispose/index.vue.mjs +72 -262
- package/dist/es/ipes/src/VocStatistics/index.d.ts +3 -27
- package/dist/es/ipes/src/VocStatistics/index.vue.d.ts +2 -17
- package/dist/es/ipes/src/VocStatistics/index.vue.mjs +20 -38
- package/dist/es/ipes/src/common/Echarts.vue.mjs +20 -11
- package/dist/es/style.css +5080 -4770
- package/dist/es/wgms/src/AuxiliaryJudgment/api/index.d.ts +2 -2
- package/dist/es/wgms/src/AuxiliaryJudgment/api/index.mjs +2 -2
- package/dist/es/wgms/src/AuxiliaryJudgment/api/types.d.ts +4 -20
- package/dist/es/wgms/src/AuxiliaryJudgment/index.d.ts +39 -24
- package/dist/es/wgms/src/AuxiliaryJudgment/index.vue.d.ts +22 -13
- package/dist/es/wgms/src/AuxiliaryJudgment/index.vue.mjs +33 -32
- package/dist/es/wgms/src/ChangesAlongTheProcess/api/index.mjs +11 -0
- package/dist/es/wgms/src/ChangesAlongTheProcess/api/types.d.ts +5 -16
- package/dist/es/wgms/src/ChangesAlongTheProcess/index.d.ts +69 -24
- package/dist/es/wgms/src/ChangesAlongTheProcess/index.vue.d.ts +40 -13
- package/dist/es/wgms/src/ChangesAlongTheProcess/index.vue.mjs +37 -36
- package/dist/es/wgms/src/ChlorophyllAchangeRate/index.d.ts +1 -1
- package/dist/es/wgms/src/CrossSectionCorrelation/api/index.mjs +2 -2
- package/dist/es/wgms/src/CrossSectionCorrelation/api/types.d.ts +14 -12
- package/dist/es/wgms/src/CrossSectionCorrelation/index.d.ts +111 -36
- package/dist/es/wgms/src/CrossSectionCorrelation/index.vue.d.ts +64 -19
- package/dist/es/wgms/src/CrossSectionCorrelation/index.vue.mjs +64 -41
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/index.d.ts +1 -1
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/index.mjs +2 -2
- package/dist/es/wgms/src/FactorTopThreeRanking/index.d.ts +1 -1
- package/dist/es/wgms/src/FactorTrendComparison/api/index.d.ts +5 -0
- package/dist/es/wgms/src/FactorTrendComparison/api/index.mjs +12 -0
- package/dist/es/wgms/src/FactorTrendComparison/index.d.ts +66 -44
- package/dist/es/wgms/src/FactorTrendComparison/index.vue.d.ts +39 -25
- package/dist/es/wgms/src/FactorTrendComparison/index.vue.mjs +78 -64
- package/dist/es/wgms/{api/NPTrendChange → src/NPTrendChange/api}/index.d.ts +1 -1
- package/dist/es/wgms/src/NPTrendChange/api/index.mjs +12 -0
- package/dist/es/wgms/src/NPTrendChange/index.d.ts +63 -41
- package/dist/es/wgms/src/NPTrendChange/index.vue.d.ts +37 -23
- package/dist/es/wgms/src/NPTrendChange/index.vue.mjs +58 -50
- package/dist/es/wgms/src/PollutionSourceControl/index.d.ts +9 -9
- package/dist/es/wgms/src/PollutionSourceControl/index.vue.d.ts +3 -3
- package/dist/es/wgms/src/SevenDayKline/api/index.d.ts +8 -0
- package/dist/es/wgms/src/SevenDayKline/api/index.mjs +19 -0
- package/dist/es/wgms/src/SevenDayKline/api/types.d.ts +5 -4
- package/dist/es/wgms/src/SevenDayKline/index.d.ts +39 -39
- package/dist/es/wgms/src/SevenDayKline/index.vue.d.ts +22 -22
- package/dist/es/wgms/src/SevenDayKline/index.vue.mjs +32 -29
- package/dist/es/wgms/src/SurroundingPollution/api/index.mjs +3 -10
- package/dist/es/wgms/src/SurroundingPollution/api/types.d.ts +8 -4
- package/dist/es/wgms/src/SurroundingPollution/index.d.ts +54 -39
- package/dist/es/wgms/src/SurroundingPollution/index.vue.d.ts +31 -22
- package/dist/es/wgms/src/SurroundingPollution/index.vue.mjs +43 -38
- package/dist/es/wgms/src/UpstreamImpact/api/index.mjs +3 -3
- package/dist/es/wgms/src/UpstreamImpact/api/types.d.ts +10 -7
- package/dist/es/wgms/src/UpstreamImpact/index.d.ts +93 -48
- package/dist/es/wgms/src/UpstreamImpact/index.vue.d.ts +53 -26
- package/dist/es/wgms/src/UpstreamImpact/index.vue.mjs +167 -195
- package/dist/es/wgms/src/UpstreamSection/api/index.d.ts +6 -0
- package/dist/es/wgms/src/UpstreamSection/api/index.mjs +12 -0
- package/dist/es/wgms/src/UpstreamSection/api/types.d.ts +20 -0
- package/dist/es/wgms/src/UpstreamSection/index.d.ts +113 -3
- package/dist/es/wgms/src/UpstreamSection/index.vue.d.ts +67 -1
- package/dist/es/wgms/src/UpstreamSection/index.vue.mjs +57 -3
- package/dist/es/wgms/src/WaterQualityRainfall/api/index.d.ts +8 -0
- package/dist/es/wgms/src/WaterQualityRainfall/api/index.mjs +19 -0
- package/dist/es/wgms/src/WaterQualityRainfall/api/types.d.ts +4 -4
- package/dist/es/wgms/src/WaterQualityRainfall/index.d.ts +30 -30
- package/dist/es/wgms/src/WaterQualityRainfall/index.vue.d.ts +18 -18
- package/dist/es/wgms/src/WaterQualityRainfall/index.vue.mjs +43 -26
- package/dist/es/wgms/src/index.mjs +1 -1
- package/dist/lib/aims/index.js +4 -4
- package/dist/lib/aims/src/AirQualityPresentSituation/index.vue.js +41 -15
- package/dist/lib/aims/src/AirQualityRealTime/api/index.d.ts +1 -1
- package/dist/lib/aims/src/AirQualityRealTime/index.vue.js +15 -10
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/api/index.d.ts +28 -0
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/api/index.js +15 -0
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/index.d.ts +122 -0
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/index.js +12 -0
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/index.vue.d.ts +33 -0
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/index.vue.js +222 -0
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/index.vue2.js +7 -0
- package/dist/lib/aims/src/AirQualityRealTimeAndDay/index.vue3.js +10 -0
- package/dist/lib/aims/src/index.d.ts +1 -0
- package/dist/lib/aims/src/index.js +2 -0
- package/dist/lib/bmp/src/AlgaeMonitoring/index.vue.js +3 -3
- package/dist/lib/index.js +113 -111
- package/dist/lib/ipes/src/AccessVehicleManage/index.vue.js +19 -16
- package/dist/lib/ipes/src/AirPollutionDischarge/index.vue.js +82 -68
- package/dist/lib/ipes/src/AirQualityManagement/index.vue.js +2 -2
- package/dist/lib/ipes/src/BusinessManage/index.vue.js +12 -7
- package/dist/lib/ipes/src/EmergencyDuty/index.d.ts +23 -30
- package/dist/lib/ipes/src/EmergencyDuty/index.js +4 -3
- package/dist/lib/ipes/src/EmergencyDuty/index.vue.d.ts +13 -10
- package/dist/lib/ipes/src/EmergencyDuty/index.vue.js +96 -32
- package/dist/lib/ipes/src/EmergencyDuty/index.vue2.js +2 -20
- package/dist/lib/ipes/src/EmergencyDuty/index.vue3.js +5 -2
- package/dist/lib/ipes/src/EmergencyDuty/type.d.ts +7 -0
- package/dist/lib/ipes/src/EmergencyManage/index.d.ts +9 -27
- package/dist/lib/ipes/src/EmergencyManage/index.vue.d.ts +5 -17
- package/dist/lib/ipes/src/EmergencyManage/index.vue.js +34 -55
- package/dist/lib/ipes/src/EmergencyResources/images/expert.png.js +7 -0
- package/dist/lib/ipes/src/EmergencyResources/images/materials.png.js +7 -0
- package/dist/lib/ipes/src/EmergencyResources/images/personnel.png.js +7 -0
- package/dist/lib/ipes/src/EmergencyResources/images/preplan.png.js +2 -2
- package/dist/lib/ipes/src/EmergencyResources/images/protected.png.js +7 -0
- package/dist/lib/ipes/src/EmergencyResources/images/shelter.png.js +7 -0
- package/dist/lib/ipes/src/EmergencyResources/images/store.png.js +7 -0
- package/dist/lib/ipes/src/EmergencyResources/images/team.png.js +7 -0
- package/dist/lib/ipes/src/EmergencyResources/index.d.ts +12 -30
- package/dist/lib/ipes/src/EmergencyResources/index.vue.d.ts +7 -20
- package/dist/lib/ipes/src/EmergencyResources/index.vue.js +106 -27
- package/dist/lib/ipes/src/EnterpriseProtectionCode/index.d.ts +17 -25
- package/dist/lib/ipes/src/EnterpriseProtectionCode/index.vue.d.ts +7 -14
- package/dist/lib/ipes/src/EnterpriseProtectionCode/index.vue.js +52 -44
- package/dist/lib/ipes/src/EnvManage/index.vue.js +2 -1
- package/dist/lib/ipes/src/EnvironmentalProtection/images/piebottom.png.js +2 -2
- package/dist/lib/ipes/src/EnvironmentalProtection/images/pietop.png.js +2 -2
- package/dist/lib/ipes/src/EnvironmentalProtection/index.vue.js +4 -12
- package/dist/lib/ipes/src/EnvironmentalRiskManagement/index.d.ts +76 -7
- package/dist/lib/ipes/src/EnvironmentalRiskManagement/index.vue.d.ts +49 -3
- package/dist/lib/ipes/src/EnvironmentalRiskManagement/index.vue.js +21 -52
- package/dist/lib/ipes/src/GasControl/index.d.ts +12 -12
- package/dist/lib/ipes/src/GasControl/index.vue.d.ts +6 -6
- package/dist/lib/ipes/src/GasControl/index.vue.js +4 -4
- package/dist/lib/ipes/src/GeneralManagement/components/Tabs.vue.js +1 -1
- package/dist/lib/ipes/src/GeneralManagement/index.d.ts +131 -26
- package/dist/lib/ipes/src/GeneralManagement/index.vue.d.ts +82 -12
- package/dist/lib/ipes/src/GeneralManagement/index.vue.js +20 -52
- package/dist/lib/ipes/src/InspectionManage/index.vue.js +59 -67
- package/dist/lib/ipes/src/Level3AirDefense/index.vue.js +1 -1
- package/dist/lib/ipes/src/PollutantSourceManage/index.d.ts +54 -56
- package/dist/lib/ipes/src/PollutantSourceManage/index.vue.d.ts +28 -13
- package/dist/lib/ipes/src/PollutantSourceManage/index.vue.js +16 -16
- package/dist/lib/ipes/src/PollutantSourceManage/type.d.ts +9 -1
- package/dist/lib/ipes/src/RealTimeAirQualityManage/index.vue.js +6 -5
- package/dist/lib/ipes/src/StreetLightingManagement/index.d.ts +12 -21
- package/dist/lib/ipes/src/StreetLightingManagement/index.vue.d.ts +7 -15
- package/dist/lib/ipes/src/StreetLightingManagement/index.vue.js +33 -12
- package/dist/lib/ipes/src/StreetLightingManagement/type.d.ts +2 -0
- package/dist/lib/ipes/src/TaskDispose/index.d.ts +18 -93
- package/dist/lib/ipes/src/TaskDispose/index.vue.d.ts +10 -58
- package/dist/lib/ipes/src/TaskDispose/index.vue.js +71 -261
- package/dist/lib/ipes/src/VocStatistics/index.d.ts +3 -27
- package/dist/lib/ipes/src/VocStatistics/index.vue.d.ts +2 -17
- package/dist/lib/ipes/src/VocStatistics/index.vue.js +19 -37
- package/dist/lib/ipes/src/common/Echarts.vue.js +20 -11
- package/dist/lib/style.css +5080 -4770
- package/dist/lib/wgms/src/AuxiliaryJudgment/api/index.d.ts +2 -2
- package/dist/lib/wgms/src/AuxiliaryJudgment/api/index.js +2 -2
- package/dist/lib/wgms/src/AuxiliaryJudgment/api/types.d.ts +4 -20
- package/dist/lib/wgms/src/AuxiliaryJudgment/index.d.ts +39 -24
- package/dist/lib/wgms/src/AuxiliaryJudgment/index.vue.d.ts +22 -13
- package/dist/lib/wgms/src/AuxiliaryJudgment/index.vue.js +32 -31
- package/dist/lib/wgms/src/ChangesAlongTheProcess/api/index.js +15 -0
- package/dist/lib/wgms/src/ChangesAlongTheProcess/api/types.d.ts +5 -16
- package/dist/lib/wgms/src/ChangesAlongTheProcess/index.d.ts +69 -24
- package/dist/lib/wgms/src/ChangesAlongTheProcess/index.vue.d.ts +40 -13
- package/dist/lib/wgms/src/ChangesAlongTheProcess/index.vue.js +39 -38
- package/dist/lib/wgms/src/ChlorophyllAchangeRate/index.d.ts +1 -1
- package/dist/lib/wgms/src/CrossSectionCorrelation/api/index.js +2 -2
- package/dist/lib/wgms/src/CrossSectionCorrelation/api/types.d.ts +14 -12
- package/dist/lib/wgms/src/CrossSectionCorrelation/index.d.ts +111 -36
- package/dist/lib/wgms/src/CrossSectionCorrelation/index.vue.d.ts +64 -19
- package/dist/lib/wgms/src/CrossSectionCorrelation/index.vue.js +64 -41
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/index.d.ts +1 -1
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/index.js +2 -2
- package/dist/lib/wgms/src/FactorTopThreeRanking/index.d.ts +1 -1
- package/dist/lib/wgms/src/FactorTrendComparison/api/index.d.ts +5 -0
- package/dist/lib/wgms/src/FactorTrendComparison/api/index.js +16 -0
- package/dist/lib/wgms/src/FactorTrendComparison/index.d.ts +66 -44
- package/dist/lib/wgms/src/FactorTrendComparison/index.vue.d.ts +39 -25
- package/dist/lib/wgms/src/FactorTrendComparison/index.vue.js +80 -66
- package/dist/lib/wgms/{api/NPTrendChange → src/NPTrendChange/api}/index.d.ts +1 -1
- package/dist/lib/wgms/{api/NPTrendChange → src/NPTrendChange/api}/index.js +3 -3
- package/dist/lib/wgms/src/NPTrendChange/index.d.ts +63 -41
- package/dist/lib/wgms/src/NPTrendChange/index.vue.d.ts +37 -23
- package/dist/lib/wgms/src/NPTrendChange/index.vue.js +61 -53
- package/dist/lib/wgms/src/PollutionSourceControl/index.d.ts +9 -9
- package/dist/lib/wgms/src/PollutionSourceControl/index.vue.d.ts +3 -3
- package/dist/lib/wgms/src/SevenDayKline/api/index.d.ts +8 -0
- package/dist/lib/wgms/src/SevenDayKline/api/index.js +24 -0
- package/dist/lib/wgms/src/SevenDayKline/api/types.d.ts +5 -4
- package/dist/lib/wgms/src/SevenDayKline/index.d.ts +39 -39
- package/dist/lib/wgms/src/SevenDayKline/index.vue.d.ts +22 -22
- package/dist/lib/wgms/src/SevenDayKline/index.vue.js +34 -31
- package/dist/lib/wgms/src/SurroundingPollution/api/index.js +2 -10
- package/dist/lib/wgms/src/SurroundingPollution/api/types.d.ts +8 -4
- package/dist/lib/wgms/src/SurroundingPollution/index.d.ts +54 -39
- package/dist/lib/wgms/src/SurroundingPollution/index.vue.d.ts +31 -22
- package/dist/lib/wgms/src/SurroundingPollution/index.vue.js +42 -37
- package/dist/lib/wgms/src/UpstreamImpact/api/index.js +3 -3
- package/dist/lib/wgms/src/UpstreamImpact/api/types.d.ts +10 -7
- package/dist/lib/wgms/src/UpstreamImpact/index.d.ts +93 -48
- package/dist/lib/wgms/src/UpstreamImpact/index.vue.d.ts +53 -26
- package/dist/lib/wgms/src/UpstreamImpact/index.vue.js +166 -194
- package/dist/lib/wgms/src/UpstreamSection/api/index.d.ts +6 -0
- package/dist/lib/wgms/src/UpstreamSection/api/index.js +16 -0
- package/dist/lib/wgms/src/UpstreamSection/api/types.d.ts +20 -0
- package/dist/lib/wgms/src/UpstreamSection/index.d.ts +113 -3
- package/dist/lib/wgms/src/UpstreamSection/index.vue.d.ts +67 -1
- package/dist/lib/wgms/src/UpstreamSection/index.vue.js +56 -2
- package/dist/lib/wgms/src/WaterQualityRainfall/api/index.d.ts +8 -0
- package/dist/lib/wgms/src/WaterQualityRainfall/api/index.js +24 -0
- package/dist/lib/wgms/src/WaterQualityRainfall/api/types.d.ts +4 -4
- package/dist/lib/wgms/src/WaterQualityRainfall/index.d.ts +30 -30
- package/dist/lib/wgms/src/WaterQualityRainfall/index.vue.d.ts +18 -18
- package/dist/lib/wgms/src/WaterQualityRainfall/index.vue.js +45 -28
- package/dist/lib/wgms/src/index.js +1 -1
- package/dist/style/base.css +207 -0
- package/dist/style/style-aims.css +1 -1
- 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/ipes/src/EnvironmentalProtection/images/module-title-icon.png.mjs +0 -3
- package/dist/es/ipes/src/InspectionManage/images/module-title-icon.png.mjs +0 -3
- package/dist/es/ipes/src/PollutantSourceManage/types.d.ts +0 -18
- package/dist/es/ipes/src/TaskDispose/img/circlebottom.png.mjs +0 -3
- package/dist/es/wgms/api/FactorTrendComparison/index.d.ts +0 -10
- package/dist/es/wgms/api/FactorTrendComparison/index.mjs +0 -20
- package/dist/es/wgms/api/NPTrendChange/index.mjs +0 -12
- package/dist/lib/ipes/src/EnvironmentalProtection/images/module-title-icon.png.js +0 -7
- package/dist/lib/ipes/src/InspectionManage/images/module-title-icon.png.js +0 -7
- package/dist/lib/ipes/src/PollutantSourceManage/types.d.ts +0 -18
- package/dist/lib/ipes/src/TaskDispose/img/circlebottom.png.js +0 -7
- package/dist/lib/wgms/api/FactorTrendComparison/index.d.ts +0 -10
- package/dist/lib/wgms/api/FactorTrendComparison/index.js +0 -25
|
@@ -10,9 +10,10 @@ const index = require('./api/index.js');
|
|
|
10
10
|
const _hoisted_1 = { class: "aqiInfo" };
|
|
11
11
|
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("span", null, "AQI", -1);
|
|
12
12
|
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("span", { class: "text" }, "首要污染物", -1);
|
|
13
|
-
const _hoisted_4 =
|
|
13
|
+
const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode("span", null, "( 单位:μg/m³, CO:mg/m³ )", -1);
|
|
14
|
+
const _hoisted_5 = { class: "name" };
|
|
14
15
|
const clsfix = "dv-aims-air-quality-realtime";
|
|
15
|
-
const noDataColor = "
|
|
16
|
+
const noDataColor = "var(--dv-color-text-secondary)";
|
|
16
17
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
18
|
__name: "index",
|
|
18
19
|
props: {
|
|
@@ -45,19 +46,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
45
46
|
index.getAirQuality(props.apiParams).then((res) => {
|
|
46
47
|
if (res.data) {
|
|
47
48
|
const data = res.data;
|
|
48
|
-
const level = fpiTgFactorTools.factorToLevel("aqi", data.aqi,
|
|
49
|
+
const level = fpiTgFactorTools.factorToLevel("aqi", data.aqi, props.apiParams.timeType);
|
|
49
50
|
realtimeData.aqiVal = data.aqi;
|
|
50
|
-
realtimeData.aqiColor = fpiTgFactorTools.factorToColor("aqi", data.aqi,
|
|
51
|
-
realtimeData.aqiPollutionZh =
|
|
52
|
-
if (realtimeData.aqiPollutionZh !== "--" && realtimeData.aqiPollutionZh.length >= 2)
|
|
53
|
-
realtimeData.aqiPollutionZh = `${realtimeData.aqiPollutionZh}污染`;
|
|
51
|
+
realtimeData.aqiColor = level >= 0 ? fpiTgFactorTools.factorToColor("aqi", data.aqi, props.apiParams.timeType) : noDataColor;
|
|
52
|
+
realtimeData.aqiPollutionZh = data.airQuality;
|
|
54
53
|
realtimeData.firstPollution = data.mainPollutants;
|
|
55
54
|
realtimeData.factorList = realtimeData.factorList.map((item) => {
|
|
56
55
|
const obj = data.commonFactors.find((c) => c.key === item.key);
|
|
57
56
|
return {
|
|
58
57
|
...item,
|
|
59
|
-
value: obj
|
|
60
|
-
color: obj
|
|
58
|
+
value: obj && obj.value ? obj.value : "--",
|
|
59
|
+
color: obj && obj.value && obj.value !== "--" ? fpiTgFactorTools.factorToColor(item.code, obj?.value, props.apiParams.timeType) : noDataColor
|
|
61
60
|
};
|
|
62
61
|
});
|
|
63
62
|
}
|
|
@@ -100,6 +99,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
100
99
|
}, vue.toDisplayString(realtimeData.firstPollution), 5)
|
|
101
100
|
], 2)
|
|
102
101
|
], 2),
|
|
102
|
+
vue.createElementVNode("div", {
|
|
103
|
+
class: vue.normalizeClass(`${clsfix}-center`)
|
|
104
|
+
}, [
|
|
105
|
+
vue.createElementVNode("span", null, vue.toDisplayString(props.apiParams.timeType === "hour" ? "实时" : "今日") + "浓度", 1),
|
|
106
|
+
_hoisted_4
|
|
107
|
+
], 2),
|
|
103
108
|
vue.createElementVNode("ul", {
|
|
104
109
|
class: vue.normalizeClass(`${clsfix}-bottom`)
|
|
105
110
|
}, [
|
|
@@ -116,7 +121,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
116
121
|
class: "line",
|
|
117
122
|
style: vue.normalizeStyle({ backgroundColor: item.color })
|
|
118
123
|
}, null, 4),
|
|
119
|
-
vue.createElementVNode("span",
|
|
124
|
+
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(item.name), 1)
|
|
120
125
|
], 2);
|
|
121
126
|
}), 128))
|
|
122
127
|
], 2)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface GetAirQualityParams {
|
|
2
|
+
time: number;
|
|
3
|
+
gridCode: string;
|
|
4
|
+
timeType: string;
|
|
5
|
+
}
|
|
6
|
+
interface GetAirQualityRes {
|
|
7
|
+
airQuality: string;
|
|
8
|
+
mainPollutants: string;
|
|
9
|
+
aqi: string;
|
|
10
|
+
commonFactors: {
|
|
11
|
+
key: string;
|
|
12
|
+
name: string;
|
|
13
|
+
unit: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
16
|
+
weatherFactors: {
|
|
17
|
+
key: string;
|
|
18
|
+
name: string;
|
|
19
|
+
unit: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
22
|
+
}
|
|
23
|
+
export declare const getAirQuality: (params: GetAirQualityParams) => Promise<{
|
|
24
|
+
code: number;
|
|
25
|
+
data: GetAirQualityRes | null;
|
|
26
|
+
message: string;
|
|
27
|
+
}>;
|
|
28
|
+
export type { GetAirQualityParams };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const request = require('../../../service/request.js');
|
|
6
|
+
|
|
7
|
+
const getAirQuality = (params) => {
|
|
8
|
+
return request.default({
|
|
9
|
+
url: "/aims-server/web/api/v1/analyze-map/grid-detail",
|
|
10
|
+
method: "get",
|
|
11
|
+
params
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.getAirQuality = getAirQuality;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import _AirQualityRealTimeAndDay from './index.vue';
|
|
2
|
+
export declare const DvAimsAirQualityRealTimeAndDay: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: {
|
|
7
|
+
apiParams?: Pick<import("./api").GetAirQualityParams, "time" | "gridCode"> | undefined;
|
|
8
|
+
key?: string | number | symbol | undefined;
|
|
9
|
+
style?: unknown;
|
|
10
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
11
|
+
ref_for?: boolean | undefined;
|
|
12
|
+
ref_key?: string | undefined;
|
|
13
|
+
onVnodeBeforeMount?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>) => void)[] | undefined;
|
|
18
|
+
onVnodeMounted?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}>) => void)[] | undefined;
|
|
23
|
+
onVnodeBeforeUpdate?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}>) => void)[] | undefined;
|
|
32
|
+
onVnodeUpdated?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}>, oldVNode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}>) => void)[] | undefined;
|
|
41
|
+
onVnodeBeforeUnmount?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}>) => void)[] | undefined;
|
|
46
|
+
onVnodeUnmounted?: ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}>) => void)[] | undefined;
|
|
51
|
+
class?: unknown;
|
|
52
|
+
};
|
|
53
|
+
$attrs: {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
$refs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
$root: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
63
|
+
$parent: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
64
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
65
|
+
$el: any;
|
|
66
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
apiParams: {
|
|
68
|
+
type: globalThis.PropType<Pick<import("./api").GetAirQualityParams, "time" | "gridCode">>;
|
|
69
|
+
} & {
|
|
70
|
+
default: () => {
|
|
71
|
+
time: number;
|
|
72
|
+
gridCode: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
76
|
+
apiParams: Pick<import("./api").GetAirQualityParams, "time" | "gridCode">;
|
|
77
|
+
}, {}, string, {}> & {
|
|
78
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
85
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
87
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
88
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
89
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
90
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
91
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
92
|
+
errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
93
|
+
};
|
|
94
|
+
$forceUpdate: () => void;
|
|
95
|
+
$nextTick: typeof import("vue").nextTick;
|
|
96
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
97
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
apiParams: {
|
|
99
|
+
type: globalThis.PropType<Pick<import("./api").GetAirQualityParams, "time" | "gridCode">>;
|
|
100
|
+
} & {
|
|
101
|
+
default: () => {
|
|
102
|
+
time: number;
|
|
103
|
+
gridCode: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
107
|
+
__isFragment?: undefined;
|
|
108
|
+
__isTeleport?: undefined;
|
|
109
|
+
__isSuspense?: undefined;
|
|
110
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
+
apiParams: {
|
|
112
|
+
type: globalThis.PropType<Pick<import("./api").GetAirQualityParams, "time" | "gridCode">>;
|
|
113
|
+
} & {
|
|
114
|
+
default: () => {
|
|
115
|
+
time: number;
|
|
116
|
+
gridCode: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
120
|
+
apiParams: Pick<import("./api").GetAirQualityParams, "time" | "gridCode">;
|
|
121
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
|
122
|
+
export default _AirQualityRealTimeAndDay;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const utils = require('../../../utils.js');
|
|
6
|
+
const index_vue_vue_type_script_setup_true_lang = require('./index.vue.js');
|
|
7
|
+
require('./index.vue2.js');
|
|
8
|
+
|
|
9
|
+
const DvAimsAirQualityRealTimeAndDay = utils.install(index_vue_vue_type_script_setup_true_lang.default);
|
|
10
|
+
|
|
11
|
+
exports.default = index_vue_vue_type_script_setup_true_lang.default;
|
|
12
|
+
exports.DvAimsAirQualityRealTimeAndDay = DvAimsAirQualityRealTimeAndDay;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { GetAirQualityParams } from './api';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
apiParams?: Pick<GetAirQualityParams, "time" | "gridCode"> | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
apiParams: () => {
|
|
6
|
+
time: number;
|
|
7
|
+
gridCode: string;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
apiParams?: Pick<GetAirQualityParams, "time" | "gridCode"> | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
apiParams: () => {
|
|
13
|
+
time: number;
|
|
14
|
+
gridCode: string;
|
|
15
|
+
};
|
|
16
|
+
}>>>, {
|
|
17
|
+
apiParams: Pick<GetAirQualityParams, 'gridCode' | 'time'>;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
} : P[K];
|
|
33
|
+
};
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const vue = require('vue');
|
|
6
|
+
const fpiTgFactorTools = require('fpi-tg-factor-tools');
|
|
7
|
+
const dayjs = require('dayjs');
|
|
8
|
+
const index = require('./api/index.js');
|
|
9
|
+
|
|
10
|
+
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "title" }, " 实时AQI ", -1);
|
|
11
|
+
const _hoisted_2 = { class: "aqi-container" };
|
|
12
|
+
const _hoisted_3 = { class: "aqiInfo" };
|
|
13
|
+
const _hoisted_4 = { class: "main" };
|
|
14
|
+
const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("span", { class: "text" }, "首污", -1);
|
|
15
|
+
const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("div", { class: "title" }, " 今日AQI ", -1);
|
|
16
|
+
const _hoisted_7 = { class: "aqi-container" };
|
|
17
|
+
const _hoisted_8 = { class: "aqiInfo" };
|
|
18
|
+
const _hoisted_9 = { class: "main" };
|
|
19
|
+
const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("span", { class: "text" }, "首污", -1);
|
|
20
|
+
const _hoisted_11 = /* @__PURE__ */ vue.createElementVNode("span", null, "浓度", -1);
|
|
21
|
+
const _hoisted_12 = /* @__PURE__ */ vue.createElementVNode("span", null, "( 单位:μg/m³, CO:mg/m³ )", -1);
|
|
22
|
+
const _hoisted_13 = [
|
|
23
|
+
_hoisted_11,
|
|
24
|
+
_hoisted_12
|
|
25
|
+
];
|
|
26
|
+
const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("li", { class: "bottom-left-title" }, [
|
|
27
|
+
/* @__PURE__ */ vue.createElementVNode("span", null, "实时"),
|
|
28
|
+
/* @__PURE__ */ vue.createElementVNode("span", null, "今日")
|
|
29
|
+
], -1);
|
|
30
|
+
const _hoisted_15 = { class: "name" };
|
|
31
|
+
const clsfix = "dv-aims-air-quality-realtime-and-day";
|
|
32
|
+
const noDataColor = "rgb(255, 255, 255, 0.5)";
|
|
33
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
34
|
+
__name: "index",
|
|
35
|
+
props: {
|
|
36
|
+
apiParams: { default: () => ({
|
|
37
|
+
time: dayjs().subtract(2, "h").valueOf(),
|
|
38
|
+
gridCode: "0101000000"
|
|
39
|
+
}) }
|
|
40
|
+
},
|
|
41
|
+
setup(__props) {
|
|
42
|
+
const props = __props;
|
|
43
|
+
const realtimeData = vue.reactive({
|
|
44
|
+
hourV: "--",
|
|
45
|
+
hourColor: noDataColor,
|
|
46
|
+
hourPollutionZh: "--",
|
|
47
|
+
hourMainPollutants: "--",
|
|
48
|
+
dayV: "--",
|
|
49
|
+
dayColor: noDataColor,
|
|
50
|
+
dayPollutionZh: "--",
|
|
51
|
+
dayMainPollutants: "--",
|
|
52
|
+
factorList: fpiTgFactorTools.BASE_FACTOR.filter((item) => item.code !== "aqi").map(
|
|
53
|
+
(item) => {
|
|
54
|
+
return {
|
|
55
|
+
name: item.name,
|
|
56
|
+
code: item.code,
|
|
57
|
+
key: item.key,
|
|
58
|
+
hourV: "--",
|
|
59
|
+
hourColor: noDataColor,
|
|
60
|
+
dayV: "--",
|
|
61
|
+
dayColor: noDataColor
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
});
|
|
66
|
+
const fetchData = () => {
|
|
67
|
+
const p1 = index.getAirQuality({ ...props.apiParams, timeType: "hour" });
|
|
68
|
+
const p2 = index.getAirQuality({ ...props.apiParams, timeType: "day" });
|
|
69
|
+
Promise.all([p1, p2]).then((res) => {
|
|
70
|
+
let hourData = null;
|
|
71
|
+
let dayData = null;
|
|
72
|
+
let factorList = realtimeData.factorList;
|
|
73
|
+
if (res[0] && res[0].data) {
|
|
74
|
+
const data = res[0].data;
|
|
75
|
+
const level = fpiTgFactorTools.factorToLevel("aqi", data.aqi, "hour");
|
|
76
|
+
hourData = {
|
|
77
|
+
hourV: data.aqi,
|
|
78
|
+
hourColor: level >= 0 ? fpiTgFactorTools.factorToColor("aqi", data.aqi, "hour") : noDataColor,
|
|
79
|
+
hourPollutionZh: data.airQuality,
|
|
80
|
+
hourMainPollutants: data.mainPollutants
|
|
81
|
+
};
|
|
82
|
+
factorList = factorList.map((item) => {
|
|
83
|
+
const obj = data.commonFactors.find(
|
|
84
|
+
(c) => c.key === item.key
|
|
85
|
+
);
|
|
86
|
+
return {
|
|
87
|
+
...item,
|
|
88
|
+
hourV: obj?.value ? obj.value : "--",
|
|
89
|
+
hourColor: obj && obj.value && obj.value !== "--" ? fpiTgFactorTools.factorToColor(item.code, obj.value, "hour") : noDataColor
|
|
90
|
+
};
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
if (res[1] && res[1].data) {
|
|
94
|
+
const data = res[1].data;
|
|
95
|
+
const level = fpiTgFactorTools.factorToLevel("aqi", data.aqi, "day");
|
|
96
|
+
dayData = {
|
|
97
|
+
dayV: data.aqi,
|
|
98
|
+
dayColor: level >= 0 ? fpiTgFactorTools.factorToColor("aqi", data.aqi, "day") : noDataColor,
|
|
99
|
+
dayPollutionZh: data.airQuality,
|
|
100
|
+
dayMainPollutants: data.mainPollutants
|
|
101
|
+
};
|
|
102
|
+
factorList = factorList.map((item) => {
|
|
103
|
+
const obj = data.commonFactors.find(
|
|
104
|
+
(c) => c.key === item.key
|
|
105
|
+
);
|
|
106
|
+
return {
|
|
107
|
+
...item,
|
|
108
|
+
dayV: obj?.value ? obj.value : "--",
|
|
109
|
+
dayColor: obj && obj.value && obj.value !== "--" ? fpiTgFactorTools.factorToColor(item.code, obj.value, "day") : noDataColor
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
Object.assign(realtimeData, hourData, dayData, { factorList });
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
vue.onMounted(() => {
|
|
117
|
+
fetchData();
|
|
118
|
+
});
|
|
119
|
+
vue.watch(
|
|
120
|
+
() => props.apiParams,
|
|
121
|
+
() => {
|
|
122
|
+
fetchData();
|
|
123
|
+
}
|
|
124
|
+
);
|
|
125
|
+
return (_ctx, _cache) => {
|
|
126
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
127
|
+
class: vue.normalizeClass(`${clsfix}-container`)
|
|
128
|
+
}, [
|
|
129
|
+
vue.createElementVNode("div", {
|
|
130
|
+
class: vue.normalizeClass(`${clsfix}-top`)
|
|
131
|
+
}, [
|
|
132
|
+
vue.createElementVNode("div", {
|
|
133
|
+
class: vue.normalizeClass(`${clsfix}-top-item`)
|
|
134
|
+
}, [
|
|
135
|
+
_hoisted_1,
|
|
136
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
137
|
+
vue.createElementVNode("div", {
|
|
138
|
+
class: "aqiValue",
|
|
139
|
+
style: vue.normalizeStyle({ color: realtimeData.hourColor })
|
|
140
|
+
}, vue.toDisplayString(realtimeData.hourV), 5),
|
|
141
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
142
|
+
vue.createElementVNode("span", {
|
|
143
|
+
class: "pollution-zh",
|
|
144
|
+
style: vue.normalizeStyle({ color: realtimeData.hourColor })
|
|
145
|
+
}, vue.toDisplayString(realtimeData.hourPollutionZh), 5),
|
|
146
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
147
|
+
_hoisted_5,
|
|
148
|
+
vue.createElementVNode("span", {
|
|
149
|
+
class: "value",
|
|
150
|
+
style: vue.normalizeStyle({
|
|
151
|
+
color: realtimeData.hourMainPollutants === "--" ? noDataColor : void 0
|
|
152
|
+
})
|
|
153
|
+
}, vue.toDisplayString(realtimeData.hourMainPollutants), 5)
|
|
154
|
+
])
|
|
155
|
+
])
|
|
156
|
+
])
|
|
157
|
+
], 2),
|
|
158
|
+
vue.createElementVNode("div", {
|
|
159
|
+
class: vue.normalizeClass(`${clsfix}-top-item`)
|
|
160
|
+
}, [
|
|
161
|
+
_hoisted_6,
|
|
162
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
163
|
+
vue.createElementVNode("div", {
|
|
164
|
+
class: "aqiValue",
|
|
165
|
+
style: vue.normalizeStyle({ color: realtimeData.dayColor })
|
|
166
|
+
}, vue.toDisplayString(realtimeData.dayV), 5),
|
|
167
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
168
|
+
vue.createElementVNode("span", {
|
|
169
|
+
class: "pollution-zh",
|
|
170
|
+
style: vue.normalizeStyle({ color: realtimeData.dayColor })
|
|
171
|
+
}, vue.toDisplayString(realtimeData.dayPollutionZh), 5),
|
|
172
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
173
|
+
_hoisted_10,
|
|
174
|
+
vue.createElementVNode("span", {
|
|
175
|
+
class: "value",
|
|
176
|
+
style: vue.normalizeStyle({
|
|
177
|
+
color: realtimeData.dayMainPollutants === "--" ? noDataColor : void 0
|
|
178
|
+
})
|
|
179
|
+
}, vue.toDisplayString(realtimeData.dayMainPollutants), 5)
|
|
180
|
+
])
|
|
181
|
+
])
|
|
182
|
+
])
|
|
183
|
+
], 2)
|
|
184
|
+
], 2),
|
|
185
|
+
vue.createElementVNode("div", {
|
|
186
|
+
class: vue.normalizeClass(`${clsfix}-center`)
|
|
187
|
+
}, _hoisted_13, 2),
|
|
188
|
+
vue.createElementVNode("ul", {
|
|
189
|
+
class: vue.normalizeClass(`${clsfix}-bottom`)
|
|
190
|
+
}, [
|
|
191
|
+
_hoisted_14,
|
|
192
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(realtimeData.factorList, (item) => {
|
|
193
|
+
return vue.openBlock(), vue.createElementBlock("li", {
|
|
194
|
+
key: item.code,
|
|
195
|
+
class: vue.normalizeClass(`${clsfix}-bottom-item`)
|
|
196
|
+
}, [
|
|
197
|
+
vue.createElementVNode("span", {
|
|
198
|
+
class: "value",
|
|
199
|
+
style: vue.normalizeStyle({ color: item.hourColor })
|
|
200
|
+
}, vue.toDisplayString(item.hourV), 5),
|
|
201
|
+
vue.createElementVNode("span", {
|
|
202
|
+
class: "line",
|
|
203
|
+
style: vue.normalizeStyle({ backgroundColor: item.hourColor })
|
|
204
|
+
}, null, 4),
|
|
205
|
+
vue.createElementVNode("span", {
|
|
206
|
+
class: "value",
|
|
207
|
+
style: vue.normalizeStyle({ color: item.dayColor })
|
|
208
|
+
}, vue.toDisplayString(item.dayV), 5),
|
|
209
|
+
vue.createElementVNode("span", {
|
|
210
|
+
class: "line",
|
|
211
|
+
style: vue.normalizeStyle({ backgroundColor: item.dayColor })
|
|
212
|
+
}, null, 4),
|
|
213
|
+
vue.createElementVNode("span", _hoisted_15, vue.toDisplayString(item.name), 1)
|
|
214
|
+
], 2);
|
|
215
|
+
}), 128))
|
|
216
|
+
], 2)
|
|
217
|
+
], 2);
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
/* unplugin-vue-components disabled */const index_vue_vue_type_style_index_0_lang = '';
|
|
6
|
+
|
|
7
|
+
exports.default = index_vue_vue_type_style_index_0_lang;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const index_vue_vue_type_script_setup_true_lang = require('./index.vue.js');
|
|
6
|
+
require('./index.vue2.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.default = index_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -23,6 +23,7 @@ const index$h = require('./MainPollutionYearRatio/index.js');
|
|
|
23
23
|
const index$i = require('./MainPollutionMonthRatio/index.js');
|
|
24
24
|
const index$j = require('./AirTimeSeriesAnalysis/index.js');
|
|
25
25
|
const index$k = require('./TbHbAnalysis/index.js');
|
|
26
|
+
const index$l = require('./AirQualityRealTimeAndDay/index.js');
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
|
|
@@ -47,3 +48,4 @@ exports.DvAimsMainPollutionYearRatio = index$h.DvAimsMainPollutionYearRatio;
|
|
|
47
48
|
exports.DvAimsMainPollutionMonthRatio = index$i.DvAimsMainPollutionMonthRatio;
|
|
48
49
|
exports.DvAimsAirTimeSeriesAnalysis = index$j.DvAimsAirTimeSeriesAnalysis;
|
|
49
50
|
exports.DvAimsTbHbAnalysis = index$k.DvAimsTbHbAnalysis;
|
|
51
|
+
exports.DvAimsAirQualityRealTimeAndDay = index$l.DvAimsAirQualityRealTimeAndDay;
|
|
@@ -116,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
116
116
|
textAlign: "center",
|
|
117
117
|
fill: "rgba(0, 221, 255, 1)",
|
|
118
118
|
fontSize: 24,
|
|
119
|
-
fontFamily: "
|
|
119
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
120
120
|
fontWeight: 500
|
|
121
121
|
}
|
|
122
122
|
},
|
|
@@ -129,7 +129,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
129
129
|
textAlign: "center",
|
|
130
130
|
fill: "rgba(255, 255, 255, 0.6)",
|
|
131
131
|
fontSize: 18,
|
|
132
|
-
fontFamily: "
|
|
132
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
133
133
|
fontWeight: 500
|
|
134
134
|
}
|
|
135
135
|
},
|
|
@@ -143,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
143
143
|
textAlign: "center",
|
|
144
144
|
fill: "rgba(255, 255, 255, 0.6)",
|
|
145
145
|
fontSize: 18,
|
|
146
|
-
fontFamily: "
|
|
146
|
+
fontFamily: "var(--dv-font-family-number)",
|
|
147
147
|
fontWeight: 500
|
|
148
148
|
}
|
|
149
149
|
}
|