饮用水统计分析-原始数据 板块 提交

This commit is contained in:
710356044
2021-11-26 21:53:30 +08:00
parent 07f7cf6b66
commit 9d999dbe13
13 changed files with 1987 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
import axios from 'axios';
// ----------------------列表-----------------------
// ----------------------市级字典列表-----------------------
const pageDictUrl = '/drinkingWater/drinkingWaterDict';
const listAllUrl = pageDictUrl + "";
@@ -29,7 +29,68 @@ const copyBatchPlace = function (data){
return axios.post("/drinkingWater/drinkingWaterDict/copyBatch",data)
}
// ----------------------县级地表水字典列表-----------------------
const pageCountyDictUrl = '/drinkingWater/drinkingWaterCountyDict';
const listCountyAllUrl = pageCountyDictUrl + "";
// 添加
const saveDrinkingWaterCountyDict = function (data) {
return axios.post("/drinkingWater/drinkingWaterCountyDict/",data)
}
// 删除
const removeDrinkingWaterCountyDict = function (id) {
return axios.delete(`/drinkingWater/drinkingWaterCountyDict/${id}`,)
}
// 批量删除
const removeBatchDrinkingWaterCountyDict = function (ids) {
return axios.delete("/drinkingWater/drinkingWaterCountyDict/batch",{data:ids})
}
// 修改
const updateDrinkingWaterCountyDict = function (data) {
return axios.put("/drinkingWater/drinkingWaterCountyDict",data)
}
const getCountyColumnOptions = function(column){
return axios.get("/drinkingWater/drinkingWaterCountyDict/options",{params:{column}})
}
const copyBatchCountyPlace = function (data){
return axios.post("/drinkingWater/drinkingWaterCountyDict/copyBatch",data)
}
// ----------------------县级地下水字典列表-----------------------
const pageCountyBottomDictUrl = '/drinkingWater/drinkingWaterCountyBottomDict';
const listCountyBottomAllUrl = pageCountyBottomDictUrl + "";
// 添加
const saveDrinkingWaterCountyBottomDict = function (data) {
return axios.post("/drinkingWater/drinkingWaterCountyBottomDict/",data)
}
// 删除
const removeDrinkingWaterCountyBottomDict = function (id) {
return axios.delete(`/drinkingWater/drinkingWaterCountyBottomDict/${id}`,)
}
// 批量删除
const removeBatchDrinkingWaterCountyBottomDict = function (ids) {
return axios.delete("/drinkingWater/drinkingWaterCountyBottomDict/batch",{data:ids})
}
// 修改
const updateDrinkingWaterCountyBottomDict = function (data) {
return axios.put("/drinkingWater/drinkingWaterCountyBottomDict",data)
}
const getCountyBottomColumnOptions = function(column){
return axios.get("/drinkingWater/drinkingWaterCountyBottomDict/options",{params:{column}})
}
const copyBatchCountyBottomPlace = function (data){
return axios.post("/drinkingWater/drinkingWaterCountyBottomDict/copyBatch",data)
}
export {
//市级
pageDictUrl,
listAllUrl,
saveDrinkingWaterDict,
@@ -37,5 +98,25 @@ export {
removeBatchDrinkingWaterDict,
updateDrinkingWaterDict,
getColumnOptions,
copyBatchPlace
copyBatchPlace,
// 县级地表水
pageCountyDictUrl,
listCountyAllUrl,
saveDrinkingWaterCountyDict,
removeDrinkingWaterCountyDict,
removeBatchDrinkingWaterCountyDict,
updateDrinkingWaterCountyDict,
getCountyColumnOptions,
copyBatchCountyPlace,
//
pageCountyBottomDictUrl,
listCountyBottomAllUrl,
saveDrinkingWaterCountyBottomDict,
removeDrinkingWaterCountyBottomDict,
removeBatchDrinkingWaterCountyBottomDict,
updateDrinkingWaterCountyBottomDict,
getCountyBottomColumnOptions,
copyBatchCountyBottomPlace
//农村
}