diff --git a/src/api/ecology/atmosphere/acid.js b/src/api/ecology/atmosphere/acid.js index 4431ffa..0d40941 100644 --- a/src/api/ecology/atmosphere/acid.js +++ b/src/api/ecology/atmosphere/acid.js @@ -60,6 +60,12 @@ const getColumnOptions = function(column){ const getPlaceGis = function(data){ return axios.get("/acidRain/acidRain/gis/place",{params:data}) } +const getTrendChart = function(data){ + return axios.post("/acidRain/acidRain/trend/chart",data) +} +const getPlaceByRegionLevel = function(column){ + return axios.get("/acidRain/acidRain/place/region",{params:{column}}) +} const statisticCity = "/acidRain/acidRain/statistic/city" const statisticCounty = "/acidRain/acidRain/statistic/county" const statisticIon = "/acidRain/acidRain/statistic/ion" @@ -83,5 +89,7 @@ export { statisticCity, statisticIon, statisticCounty, - getPlaceGis + getPlaceGis, + getTrendChart, + getPlaceByRegionLevel } diff --git a/src/api/ecology/atmosphere/air.js b/src/api/ecology/atmosphere/air.js index a0c0e9a..703a0a4 100644 --- a/src/api/ecology/atmosphere/air.js +++ b/src/api/ecology/atmosphere/air.js @@ -71,6 +71,12 @@ const statisticArea = "/ambientAir/ambientAir/statistic/area"; const getPlaceGis = function(data){ return axios.get("/ambientAir/ambientAir/gis/place",{params:data}) } +const getTrendChart = function(data){ + return axios.post("/ambientAir/ambientAir/trend/chart",data) +} +const getPlaceByRegionLevel = function(column){ + return axios.get("/ambientAir/ambientAir/place/region",{params:{column}}) +} // 排行 const airDayRankUrl = "/zhenQiWang/ambientAirZhenqiCityDayAqiRankData"; const airMonthRankUrl = "/zhenQiWang/ambientAirZhenqiCityMonthComprehensiveAqiRankData/page"; @@ -105,6 +111,7 @@ export { airPm25YearRankUrl, airYearProvincialCapitalRankUrl, airPm25YearProvincialCapitalRankUrl, - airMonthProvincialCapitalRankUrl - + airMonthProvincialCapitalRankUrl, + getTrendChart, + getPlaceByRegionLevel } diff --git a/src/views/atmosphere/acid-rain/trend/index.vue b/src/views/atmosphere/acid-rain/trend/index.vue new file mode 100644 index 0000000..2b609f3 --- /dev/null +++ b/src/views/atmosphere/acid-rain/trend/index.vue @@ -0,0 +1,284 @@ + + + + diff --git a/src/views/atmosphere/air/trend/index.vue b/src/views/atmosphere/air/trend/index.vue new file mode 100644 index 0000000..ec4fe26 --- /dev/null +++ b/src/views/atmosphere/air/trend/index.vue @@ -0,0 +1,284 @@ + + + +