新建任务机器人任务列表 预设路线列表
This commit is contained in:
@@ -232,4 +232,39 @@ export function getPlaneDeviceListAll() {
|
||||
})
|
||||
}
|
||||
|
||||
export function getRobotTaskList(params) {
|
||||
return request({
|
||||
url: '/iot/deviceTask/getSiteDevicePlan',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 创建机器人任务
|
||||
export function getRobotTask(data) {
|
||||
return request({
|
||||
url: '/iot/deviceTask/deviceTaskPool',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//路径规划列表/iot/workRecord/selectBySiteId
|
||||
|
||||
export function getRobotRouteList(params) {
|
||||
return request({
|
||||
url: '/iot/workRecord/selectBySiteId',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
//新建任务
|
||||
export function saveDeviceTask(data) {
|
||||
return request({
|
||||
url: `/iot/deviceTask/save`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user