This commit is contained in:
weicw
2021-09-10 10:14:44 +08:00
parent 185c21eb73
commit 03815d04b6
54 changed files with 228 additions and 2974 deletions

View File

@@ -3,7 +3,7 @@ import axios from 'axios';
const pageBillUrl = '/acidRain/acidRainBill/page';
// 添加
const saveAcidRainBill = function (data) {
return axios.post("/acidRain/acidRainBill/batch",data)
return axios.post("/acidRain/acidRainBill/importBatch",data)
}
// 删除

View File

@@ -27,7 +27,12 @@ const getAirBill = function (id) {
return axios.get(`/ambientAir/ambientAirBill/${id}`)
}
// -------------------------数据---------------------
// 分页
const pageAirUrl = '/ambientAir/ambientAir/page';
// 全部
const listAllAir = function (params){
return axios .get("/ambientAir/ambientAir",{params})
}
// 添加
const saveAir = function (data) {
return axios.post("/ambientAir/ambientAir",data)
@@ -62,6 +67,7 @@ export {
verifyAirBill,
getAirBill,
pageAirUrl,
listAllAir,
saveAir,
removeAir,
updateAir,

View File

@@ -28,6 +28,9 @@ const getRiverBill = function (id) {
}
// -------------------------数据---------------------
const pageRiverUrl = '/surfaceWaterSection/surfaceWaterSection/page';
const listAllRiver = function (params) {
return axios.get("/surfaceWaterSection/surfaceWaterSection",{params})
}
// 添加
const saveRiver = function (data) {
return axios.post("/surfaceWaterSection/surfaceWaterSection",data)
@@ -75,6 +78,7 @@ export {
getHistoryyears,
getColumnOptions,
statisticSourceUrl,
statisticYearUrl
statisticYearUrl,
listAllRiver
}