Files
hht-gaoce-uni/utils/getData02.js

55 lines
972 B
JavaScript
Raw Normal View History

2024-04-23 13:59:56 +08:00
import request from './request02.js'
/**
* 指令管理
*/
// 1.1 查询未完成指令(生成任务号为-开头)
export const handInsts = (key, scode, ncode) => request({
url:'api/hand/insts',
data: {
keyword: key,
start_devicecode: scode,
next_devicecode: ncode
}
})
// 1.2 指令操作
export const handInst = (type, id) => request({
url:'api/hand/inst',
data: {
type: type,
inst_uuid: id
}
})
/**
* 任务管理
*/
// 1.1 1.1 查询无指令的任务(任务号为-开头)
export const handTasks = (key, scode, ncode) => request({
url:'api/hand/tasks',
data: {
keyword: key,
start_devicecode: scode,
next_devicecode: ncode
}
})
// 1.2 任务操作
export const handTaskoperation = (type, id) => request({
url:'api/hand/taskoperation',
data: {
type: type,
task_uuid: id
}
})
2024-06-28 16:58:16 +08:00
/**
* 托盘号补录--c
*/
export const handRecord = (st, mt) => request({
url:'api/hand/record',
data: {
sub_tray: st,
mother_tray: mt
}
})