批量复制

This commit is contained in:
weicw
2021-09-27 03:40:11 +08:00
parent ad3b1fc7e6
commit 1fc4e2590a
3 changed files with 119 additions and 32 deletions

View File

@@ -20,7 +20,9 @@ const removeBatchPlace = function (ids) {
const updatePlace = function (data) {
return axios.put("/sound/road/place",data)
}
const copyBatchPlace = function (data){
return axios.post("/sound/road/place/copyBatch",data)
}
const getColumnOptions = function(column){
return axios.get("/sound/road/place/options",{params:{column}})
}
@@ -30,6 +32,7 @@ export {
updatePlace,
removeBatchPlace,
removePlace,
getColumnOptions
getColumnOptions,
copyBatchPlace
}

View File

@@ -24,6 +24,9 @@ const updatePlace = function (data) {
const getColumnOptions = function(column){
return axios.get("/sound/zone/place/options",{params:{column}})
}
const copyBatchPlace = function (data){
return axios.post("/sound/zone/copyBatch",data)
}
export {
@@ -32,6 +35,7 @@ export {
updatePlace,
removeBatchPlace,
removePlace,
copyBatchPlace,
getColumnOptions
}