任务模块更新

This commit is contained in:
ldj_willow
2022-10-27 10:32:25 +08:00
parent 3d021c44e7
commit 4ff5944d5d
47 changed files with 1639 additions and 1330 deletions

View File

@@ -23,14 +23,6 @@ export function edit(data) {
data
})
}
export function syncStruct() {
return request({
url: 'api/point/syncStruct',
method: 'put'
})
}
export function findPoints(area_type) {
return request({
url: 'api/point/area_type/' + area_type
@@ -60,4 +52,20 @@ export function getRegion() {
})
}
export default { add, edit, del, syncStruct, changeActive, findPoints, getPoint, getRegion }
export function changeUsed(data) {
return request({
url: 'api/point/changeUsed',
method: 'post',
data: data
})
}
export function changeLock(data) {
return request({
url: 'api/point/changeLock',
method: 'post',
data: data
})
}
export default { add, edit, del, changeActive, findPoints, getPoint, getRegion, changeUsed, changeLock }