新建任务机器人任务列表 预设路线列表

This commit is contained in:
mmc
2026-05-29 14:14:28 +08:00
parent eeca5c223d
commit fb1b700779
6 changed files with 925 additions and 42 deletions

View File

@@ -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
})
}

View File

@@ -9,7 +9,7 @@ const message = utils.message; // 使用全局 message
const api = axios.create({
baseURL: API_BASE_URL,
timeout: 50000,
timeout: 100000,
headers: {
'Content-Type': 'application/json',
},