江河水模块代码提交

This commit is contained in:
shixiaoman
2021-11-18 17:11:38 +08:00
parent f58090ad06
commit 3d7b525650
30 changed files with 3168 additions and 309 deletions

View File

@@ -0,0 +1,75 @@
import axios from 'axios';
// -------------------江河--水站水功能区数据列表-----------------------
const pageBillUrl = '/surfaceWaterSection/waterSiteBill/page';
// 添加
const saveRiverSiteBill = function (data) {
return axios.post("/surfaceWaterSection/waterSiteBill/importBatch",data)
}
// 删除
const removeRiverStationBill = function (id) {
return axios.delete(`/surfaceWaterSection/waterSiteBill/${id}`,)
}
// 批量删除
const removeBatchRiverStationBill = function (ids) {
return axios.delete("/surfaceWaterSection/waterSiteBill/batch",{data:ids})
}
// 修改
const updateRiverStationBill = function (data) {
return axios.put("/surfaceWaterSection/waterSiteBill",data)
}
// 审核
const verifyRiverStationBill = function (data) {
return axios.put("/surfaceWaterSection/waterSiteBill/verify",data);
}
const getRiverStationBill = function (id) {
return axios.get(`/surfaceWaterSection/waterSiteBill/${id}`)
}
// -------------------------数据---------------------
const pageRiverStationUrl = '/surfaceWaterSection/waterSite/page';
const listAll = function(data){
return axios.get("/surfaceWaterSection/waterSite",{params:data})
}
// 添加
const saveRiverStation = function (data) {
return axios.post("/surfaceWaterSection/waterSite",data)
}
// 删除
const removeRiverStation = function (id) {
return axios.delete(`/surfaceWaterSection/waterSite/${id}`,)
}
// 批量删除
const removeBatchRiverStation = function (ids) {
return axios.delete("/surfaceWaterSection/waterSite/batch",{data:ids})
}
// 修改
const updateRiverStation = function (data) {
return axios.put("/surfaceWaterSection/waterSite",data)
}
const getColumnOptions = function(column){
return axios.get("/waterFunctionArea/waterStationWaterFunctionArea/options",{params:{column}})
}
export {
pageBillUrl,
saveRiverSiteBill,
removeRiverStationBill,
updateRiverStationBill,
removeBatchRiverStationBill,
verifyRiverStationBill,
getRiverStationBill,
pageRiverStationUrl,
saveRiverStation,
removeRiverStation,
updateRiverStation,
removeBatchRiverStation,
getColumnOptions,
listAll
}

View File

@@ -1,5 +1,5 @@
import axios from 'axios';
// ----------------------列表-----------------------
// -------------------区控水站水功能区数据列表-----------------------
const pageBillUrl = '/waterFunctionArea/waterStationWaterFunctionAreaBill/page';
// 添加
const saveRiverStationBill = function (data) {

View File

@@ -0,0 +1,41 @@
import axios from 'axios';
const baseUri = "waterFunctionArea/nationalLevelWaterFunctionAreaPoint";
const listAllUrl = baseUri + "";
// 添加
const saveAqiRelate = function (data) {
return axios.post("waterFunctionArea/nationalLevelWaterFunctionAreaPoint",data)
}
// 删除
const removeAqiRelate = function (id) {
return axios.delete(`waterFunctionArea/nationalLevelWaterFunctionAreaPoint/${id}`,)
}
// 批量删除
const removeBatchAqiRelate = function (ids) {
return axios.delete("waterFunctionArea/nationalLevelWaterFunctionAreaPoint/batch",{data:ids})
}
// 修改
const updateAqiRelate = function (data) {
return axios.put("waterFunctionArea/nationalLevelWaterFunctionAreaPoint",data)
}
const copyBatchAqiRelate = function (data){
return axios.post("waterFunctionArea/nationalLevelWaterFunctionAreaPoint/copyBatch",data)
}
const getColumnOptions = function(column){
return axios.get("waterFunctionArea/nationalLevelWaterFunctionAreaPoint/options",{params:{column}})
}
export {
listAllUrl,
saveAqiRelate,
updateAqiRelate,
removeBatchAqiRelate,
removeAqiRelate,
copyBatchAqiRelate,
getColumnOptions
}

View File

@@ -0,0 +1,40 @@
import axios from 'axios';
const baseUri = "waterFunctionArea/autonomousWaterFunctionAreaPoint";
const listAllUrl = baseUri + "";
// 添加
const saveStandard = function (data) {
return axios.post("waterFunctionArea/autonomousWaterFunctionAreaPoint",data)
}
// 删除
const removeStandard = function (id) {
return axios.delete(`waterFunctionArea/autonomousWaterFunctionAreaPoint/${id}`,)
}
// 批量删除
const removeBatchStandard = function (ids) {
return axios.delete("waterFunctionArea/autonomousWaterFunctionAreaPoint/batch",{data:ids})
}
// 修改
const updateStandard = function (data) {
return axios.put("waterFunctionArea/autonomousWaterFunctionAreaPoint",data)
}
const copyBatchStandard = function (data){
return axios.post("waterFunctionArea/autonomousWaterFunctionAreaPoint/copyBatch",data)
}
const getColumnOptions = function(column){
return axios.get("waterFunctionArea/autonomousWaterFunctionAreaPoint/options",{params:{column}})
}
export {
listAllUrl,
saveStandard,
updateStandard,
removeBatchStandard,
removeStandard,
copyBatchStandard,
getColumnOptions
}

View File

@@ -0,0 +1,39 @@
import axios from 'axios';
const baseUri = "/waterFunctionArea/surfaceWaterPoint";
const listAllUrl = baseUri + "";
// 添加
const savePlace = function (data) {
return axios.post("/waterFunctionArea/surfaceWaterPoint",data)
}
// 删除
const removePlace = function (id) {
return axios.delete(`/waterFunctionArea/surfaceWaterPoint/${id}`,)
}
// 批量删除
const removeBatchPlace = function (ids) {
return axios.delete("/waterFunctionArea/surfaceWaterPoint/batch",{data:ids})
}
// 修改
const updatePlace = function (data) {
return axios.put("/waterFunctionArea/surfaceWaterPoint",data)
}
const copyBatchPlace = function (data){
return axios.post("/waterFunctionArea/surfaceWaterPoint/copyBatch",data)
}
const getColumnOptions = function(column){
return axios.get("/waterFunctionArea/surfaceWaterPoint/options",{params:{column}})
}
export {
listAllUrl,
savePlace,
updatePlace,
removeBatchPlace,
removePlace,
copyBatchPlace,
getColumnOptions
}

View File

@@ -0,0 +1,44 @@
import axios from 'axios';
const baseUri = "/waterFunctionArea/WaterStationPoint";
const listAllUrl = baseUri + "";
// 添加
const savePlace = function (data) {
return axios.post("/waterFunctionArea/WaterStationPoint",data)
}
// 删除
const removePlace = function (id) {
return axios.delete(`/waterFunctionArea/WaterStationPoint/${id}`,)
}
// 批量删除
const removeBatchPlace = function (ids) {
return axios.delete("/waterFunctionArea/WaterStationPoint/batch",{data:ids})
}
// 修改
const updatePlace = function (data) {
return axios.put("/waterFunctionArea/WaterStationPoint",data)
}
const copyBatchPlace = function (data){
return axios.post("/waterFunctionArea/WaterStationPoint/copyBatch",data)
}
const getColumnOptions = function(column){
return axios.get("/waterFunctionArea/WaterStationPoint/options",{params:{column}})
}
const listInfo = function(data){
return axios.get("/waterFunctionArea/WaterStationPoint",{params:data})
}
export {
listInfo,
listAllUrl,
savePlace,
updatePlace,
removeBatchPlace,
removePlace,
copyBatchPlace,
getColumnOptions
}