diff --git a/.env.development b/.env.development
index ece64a9..f1ec8de 100644
--- a/.env.development
+++ b/.env.development
@@ -1 +1 @@
-VUE_APP_API_BASE_URL=http://1.14.132.108:10002/api
\ No newline at end of file
+VUE_APP_API_BASE_URL=http://localhost:10001/api
\ No newline at end of file
diff --git a/src/api/ecology/atmosphere/air.js b/src/api/ecology/atmosphere/air.js
index 703a0a4..4e040b1 100644
--- a/src/api/ecology/atmosphere/air.js
+++ b/src/api/ecology/atmosphere/air.js
@@ -71,11 +71,15 @@ const statisticArea = "/ambientAir/ambientAir/statistic/area";
const getPlaceGis = function(data){
return axios.get("/ambientAir/ambientAir/gis/place",{params:data})
}
+const getYearOptions = () => axios.get("/ambientAir/ambientAir/yearOptions")
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 getCityPlace = function(column){
+ return axios.get("/ambientAir/airPlaceBasicInfoDict/place/city",{params:{column}})
+}
+const getCountryPlace = function(column){
+ return axios.get("/ambientAir/airPlaceBasicInfoDict/place/country",{params:{column}})
}
// 排行
const airDayRankUrl = "/zhenQiWang/ambientAirZhenqiCityDayAqiRankData";
@@ -112,6 +116,8 @@ export {
airYearProvincialCapitalRankUrl,
airPm25YearProvincialCapitalRankUrl,
airMonthProvincialCapitalRankUrl,
+ getYearOptions,
getTrendChart,
- getPlaceByRegionLevel
+ getCityPlace,
+ getCountryPlace
}
diff --git a/src/views/atmosphere/acid-rain/trend/index.vue b/src/views/atmosphere/acid-rain/trend/index.vue
index 2b609f3..ad25f0b 100644
--- a/src/views/atmosphere/acid-rain/trend/index.vue
+++ b/src/views/atmosphere/acid-rain/trend/index.vue
@@ -85,6 +85,7 @@
return {
queryParams: {
yearList: ["2020", "2021"],
+ monthList: [],
areaList: ['南宁市'],
placeList: [],
regionLevel: '市级', // 区域等级
@@ -124,6 +125,34 @@
}
],
yOptions: [
+ {
+ label: '达标天数',
+ value: '达标天数',
+ },
+ {
+ label: '达标率',
+ value: '达标率',
+ },
+ {
+ label: '浓度',
+ value: '浓度',
+ },
+ {
+ label: '首要污染天数',
+ value: '首要污染天数',
+ },
+ {
+ label: '空气质量指数',
+ value: '空气质量指数',
+ },
+ {
+ label: '优良率',
+ value: '优良率',
+ },
+ {
+ label: '多项首要污染物天数',
+ value: '多项首要污染物天数',
+ },
]
};
},
diff --git a/src/views/atmosphere/air/trend/index.vue b/src/views/atmosphere/air/trend/index.vue
index ec4fe26..5498474 100644
--- a/src/views/atmosphere/air/trend/index.vue
+++ b/src/views/atmosphere/air/trend/index.vue
@@ -1,284 +1,271 @@
-
+
-
-
+
+
+
+
+
+
+
+
+ {{ item.label }}
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
+
-
-
+
-
-
+
-
-
-
-
+
-
-
+
-
- 开始统计
-
+ 开始统计
-
-
-
+