功能区导入
This commit is contained in:
@@ -1,71 +0,0 @@
|
||||
import axios from 'axios';
|
||||
// ----------------------列表-----------------------
|
||||
const pageBillUrl = '/sound/function/place/bill/page';
|
||||
// 添加
|
||||
const saveFunctionPlaceBill = function (data) {
|
||||
return axios.post("/sound/function/place/bill",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeFunctionPlaceBill = function (id) {
|
||||
return axios.delete(`/sound/function/place/bill/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchFunctionPlaceBill = function (ids) {
|
||||
return axios.delete("/sound/function/place/bill/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateFunctionPlaceBill = function (data) {
|
||||
return axios.put("/sound/function/place/bill",data)
|
||||
}
|
||||
// 审核
|
||||
const verifyFunctionPlaceBill = function (data) {
|
||||
return axios.put("/sound/function/place/bill/verify",data);
|
||||
}
|
||||
const getFunctionPlaceBill = function (id) {
|
||||
return axios.get(`/sound/function/place/bill/${id}`)
|
||||
}
|
||||
// -------------------------数据---------------------
|
||||
const pageFunctionPlaceUrl = '/sound/function/place/page';
|
||||
// 添加
|
||||
const saveFunctionPlace = function (data) {
|
||||
return axios.post("/sound/function/place",data)
|
||||
}
|
||||
|
||||
// 删除
|
||||
const removeFunctionPlace = function (id) {
|
||||
return axios.delete(`/sound/function/place/${id}`,)
|
||||
}
|
||||
// 批量删除
|
||||
const removeBatchFunctionPlace = function (ids) {
|
||||
return axios.delete("/sound/function/place/batch",{data:ids})
|
||||
}
|
||||
|
||||
// 修改
|
||||
const updateFunctionPlace = function (data) {
|
||||
return axios.put("/sound/function/place",data)
|
||||
}
|
||||
|
||||
// -------------------------统计---------------------
|
||||
const pageFunctionPlaceStatisticUrl = '/sound/function/place/statistic';
|
||||
const getHistoryyears = function () {
|
||||
return axios.get("/sound/function/place/history-year")
|
||||
}
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveFunctionPlaceBill,
|
||||
removeFunctionPlaceBill,
|
||||
updateFunctionPlaceBill,
|
||||
removeBatchFunctionPlaceBill,
|
||||
verifyFunctionPlaceBill,
|
||||
getFunctionPlaceBill,
|
||||
pageFunctionPlaceUrl,
|
||||
saveFunctionPlace,
|
||||
removeFunctionPlace,
|
||||
updateFunctionPlace,
|
||||
removeBatchFunctionPlace,
|
||||
pageFunctionPlaceStatisticUrl,
|
||||
getHistoryyears
|
||||
|
||||
}
|
||||
@@ -52,6 +52,9 @@ const pageFunctionNoiseStatisticUrl = '/sound/function/noise/statistic';
|
||||
const getHistoryyears = function () {
|
||||
return axios.get("/sound/function/noise/history-year")
|
||||
}
|
||||
const getColumnOptions = function(column){
|
||||
return axios.get("/sound/function/noise/options",{params:{column}})
|
||||
}
|
||||
export {
|
||||
pageBillUrl,
|
||||
saveFunctionNoiseBill,
|
||||
@@ -66,6 +69,7 @@ export {
|
||||
updateFunctionNoise,
|
||||
removeBatchFunctionNoise,
|
||||
pageFunctionNoiseStatisticUrl,
|
||||
getHistoryyears
|
||||
getHistoryyears,
|
||||
getColumnOptions
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user