测点信息
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
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}`)
|
||||
}
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveRoadPlaceBill,
|
||||
removeRoadPlaceBill,
|
||||
removeBatchRoadPlaceBill,
|
||||
updateRoadPlaceBill,
|
||||
verifyRoadPlaceBill,
|
||||
getRoadPlaceBill
|
||||
}
|
||||
@@ -49,6 +49,9 @@ const updateRoadNoise = function (data) {
|
||||
|
||||
// -------------------------统计---------------------
|
||||
const pageRoadNoiseStatisticUrl = '/sound/road/noise/statistic';
|
||||
const getHistoryyears = function () {
|
||||
return axios.get("/sound/road/noise/history-year")
|
||||
}
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveRoadNoiseBill,
|
||||
@@ -62,6 +65,7 @@ export {
|
||||
removeRoadNoise,
|
||||
updateRoadNoise,
|
||||
removeBatchRoadNoise,
|
||||
pageRoadNoiseStatisticUrl
|
||||
pageRoadNoiseStatisticUrl,
|
||||
getHistoryyears
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user