This commit is contained in:
2025-11-25 14:31:03 +08:00
parent 93591a9d29
commit 882ad35cc9
2 changed files with 39 additions and 6 deletions

View File

@@ -25,12 +25,13 @@ export const handLogin = (user, password) => request({
* 任务下发
*/
// 一、生成任务
export const callTask = (scode, ncode, type) => request({
export const callTask = (scode, ncode, type, vtype) => request({
url:'api/hand/callTask',
data: {
start_device_code: scode,
next_device_code: ncode,
task_type: type
task_type: type,
vehicle_type: vtype
}
})
// 二、查询区域
@@ -63,3 +64,8 @@ export const taskoperation = (id, type) => request({
type: type
}
})
// 六、获取载具类型
export const queryVehicleType = () => request({
url:'api/hand/queryVehicleType',
data: {}
})