更新代码

This commit is contained in:
lyd
2022-10-20 18:59:26 +08:00
parent db08427522
commit 842442d55b
28 changed files with 619 additions and 494 deletions

View File

@@ -52,4 +52,13 @@ export function getRegion() {
})
}
export default { add, edit, del, changeActive, findPoints, getPoint, getRegion }
export function changeUsed(data) {
return request({
url: 'api/point/changeUsed',
method: 'post',
data: data
})
}
export default { add, edit, del, changeActive, findPoints, getPoint, getRegion, changeUsed }

View File

@@ -48,4 +48,5 @@ export function getPointTypeSelectById(id) {
})
}
export default { add, edit, del, changeActive, getPointStatusSelectById, getPointTypeSelectById }

View File

@@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: 'api/regionio',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: 'api/regionio/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: 'api/regionio',
method: 'put',
data
})
}
export default { add, edit, del }