任务模块更新
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user