区域、点位、任务管理基础功能;表数据结构更新;代码生成功能代码

This commit is contained in:
2023-03-20 15:32:26 +08:00
parent c6fd522cdb
commit d8ae33eadb
40 changed files with 2966 additions and 583 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
@@ -53,4 +45,27 @@ export function getPoint(data) {
})
}
export default { add, edit, del, syncStruct, changeActive, findPoints, getPoint }
export function getRegion() {
return request({
url: '/api/point/getRegion',
method: 'get'
})
}
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 }