空气字典 统计
This commit is contained in:
@@ -57,7 +57,8 @@ const updateAir = function (data) {
|
||||
const getColumnOptions = function(column){
|
||||
return axios.get("/ambientAir/ambientAir/options",{params:{column}})
|
||||
}
|
||||
|
||||
//均值 百分位
|
||||
const statisticAvg = "/ambientAir/ambientAir/statistic/avg";
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveAirBill,
|
||||
@@ -73,6 +74,6 @@ export {
|
||||
updateAir,
|
||||
removeBatchAir,
|
||||
getColumnOptions,
|
||||
|
||||
statisticAvg
|
||||
|
||||
}
|
||||
|
||||
32
src/api/ecology/atmosphere/acid-rain-plcae.js
Normal file
32
src/api/ecology/atmosphere/acid-rain-plcae.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/ambientAir/airPlaceBasicInfoDict";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const savePlace = function (data) {
|
||||
return axios.post("/ambientAir/airPlaceBasicInfoDict",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removePlace = function (id) {
|
||||
return axios.delete(`/ambientAir/airPlaceBasicInfoDict/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchPlace = function (ids) {
|
||||
return axios.delete("/ambientAir/airPlaceBasicInfoDict/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updatePlace = function (data) {
|
||||
return axios.put("/ambientAir/airPlaceBasicInfoDict",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
savePlace,
|
||||
updatePlace,
|
||||
removeBatchPlace,
|
||||
removePlace
|
||||
|
||||
}
|
||||
32
src/api/ecology/atmosphere/air-api-relate.js
Normal file
32
src/api/ecology/atmosphere/air-api-relate.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/ambientAir/airAqiRelateInfoDict";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveAqiRelate = function (data) {
|
||||
return axios.post("/ambientAir/airAqiRelateInfoDict",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeAqiRelate = function (id) {
|
||||
return axios.delete(`/ambientAir/airAqiRelateInfoDict/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchAqiRelate = function (ids) {
|
||||
return axios.delete("/ambientAir/airAqiRelateInfoDict/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateAqiRelate = function (data) {
|
||||
return axios.put("/ambientAir/airAqiRelateInfoDict",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveAqiRelate,
|
||||
updateAqiRelate,
|
||||
removeBatchAqiRelate,
|
||||
removeAqiRelate
|
||||
|
||||
}
|
||||
32
src/api/ecology/atmosphere/air-evaluation-standard.js
Normal file
32
src/api/ecology/atmosphere/air-evaluation-standard.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/ambientAir/airEvaluationStandard";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveStandard = function (data) {
|
||||
return axios.post("/ambientAir/airEvaluationStandard",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeStandard = function (id) {
|
||||
return axios.delete(`/ambientAir/airEvaluationStandard/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchStandard = function (ids) {
|
||||
return axios.delete("/ambientAir/airEvaluationStandard/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateStandard = function (data) {
|
||||
return axios.put("/ambientAir/airEvaluationStandard",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveStandard,
|
||||
updateStandard,
|
||||
removeBatchStandard,
|
||||
removeStandard
|
||||
|
||||
}
|
||||
32
src/api/ecology/atmosphere/air-indicator-iaqi.js
Normal file
32
src/api/ecology/atmosphere/air-indicator-iaqi.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/ambientAir/airIndicatorIaqiDict";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const saveIndicatorIaqi = function (data) {
|
||||
return axios.post("/ambientAir/airIndicatorIaqiDict",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeIndicatorIaqi = function (id) {
|
||||
return axios.delete(`/ambientAir/airIndicatorIaqiDict/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchIndicatorIaqi = function (ids) {
|
||||
return axios.delete("/ambientAir/airIndicatorIaqiDict/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateIndicatorIaqi = function (data) {
|
||||
return axios.put("/ambientAir/airIndicatorIaqiDict",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
saveIndicatorIaqi,
|
||||
updateIndicatorIaqi,
|
||||
removeBatchIndicatorIaqi,
|
||||
removeIndicatorIaqi
|
||||
|
||||
}
|
||||
32
src/api/ecology/atmosphere/air-plcae.js
Normal file
32
src/api/ecology/atmosphere/air-plcae.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import axios from 'axios';
|
||||
const baseUri = "/ambientAir/airPlaceBasicInfoDict";
|
||||
const listAllUrl = baseUri + "";
|
||||
|
||||
// 添加
|
||||
const savePlace = function (data) {
|
||||
return axios.post("/ambientAir/airPlaceBasicInfoDict",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removePlace = function (id) {
|
||||
return axios.delete(`/ambientAir/airPlaceBasicInfoDict/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchPlace = function (ids) {
|
||||
return axios.delete("/ambientAir/airPlaceBasicInfoDict/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updatePlace = function (data) {
|
||||
return axios.put("/ambientAir/airPlaceBasicInfoDict",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
listAllUrl,
|
||||
savePlace,
|
||||
updatePlace,
|
||||
removeBatchPlace,
|
||||
removePlace
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user