筛选、导出、弹框优化

This commit is contained in:
weicw
2021-08-20 17:18:50 +08:00
parent a70ffbecae
commit bb7618242d
29 changed files with 37994 additions and 1874 deletions

View File

@@ -1,71 +0,0 @@
import axios from 'axios';
// ----------------------列表-----------------------
const pageBillUrl = '/sound/road/place/bill/page';
// 添加
const saveRoadPlaceBill = function (data) {
return axios.post("/sound/road/place/bill",data)
}
// 删除
const removeRoadPlaceBill = function (id) {
return axios.delete(`/sound/road/place/bill/${id}`,)
}
// 批量删除
const removeBatchRoadPlaceBill = function (ids) {
return axios.delete("/sound/road/place/bill/batch",{data:ids})
}
// 修改
const updateRoadPlaceBill = function (data) {
return axios.put("/sound/road/place/bill",data)
}
// 审核
const verifyRoadPlaceBill = function (data) {
return axios.put("/sound/road/place/bill/verify",data);
}
const getRoadPlaceBill = function (id) {
return axios.get(`/sound/road/place/bill/${id}`)
}
// -------------------------数据---------------------
const pageRoadPlaceUrl = '/sound/road/place/page';
// 添加
const saveRoadPlace = function (data) {
return axios.post("/sound/road/place",data)
}
// 删除
const removeRoadPlace = function (id) {
return axios.delete(`/sound/road/place/${id}`,)
}
// 批量删除
const removeBatchRoadPlace = function (ids) {
return axios.delete("/sound/road/place/batch",{data:ids})
}
// 修改
const updateRoadPlace = function (data) {
return axios.put("/sound/road/place",data)
}
// -------------------------统计---------------------
const pageRoadPlaceStatisticUrl = '/sound/road/place/statistic';
const getHistoryyears = function () {
return axios.get("/sound/road/place/history-year")
}
export {
pageBillUrl,
saveRoadPlaceBill,
removeRoadPlaceBill,
updateRoadPlaceBill,
removeBatchRoadPlaceBill,
verifyRoadPlaceBill,
getRoadPlaceBill,
pageRoadPlaceUrl,
saveRoadPlace,
removeRoadPlace,
updateRoadPlace,
removeBatchRoadPlace,
pageRoadPlaceStatisticUrl,
getHistoryyears
}

View File

@@ -53,6 +53,9 @@ const pageRoadNoiseCompare = '/sound/road/noise/statistic/compare';
const getHistoryyears = function () {
return axios.get("/sound/road/noise/history-year")
}
const getColumnOptions = function(column){
return axios.get("/sound/road/noise/options",{params:{column}})
}
export {
pageBillUrl,
saveRoadNoiseBill,
@@ -68,6 +71,7 @@ export {
removeBatchRoadNoise,
pageRoadNoiseStatisticUrl,
getHistoryyears,
pageRoadNoiseCompare
pageRoadNoiseCompare,
getColumnOptions
}