Merge branch 'master' of http://git.gxwebsoft.com/shengtaiting/shengtai-admin
This commit is contained in:
75
src/api/ecology/river-site.js
Normal file
75
src/api/ecology/river-site.js
Normal 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
|
||||
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import axios from 'axios';
|
||||
// ----------------------列表-----------------------
|
||||
// -------------------区控水站水功能区数据列表-----------------------
|
||||
const pageBillUrl = '/waterFunctionArea/waterStationWaterFunctionAreaBill/page';
|
||||
// 添加
|
||||
const saveRiverStationBill = function (data) {
|
||||
|
||||
41
src/api/ecology/water/river-api-relate.js
Normal file
41
src/api/ecology/water/river-api-relate.js
Normal 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
|
||||
|
||||
}
|
||||
40
src/api/ecology/water/river-autonomous.js
Normal file
40
src/api/ecology/water/river-autonomous.js
Normal 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
|
||||
|
||||
}
|
||||
39
src/api/ecology/water/river-plcae.js
Normal file
39
src/api/ecology/water/river-plcae.js
Normal 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
|
||||
|
||||
}
|
||||
44
src/api/ecology/water/river-water.js
Normal file
44
src/api/ecology/water/river-water.js
Normal 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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user