作业管理
This commit is contained in:
@@ -153,20 +153,29 @@ export const clearMaterial = (code, scode) => request({
|
||||
/**
|
||||
* 任务管理
|
||||
*/
|
||||
// 1.1 查询未完成指令
|
||||
export const queryTask = (keyword, scode, ncode) => request({
|
||||
url:'api/hand/tasks',
|
||||
// 查询
|
||||
export const queryTask = (keyword) => request({
|
||||
url:'api/pdaTask/queryTask',
|
||||
data: {
|
||||
keyword: keyword,
|
||||
start_devicecode: scode,
|
||||
next_devicecode: ncode
|
||||
search: keyword
|
||||
}
|
||||
})
|
||||
// 1.2 指令操作
|
||||
export const taskOperation = (uuid, type) => request({
|
||||
url:'api/hand/taskoperation',
|
||||
// 历史查询
|
||||
export const queryHistoryTask = (keyword, st, et) => request({
|
||||
url:'api/pdaTask/queryHistoryTask',
|
||||
data: {
|
||||
inst_uuid: uuid,
|
||||
type: type
|
||||
search: keyword,
|
||||
start_time: st,
|
||||
end_time: et
|
||||
}
|
||||
})
|
||||
// 重新下发
|
||||
export const taskOperation = (data) => request({
|
||||
url:'api/pdaTask/againSendTask',
|
||||
data: data
|
||||
})
|
||||
// 强制完成任务
|
||||
export const forceConfirmTask = (data) => request({
|
||||
url:'api/pdaTask/forceConfirmTask',
|
||||
data: data
|
||||
})
|
||||
Reference in New Issue
Block a user