测点信息

This commit is contained in:
weicw
2021-08-09 18:03:43 +08:00
parent 29fbf507ae
commit 4542c10045
12 changed files with 2119 additions and 1204 deletions

View File

@@ -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
}