diff --git a/utils/getData0.js b/utils/getData0.js new file mode 100644 index 0000000..2e04572 --- /dev/null +++ b/utils/getData0.js @@ -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 + } +}) +