结构
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
// 删除
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user