This commit is contained in:
2025-02-07 15:51:06 +08:00
parent d16d43a918
commit e84e5e00a0

33
utils/getData0.js Normal file
View File

@@ -0,0 +1,33 @@
import request from './request.js'
/**
* 公共接口
*/
// 查询区域
export const queryArea = () => request({
url:'api/hand/queryArea',
data: {}
})
// 根据区域查询点位
export const queryPointByArea = (rcode) => request({
url:'api/hand/queryPointByArea',
data: {
region_code: rcode
}
})
/**
* 搬运任务
*/
// PDA任务下发接口
export const callTask = (sdcode, ndcode, type, material) => request({
url:'api/hand/callTask',
data: {
start_device_code: sdcode,
next_device_code: ndcode,
task_type: type,
material: material
}
})