饮用水统计分析-原始数据 板块 提交
This commit is contained in:
@@ -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
|
||||
//农村
|
||||
|
||||
}
|
||||
@@ -54,8 +54,8 @@ const updateDrinkingWaterVillage = function (data) {
|
||||
|
||||
|
||||
// -------------------------统计---------------------
|
||||
const pageDrinkingWaterVillageStatisticUrl = '/drinkingWaterVillage/drinkingWaterVillage/statistic';
|
||||
const pageDrinkingWaterVillageCompare = '/drinkingWaterVillage/drinkingWaterVillage/statistic/compare';
|
||||
const pageDrinkingWaterVillageStatisticUrl = '/drinkingWaterVillage/drinkingWaterVillage/VillageAnalysePage';
|
||||
// const pageDrinkingWaterVillageCompare = '/drinkingWaterVillage/drinkingWaterVillage/statistic/compare';
|
||||
const getHistoryyears = function () {
|
||||
return axios.get("/drinkingWaterVillage/drinkingWaterVillage/history-year")
|
||||
}
|
||||
@@ -85,7 +85,7 @@ export {
|
||||
removeBatchDrinkingWaterVillage,
|
||||
pageDrinkingWaterVillageStatisticUrl,
|
||||
getHistoryyears,
|
||||
pageDrinkingWaterVillageCompare,
|
||||
// pageDrinkingWaterVillageCompare,
|
||||
getColumnOptions,
|
||||
listAll,
|
||||
getGisBase,
|
||||
|
||||
@@ -58,7 +58,10 @@ const updateWaterWithdrawal=function(data){
|
||||
|
||||
|
||||
// -------------------------统计---------------------
|
||||
//市级原始数据
|
||||
const pageDrinkingWaterStatisticUrl = '/drinkingWater/drinkingWater/AnalysePage';
|
||||
//县级原始数据
|
||||
const pageDrinkingWaterCountyStatisticUrl='/drinkingWater/drinkingWater/CountyAnalysePage'
|
||||
// const pageDrinkingWaterCompare = '/drinkingWater/drinkingWater/statistic/compare';
|
||||
const getHistoryyears = function () {
|
||||
return axios.get("/drinkingWater/drinkingWater/history-year")
|
||||
@@ -88,6 +91,7 @@ export {
|
||||
updateDrinkingWater,
|
||||
removeBatchDrinkingWater,
|
||||
pageDrinkingWaterStatisticUrl,
|
||||
pageDrinkingWaterCountyStatisticUrl,
|
||||
getHistoryyears,
|
||||
// pageDrinkingWaterCompare,
|
||||
getColumnOptions,
|
||||
|
||||
Reference in New Issue
Block a user