This commit is contained in:
2024-06-24 18:01:32 +08:00
parent 4942a11d8a
commit 5d8b77987d
5 changed files with 176 additions and 163 deletions

View File

@@ -126,14 +126,10 @@ export const rgfjskTask = (code) => request({
* 任务管理
*/
// 1.1 1.1 查询无指令的任务(任务号为-开头)
export const handTasks = (key, scode, ncode) => request({
export const handTasks = () => request({
url:'api/hand/tasks',
acsurl: true,
data: {
keyword: key,
start_devicecode: scode,
next_devicecode: ncode
}
data: {}
})
// 1.2 任务操作
export const handTaskoperation = (type, id) => request({
@@ -149,14 +145,10 @@ export const handTaskoperation = (type, id) => request({
* 指令管理
*/
// 1.1 查询未完成指令(生成任务号为-开头)
export const handInsts = (key, scode, ncode) => request({
export const handInsts = () => request({
url:'api/hand/insts',
acsurl: true,
data: {
keyword: key,
start_devicecode: scode,
next_devicecode: ncode
}
data: {}
})
// 1.2 指令操作
export const handInst = (type, id) => request({