gis,酸雨
This commit is contained in:
@@ -1,77 +1,77 @@
|
||||
import axios from 'axios';
|
||||
// ----------------------列表-----------------------
|
||||
const pageBillUrl = '/acidRain/acidBill/page';
|
||||
const pageBillUrl = '/acidRain/acidRainBill/page';
|
||||
// 添加
|
||||
const saveAcidBill = function (data) {
|
||||
return axios.post("/acidRain/acidBill",data)
|
||||
const saveAcidRainBill = function (data) {
|
||||
return axios.post("/acidRain/acidRainBill/batch",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeAcidBill = function (id) {
|
||||
return axios.delete(`/acidRain/acidBill/${id}`,)
|
||||
const removeAcidRainBill = function (id) {
|
||||
return axios.delete(`/acidRain/acidRainBill/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchAcidBill = function (ids) {
|
||||
return axios.delete("/acidRain/acidBill/batch",{data:ids})
|
||||
const removeBatchAcidRainBill = function (ids) {
|
||||
return axios.delete("/acidRain/acidRainBill/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateAcidBill = function (data) {
|
||||
return axios.put("/acidRain/acidBill",data)
|
||||
const updateAcidRainBill = function (data) {
|
||||
return axios.put("/acidRain/acidRainBill",data)
|
||||
}
|
||||
// 审核
|
||||
const verifyAcidBill = function (data) {
|
||||
return axios.put("/acidRain/acidBill/verify",data);
|
||||
const verifyAcidRainBill = function (data) {
|
||||
return axios.put("/acidRain/acidRainBill/verify",data);
|
||||
}
|
||||
const getAcidBill = function (id) {
|
||||
return axios.get(`/acidRain/acidBill/${id}`)
|
||||
const getAcidRainBill = function (id) {
|
||||
return axios.get(`/acidRain/acidRainBill/${id}`)
|
||||
}
|
||||
// -------------------------数据---------------------
|
||||
const pageAcidUrl = '/acidRain/acid/page';
|
||||
const pageAcidRainUrl = '/acidRain/acidRain/page';
|
||||
// 添加
|
||||
const saveAcid = function (data) {
|
||||
return axios.post("/acidRain/acid",data)
|
||||
const saveAcidRain = function (data) {
|
||||
return axios.post("/acidRain/acidRain",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeAcid = function (id) {
|
||||
return axios.delete(`/acidRain/acid/${id}`,)
|
||||
const removeAcidRain = function (id) {
|
||||
return axios.delete(`/acidRain/acidRain/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchAcid = function (ids) {
|
||||
return axios.delete("/acidRain/acid/batch",{data:ids})
|
||||
const removeBatchAcidRain = function (ids) {
|
||||
return axios.delete("/acidRain/acidRain/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateAcid = function (data) {
|
||||
return axios.put("/acidRain/acid",data)
|
||||
const updateAcidRain = function (data) {
|
||||
return axios.put("/acidRain/acidRain",data)
|
||||
}
|
||||
|
||||
// -------------------------统计---------------------
|
||||
const pageAcidStatisticUrl = '/acidRain/acid/statistic';
|
||||
const statisticSourceUrl = '/acidRain/acid/statistic/source';
|
||||
const statisticYearUrl = '/acidRain/acid/statistic/year';
|
||||
const pageAcidRainStatisticUrl = '/acidRain/acidRain/statistic';
|
||||
const statisticSourceUrl = '/acidRain/acidRain/statistic/source';
|
||||
const statisticYearUrl = '/acidRain/acidRain/statistic/year';
|
||||
const getHistoryyears = function () {
|
||||
return axios.get("/acidRain/acid/history-year")
|
||||
return axios.get("/acidRain/acidRain/history-year")
|
||||
}
|
||||
const getColumnOptions = function(column){
|
||||
return axios.get("/acidRain/acid/options",{params:{column}})
|
||||
return axios.get("/acidRain/acidRain/options",{params:{column}})
|
||||
}
|
||||
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveAcidBill,
|
||||
removeAcidBill,
|
||||
updateAcidBill,
|
||||
removeBatchAcidBill,
|
||||
verifyAcidBill,
|
||||
getAcidBill,
|
||||
pageAcidUrl,
|
||||
saveAcid,
|
||||
removeAcid,
|
||||
updateAcid,
|
||||
removeBatchAcid,
|
||||
pageAcidStatisticUrl,
|
||||
saveAcidRainBill,
|
||||
removeAcidRainBill,
|
||||
updateAcidRainBill,
|
||||
removeBatchAcidRainBill,
|
||||
verifyAcidRainBill,
|
||||
getAcidRainBill,
|
||||
pageAcidRainUrl,
|
||||
saveAcidRain,
|
||||
removeAcidRain,
|
||||
updateAcidRain,
|
||||
removeBatchAcidRain,
|
||||
pageAcidRainStatisticUrl,
|
||||
getHistoryyears,
|
||||
getColumnOptions,
|
||||
statisticSourceUrl,
|
||||
|
||||
@@ -55,6 +55,13 @@ const getHistoryyears = function () {
|
||||
const getColumnOptions = function(column){
|
||||
return axios.get("/sound/function/noise/options",{params:{column}})
|
||||
}
|
||||
const getGisBase = function(data){
|
||||
return axios.get("/sound/function/noise/gis",{params:data})
|
||||
}
|
||||
|
||||
const getGisArea = function(data){
|
||||
return axios.get("/sound/function/noise/gis/area",{params:data})
|
||||
}
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveFunctionNoiseBill,
|
||||
@@ -70,6 +77,8 @@ export {
|
||||
removeBatchFunctionNoise,
|
||||
pageFunctionNoiseStatisticUrl,
|
||||
getHistoryyears,
|
||||
getColumnOptions
|
||||
getColumnOptions,
|
||||
getGisBase,
|
||||
getGisArea
|
||||
|
||||
}
|
||||
|
||||
@@ -62,6 +62,14 @@ const getHistoryyears = function () {
|
||||
const getColumnOptions = function(column){
|
||||
return axios.get("/sound/road/noise/options",{params:{column}})
|
||||
}
|
||||
|
||||
const getGisBase = function(data){
|
||||
return axios.get("/sound/road/noise/gis",{params:data})
|
||||
}
|
||||
|
||||
const getGisArea = function(data){
|
||||
return axios.get("/sound/road/noise/gis/area",{params:data})
|
||||
}
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveRoadNoiseBill,
|
||||
@@ -79,6 +87,8 @@ export {
|
||||
getHistoryyears,
|
||||
pageRoadNoiseCompare,
|
||||
getColumnOptions,
|
||||
listAll
|
||||
listAll,
|
||||
getGisBase,
|
||||
getGisArea
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user