饮用水字典,统计模块代码提交
This commit is contained in:
@@ -89,6 +89,67 @@ const copyBatchCountyBottomPlace = function (data){
|
||||
return axios.post("/drinkingWater/drinkingWaterCountyBottomDict/copyBatch",data)
|
||||
}
|
||||
|
||||
// ----------------------农村地表水字典-----------------------
|
||||
const pageVillageTopDictUrl = '/drinkingWater/drinkingWaterVillageTopDict';
|
||||
const listVillageTopAllUrl = pageVillageTopDictUrl + "";
|
||||
|
||||
// 添加
|
||||
const saveDrinkingWaterVillageTopDict = function (data) {
|
||||
return axios.post("/drinkingWater/drinkingWaterVillageTopDict/",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeDrinkingWaterVillageTopDict = function (id) {
|
||||
return axios.delete(`/drinkingWater/drinkingWaterVillageTopDict/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchDrinkingWaterVillageTopDict = function (ids) {
|
||||
return axios.delete("/drinkingWater/drinkingWaterVillageTopDict/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateDrinkingWaterVillageTopDict = function (data) {
|
||||
return axios.put("/drinkingWater/drinkingWaterVillageTopDict",data)
|
||||
}
|
||||
|
||||
const getVillageTopColumnOptions = function(column){
|
||||
return axios.get("/drinkingWater/drinkingWaterVillageTopDict/options",{params:{column}})
|
||||
}
|
||||
const copyBatchVillageTopPlace = function (data){
|
||||
return axios.post("/drinkingWater/drinkingWaterVillageTopDict/copyBatch",data)
|
||||
}
|
||||
|
||||
// ----------------------农村地下水字典-----------------------
|
||||
const pageVillageBottomDictUrl = '/drinkingWater/drinkingWaterVillageBottomDict';
|
||||
const listVillageBottomAllUrl = pageVillageBottomDictUrl + "";
|
||||
|
||||
// 添加
|
||||
const saveDrinkingWaterVillageBottomDict = function (data) {
|
||||
return axios.post("/drinkingWater/drinkingWaterVillageBottomDict/",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeDrinkingWaterVillageBottomDict = function (id) {
|
||||
return axios.delete(`/drinkingWater/drinkingWaterVillageBottomDict/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchDrinkingWaterVillageBottomDict = function (ids) {
|
||||
return axios.delete("/drinkingWater/drinkingWaterVillageBottomDict/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateDrinkingWaterVillageBottomDict = function (data) {
|
||||
return axios.put("/drinkingWater/drinkingWaterVillageBottomDict",data)
|
||||
}
|
||||
|
||||
const getVillageBottomColumnOptions = function(column){
|
||||
return axios.get("/drinkingWater/drinkingWaterVillageBottomDict/options",{params:{column}})
|
||||
}
|
||||
const copyBatchVillageBottomPlace = function (data){
|
||||
return axios.post("/drinkingWater/drinkingWaterVillageBottomDict/copyBatch",data)
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
//市级
|
||||
pageDictUrl,
|
||||
@@ -108,7 +169,7 @@ export {
|
||||
updateDrinkingWaterCountyDict,
|
||||
getCountyColumnOptions,
|
||||
copyBatchCountyPlace,
|
||||
//
|
||||
//县级地下水
|
||||
pageCountyBottomDictUrl,
|
||||
listCountyBottomAllUrl,
|
||||
saveDrinkingWaterCountyBottomDict,
|
||||
@@ -116,7 +177,23 @@ export {
|
||||
removeBatchDrinkingWaterCountyBottomDict,
|
||||
updateDrinkingWaterCountyBottomDict,
|
||||
getCountyBottomColumnOptions,
|
||||
copyBatchCountyBottomPlace
|
||||
//农村
|
||||
|
||||
copyBatchCountyBottomPlace,
|
||||
//农村地表水
|
||||
pageVillageTopDictUrl,
|
||||
listVillageTopAllUrl,
|
||||
saveDrinkingWaterVillageTopDict,
|
||||
removeDrinkingWaterVillageTopDict,
|
||||
removeBatchDrinkingWaterVillageTopDict,
|
||||
updateDrinkingWaterVillageTopDict,
|
||||
getVillageTopColumnOptions,
|
||||
copyBatchVillageTopPlace,
|
||||
//农村地下水
|
||||
pageVillageBottomDictUrl,
|
||||
listVillageBottomAllUrl,
|
||||
saveDrinkingWaterVillageBottomDict,
|
||||
removeDrinkingWaterVillageBottomDict,
|
||||
removeBatchDrinkingWaterVillageBottomDict,
|
||||
updateDrinkingWaterVillageBottomDict,
|
||||
getVillageBottomColumnOptions,
|
||||
copyBatchVillageBottomPlace,
|
||||
}
|
||||
Reference in New Issue
Block a user