导入。。。。。。。。。。。。。。。。

This commit is contained in:
weicw
2021-09-09 02:47:54 +08:00
parent 39b8b8c34b
commit 185c21eb73
42 changed files with 7693 additions and 1294 deletions

80
src/api/ecology/lake.js Normal file
View File

@@ -0,0 +1,80 @@
import axios from 'axios';
// ----------------------列表-----------------------
const pageBillUrl = '/lakeLibrary/lakeLibraryInnerCityBill/page';
// 添加
const saveLakeBill = function (data) {
return axios.post("/lakeLibrary/lakeLibraryInnerCityBill/importBatch",data)
}
// 删除
const removeLakeBill = function (id) {
return axios.delete(`/lakeLibrary/lakeLibraryInnerCityBill/${id}`,)
}
// 批量删除
const removeBatchLakeBill = function (ids) {
return axios.delete("/lakeLibrary/lakeLibraryInnerCityBill/batch",{data:ids})
}
// 修改
const updateLakeBill = function (data) {
return axios.put("/lakeLibrary/lakeLibraryInnerCityBill",data)
}
// 审核
const verifyLakeBill = function (data) {
return axios.put("/lakeLibrary/lakeLibraryInnerCityBill/verify",data);
}
const getLakeBill = function (id) {
return axios.get(`/lakeLibrary/lakeLibraryInnerCityBill/${id}`)
}
// -------------------------数据---------------------
const pageLakeUrl = '/lakeLibrary/lakeLibraryInnerCity/page';
// 添加
const saveLake = function (data) {
return axios.post("/lakeLibrary/lakeLibraryInnerCity",data)
}
// 删除
const removeLake = function (id) {
return axios.delete(`/lakeLibrary/lakeLibraryInnerCity/${id}`,)
}
// 批量删除
const removeBatchLake = function (ids) {
return axios.delete("/lakeLibrary/lakeLibraryInnerCity/batch",{data:ids})
}
// 修改
const updateLake = function (data) {
return axios.put("/lakeLibrary/lakeLibraryInnerCity",data)
}
// -------------------------统计---------------------
const pageLakeStatisticUrl = '/lakeLibrary/lakeLibraryInnerCity/statistic';
const statisticSourceUrl = '/lakeLibrary/lakeLibraryInnerCity/statistic/source';
const statisticYearUrl = '/lakeLibrary/lakeLibraryInnerCity/statistic/year';
const getHistoryyears = function () {
return axios.get("/lakeLibrary/lakeLibraryInnerCity/history-year")
}
const getColumnOptions = function(column){
return axios.get("/lakeLibrary/lakeLibraryInnerCity/options",{params:{column}})
}
export {
pageBillUrl,
saveLakeBill,
removeLakeBill,
updateLakeBill,
removeBatchLakeBill,
verifyLakeBill,
getLakeBill,
pageLakeUrl,
saveLake,
removeLake,
updateLake,
removeBatchLake,
pageLakeStatisticUrl,
getHistoryyears,
getColumnOptions,
statisticSourceUrl,
statisticYearUrl
}

View File

@@ -0,0 +1,94 @@
import axios from 'axios';
// ----------------------列表-----------------------
const pageBillUrl = '/waterFunctionArea/waterStationWaterFunctionAreaBill/page';
// 添加
const saveRiverStationBill = function (data) {
return axios.post("/waterFunctionArea/waterStationWaterFunctionAreaBill/batch",data)
}
// 删除
const removeRiverStationBill = function (id) {
return axios.delete(`/waterFunctionArea/waterStationWaterFunctionAreaBill/${id}`,)
}
// 批量删除
const removeBatchRiverStationBill = function (ids) {
return axios.delete("/waterFunctionArea/waterStationWaterFunctionAreaBill/batch",{data:ids})
}
// 修改
const updateRiverStationBill = function (data) {
return axios.put("/waterFunctionArea/waterStationWaterFunctionAreaBill",data)
}
// 审核
const verifyRiverStationBill = function (data) {
return axios.put("/waterFunctionArea/waterStationWaterFunctionAreaBill/verify",data);
}
const getRiverStationBill = function (id) {
return axios.get(`/waterFunctionArea/waterStationWaterFunctionAreaBill/${id}`)
}
// -------------------------数据---------------------
const pageRiverStationUrl = '/waterFunctionArea/waterStationWaterFunctionArea/page';
const listAll = function(data){
return axios.get("/waterFunctionArea/waterStationWaterFunctionArea",{params:data})
}
// 添加
const saveRiverStation = function (data) {
return axios.post("/waterFunctionArea/waterStationWaterFunctionArea",data)
}
// 删除
const removeRiverStation = function (id) {
return axios.delete(`/waterFunctionArea/waterStationWaterFunctionArea/${id}`,)
}
// 批量删除
const removeBatchRiverStation = function (ids) {
return axios.delete("/waterFunctionArea/waterStationWaterFunctionArea/batch",{data:ids})
}
// 修改
const updateRiverStation = function (data) {
return axios.put("/waterFunctionArea/waterStationWaterFunctionArea",data)
}
// -------------------------统计---------------------
const pageRiverStationStatisticUrl = '/waterFunctionArea/waterStationWaterFunctionArea/statistic';
const pageRiverStationCompare = '/waterFunctionArea/waterStationWaterFunctionArea/statistic/compare';
const getHistoryyears = function () {
return axios.get("/waterFunctionArea/waterStationWaterFunctionArea/history-year")
}
const getColumnOptions = function(column){
return axios.get("/waterFunctionArea/waterStationWaterFunctionArea/options",{params:{column}})
}
const getGisBase = function(data){
return axios.get("/waterFunctionArea/waterStationWaterFunctionArea/gis",{params:data})
}
const getGisArea = function(data){
return axios.get("/waterFunctionArea/waterStationWaterFunctionArea/gis/area",{params:data})
}
export {
pageBillUrl,
saveRiverStationBill,
removeRiverStationBill,
updateRiverStationBill,
removeBatchRiverStationBill,
verifyRiverStationBill,
getRiverStationBill,
pageRiverStationUrl,
saveRiverStation,
removeRiverStation,
updateRiverStation,
removeBatchRiverStation,
pageRiverStationStatisticUrl,
getHistoryyears,
pageRiverStationCompare,
getColumnOptions,
listAll,
getGisBase,
getGisArea
}

View File

@@ -0,0 +1,80 @@
import axios from 'axios';
// ----------------------列表-----------------------
const pageBillUrl = '/blackSmellyWater/blackSmellyWaterCityRiverBill/page';
// 添加
const saveSewageBill = function (data) {
return axios.post("/blackSmellyWater/blackSmellyWaterCityRiverBill/importBatch",data)
}
// 删除
const removeSewageBill = function (id) {
return axios.delete(`/blackSmellyWater/blackSmellyWaterCityRiverBill/${id}`,)
}
// 批量删除
const removeBatchSewageBill = function (ids) {
return axios.delete("/blackSmellyWater/blackSmellyWaterCityRiverBill/batch",{data:ids})
}
// 修改
const updateSewageBill = function (data) {
return axios.put("/blackSmellyWater/blackSmellyWaterCityRiverBill",data)
}
// 审核
const verifySewageBill = function (data) {
return axios.put("/blackSmellyWater/blackSmellyWaterCityRiverBill/verify",data);
}
const getSewageBill = function (id) {
return axios.get(`/blackSmellyWater/blackSmellyWaterCityRiverBill/${id}`)
}
// -------------------------数据---------------------
const pageSewageUrl = '/blackSmellyWater/blackSmellyWaterCityRiver/page';
// 添加
const saveSewage = function (data) {
return axios.post("/blackSmellyWater/blackSmellyWaterCityRiver",data)
}
// 删除
const removeSewage = function (id) {
return axios.delete(`/blackSmellyWater/blackSmellyWaterCityRiver/${id}`,)
}
// 批量删除
const removeBatchSewage = function (ids) {
return axios.delete("/blackSmellyWater/blackSmellyWaterCityRiver/batch",{data:ids})
}
// 修改
const updateSewage = function (data) {
return axios.put("/blackSmellyWater/blackSmellyWaterCityRiver",data)
}
// -------------------------统计---------------------
const pageSewageStatisticUrl = '/blackSmellyWater/blackSmellyWaterCityRiver/statistic';
const statisticSourceUrl = '/blackSmellyWater/blackSmellyWaterCityRiver/statistic/source';
const statisticYearUrl = '/blackSmellyWater/blackSmellyWaterCityRiver/statistic/year';
const getHistoryyears = function () {
return axios.get("/blackSmellyWater/blackSmellyWaterCityRiver/history-year")
}
const getColumnOptions = function(column){
return axios.get("/blackSmellyWater/blackSmellyWaterCityRiver/options",{params:{column}})
}
export {
pageBillUrl,
saveSewageBill,
removeSewageBill,
updateSewageBill,
removeBatchSewageBill,
verifySewageBill,
getSewageBill,
pageSewageUrl,
saveSewage,
removeSewage,
updateSewage,
removeBatchSewage,
pageSewageStatisticUrl,
getHistoryyears,
getColumnOptions,
statisticSourceUrl,
statisticYearUrl
}

80
src/api/ecology/sewage.js Normal file
View File

@@ -0,0 +1,80 @@
import axios from 'axios';
// ----------------------列表-----------------------
const pageBillUrl = '/blackSmellyWater/blackSmellyWaterBill/page';
// 添加
const saveSewageBill = function (data) {
return axios.post("/blackSmellyWater/blackSmellyWaterBill/importBatch",data)
}
// 删除
const removeSewageBill = function (id) {
return axios.delete(`/blackSmellyWater/blackSmellyWaterBill/${id}`,)
}
// 批量删除
const removeBatchSewageBill = function (ids) {
return axios.delete("/blackSmellyWater/blackSmellyWaterBill/batch",{data:ids})
}
// 修改
const updateSewageBill = function (data) {
return axios.put("/blackSmellyWater/blackSmellyWaterBill",data)
}
// 审核
const verifySewageBill = function (data) {
return axios.put("/blackSmellyWater/blackSmellyWaterBill/verify",data);
}
const getSewageBill = function (id) {
return axios.get(`/blackSmellyWater/blackSmellyWaterBill/${id}`)
}
// -------------------------数据---------------------
const pageSewageUrl = '/blackSmellyWater/blackSmellyWater/page';
// 添加
const saveSewage = function (data) {
return axios.post("/blackSmellyWater/blackSmellyWater",data)
}
// 删除
const removeSewage = function (id) {
return axios.delete(`/blackSmellyWater/blackSmellyWater/${id}`,)
}
// 批量删除
const removeBatchSewage = function (ids) {
return axios.delete("/blackSmellyWater/blackSmellyWater/batch",{data:ids})
}
// 修改
const updateSewage = function (data) {
return axios.put("/blackSmellyWater/blackSmellyWater",data)
}
// -------------------------统计---------------------
const pageSewageStatisticUrl = '/blackSmellyWater/blackSmellyWater/statistic';
const statisticSourceUrl = '/blackSmellyWater/blackSmellyWater/statistic/source';
const statisticYearUrl = '/blackSmellyWater/blackSmellyWater/statistic/year';
const getHistoryyears = function () {
return axios.get("/blackSmellyWater/blackSmellyWater/history-year")
}
const getColumnOptions = function(column){
return axios.get("/blackSmellyWater/blackSmellyWater/options",{params:{column}})
}
export {
pageBillUrl,
saveSewageBill,
removeSewageBill,
updateSewageBill,
removeBatchSewageBill,
verifySewageBill,
getSewageBill,
pageSewageUrl,
saveSewage,
removeSewage,
updateSewage,
removeBatchSewage,
pageSewageStatisticUrl,
getHistoryyears,
getColumnOptions,
statisticSourceUrl,
statisticYearUrl
}

View File

@@ -0,0 +1,80 @@
import axios from 'axios';
// ----------------------列表-----------------------
const pageBillUrl = '/lakeLibrary/lakeLibrarySpecialBill/page';
// 添加
const saveLakeBill = function (data) {
return axios.post("/lakeLibrary/lakeLibrarySpecialBill/importBatch",data)
}
// 删除
const removeLakeBill = function (id) {
return axios.delete(`/lakeLibrary/lakeLibrarySpecialBill/${id}`,)
}
// 批量删除
const removeBatchLakeBill = function (ids) {
return axios.delete("/lakeLibrary/lakeLibrarySpecialBill/batch",{data:ids})
}
// 修改
const updateLakeBill = function (data) {
return axios.put("/lakeLibrary/lakeLibrarySpecialBill",data)
}
// 审核
const verifyLakeBill = function (data) {
return axios.put("/lakeLibrary/lakeLibrarySpecialBill/verify",data);
}
const getLakeBill = function (id) {
return axios.get(`/lakeLibrary/lakeLibrarySpecialBill/${id}`)
}
// -------------------------数据---------------------
const pageLakeUrl = '/lakeLibrary/lakeLibrarySpecial/page';
// 添加
const saveLake = function (data) {
return axios.post("/lakeLibrary/lakeLibrarySpecial",data)
}
// 删除
const removeLake = function (id) {
return axios.delete(`/lakeLibrary/lakeLibrarySpecial/${id}`,)
}
// 批量删除
const removeBatchLake = function (ids) {
return axios.delete("/lakeLibrary/lakeLibrarySpecial/batch",{data:ids})
}
// 修改
const updateLake = function (data) {
return axios.put("/lakeLibrary/lakeLibrarySpecial",data)
}
// -------------------------统计---------------------
const pageLakeStatisticUrl = '/lakeLibrary/lakeLibrarySpecial/statistic';
const statisticSourceUrl = '/lakeLibrary/lakeLibrarySpecial/statistic/source';
const statisticYearUrl = '/lakeLibrary/lakeLibrarySpecial/statistic/year';
const getHistoryyears = function () {
return axios.get("/lakeLibrary/lakeLibrarySpecial/history-year")
}
const getColumnOptions = function(column){
return axios.get("/lakeLibrary/lakeLibrarySpecial/options",{params:{column}})
}
export {
pageBillUrl,
saveLakeBill,
removeLakeBill,
updateLakeBill,
removeBatchLakeBill,
verifyLakeBill,
getLakeBill,
pageLakeUrl,
saveLake,
removeLake,
updateLake,
removeBatchLake,
pageLakeStatisticUrl,
getHistoryyears,
getColumnOptions,
statisticSourceUrl,
statisticYearUrl
}

View File

@@ -1,74 +1,74 @@
import axios from 'axios';
// ----------------------列表-----------------------
const pageBillUrl = '/waterFunctionArea/waterFunctionAreaBill/page';
const pageBillUrl = '/waterFunctionArea/nationalLevelWaterFunctionAreaBill/page';
// 添加
const saveWaterFunctionAreaBill = function (data) {
return axios.post("/waterFunctionArea/waterFunctionAreaBill/importBatch",data)
return axios.post("/waterFunctionArea/nationalLevelWaterFunctionAreaBill/importBatch",data)
}
// 删除
const removeWaterFunctionAreaBill = function (id) {
return axios.delete(`/waterFunctionArea/waterFunctionAreaBill/${id}`,)
return axios.delete(`/waterFunctionArea/nationalLevelWaterFunctionAreaBill/${id}`,)
}
// 批量删除
const removeBatchWaterFunctionAreaBill = function (ids) {
return axios.delete("/waterFunctionArea/waterFunctionAreaBill/batch",{data:ids})
return axios.delete("/waterFunctionArea/nationalLevelWaterFunctionAreaBill/batch",{data:ids})
}
// 修改
const updateWaterFunctionAreaBill = function (data) {
return axios.put("/waterFunctionArea/waterFunctionAreaBill",data)
return axios.put("/waterFunctionArea/nationalLevelWaterFunctionAreaBill",data)
}
// 审核
const verifyWaterFunctionAreaBill = function (data) {
return axios.put("/waterFunctionArea/waterFunctionAreaBill/verify",data);
return axios.put("/waterFunctionArea/nationalLevelWaterFunctionAreaBill/verify",data);
}
const getWaterFunctionAreaBill = function (id) {
return axios.get(`/waterFunctionArea/waterFunctionAreaBill/${id}`)
return axios.get(`/waterFunctionArea/nationalLevelWaterFunctionAreaBill/${id}`)
}
// -------------------------数据---------------------
const pageWaterFunctionAreaUrl = '/waterFunctionArea/waterFunctionArea/page';
const pageWaterFunctionAreaUrl = '/waterFunctionArea/nationalLevelWaterFunctionArea/page';
const listAll = function(data){
return axios.get("/waterFunctionArea/waterFunctionArea",{params:data})
return axios.get("/waterFunctionArea/nationalLevelWaterFunctionArea",{params:data})
}
// 添加
const saveWaterFunctionArea = function (data) {
return axios.post("/waterFunctionArea/waterFunctionArea",data)
return axios.post("/waterFunctionArea/nationalLevelWaterFunctionArea",data)
}
// 删除
const removeWaterFunctionArea = function (id) {
return axios.delete(`/waterFunctionArea/waterFunctionArea/${id}`,)
return axios.delete(`/waterFunctionArea/nationalLevelWaterFunctionArea/${id}`,)
}
// 批量删除
const removeBatchWaterFunctionArea = function (ids) {
return axios.delete("/waterFunctionArea/waterFunctionArea/batch",{data:ids})
return axios.delete("/waterFunctionArea/nationalLevelWaterFunctionArea/batch",{data:ids})
}
// 修改
const updateWaterFunctionArea = function (data) {
return axios.put("/waterFunctionArea/waterFunctionArea",data)
return axios.put("/waterFunctionArea/nationalLevelWaterFunctionArea",data)
}
// -------------------------统计---------------------
const pageWaterFunctionAreaStatisticUrl = '/waterFunctionArea/waterFunctionArea/statistic';
const pageWaterFunctionAreaCompare = '/waterFunctionArea/waterFunctionArea/statistic/compare';
const pageWaterFunctionAreaStatisticUrl = '/waterFunctionArea/nationalLevelWaterFunctionArea/statistic';
const pageWaterFunctionAreaCompare = '/waterFunctionArea/nationalLevelWaterFunctionArea/statistic/compare';
const getHistoryyears = function () {
return axios.get("/waterFunctionArea/waterFunctionArea/history-year")
return axios.get("/waterFunctionArea/nationalLevelWaterFunctionArea/history-year")
}
const getColumnOptions = function(column){
return axios.get("/waterFunctionArea/waterFunctionArea/options",{params:{column}})
return axios.get("/waterFunctionArea/nationalLevelWaterFunctionArea/options",{params:{column}})
}
const getGisBase = function(data){
return axios.get("/waterFunctionArea/waterFunctionArea/gis",{params:data})
return axios.get("/waterFunctionArea/nationalLevelWaterFunctionArea/gis",{params:data})
}
const getGisArea = function(data){
return axios.get("/waterFunctionArea/waterFunctionArea/gis/area",{params:data})
return axios.get("/waterFunctionArea/nationalLevelWaterFunctionArea/gis/area",{params:data})
}
export {
pageBillUrl,
@@ -90,5 +90,5 @@ export {
listAll,
getGisBase,
getGisArea
}