接口地址
This commit is contained in:
@@ -3,26 +3,26 @@ import {post2} from '@config/http.js'
|
|||||||
|
|
||||||
// 指令管理
|
// 指令管理
|
||||||
// 1.1 查询未完成指令
|
// 1.1 查询未完成指令
|
||||||
export const queryInstraction = (keyword, scode, ncode) => post2('api/axg/hand/insts', {
|
export const queryInstraction = (keyword, scode, ncode) => post2('api/hand/insts', {
|
||||||
keyword: keyword,
|
keyword: keyword,
|
||||||
start_devicecode: scode,
|
start_devicecode: scode,
|
||||||
next_devicecode: ncode
|
next_devicecode: ncode
|
||||||
})
|
})
|
||||||
// 1.2 指令操作
|
// 1.2 指令操作
|
||||||
export const instOperation = (uuid, type) => post2('api/axg/hand/inst', {
|
export const instOperation = (uuid, type) => post2('api/hand/inst', {
|
||||||
inst_uuid: uuid,
|
inst_uuid: uuid,
|
||||||
type: type
|
type: type
|
||||||
})
|
})
|
||||||
|
|
||||||
// 任务管理
|
// 任务管理
|
||||||
// 1.1 查询未完成指令
|
// 1.1 查询未完成指令
|
||||||
export const queryTask = (keyword, scode, ncode) => post2('api/axg/hand/tasks', {
|
export const queryTask = (keyword, scode, ncode) => post2('api/hand/tasks', {
|
||||||
keyword: keyword,
|
keyword: keyword,
|
||||||
start_devicecode: scode,
|
start_devicecode: scode,
|
||||||
next_devicecode: ncode
|
next_devicecode: ncode
|
||||||
})
|
})
|
||||||
// 1.2 指令操作
|
// 1.2 指令操作
|
||||||
export const taskOperation = (uuid, type) => post2('api/axg/hand/taskoperation', {
|
export const taskOperation = (uuid, type) => post2('api/hand/taskoperation', {
|
||||||
inst_uuid: uuid,
|
inst_uuid: uuid,
|
||||||
type: type
|
type: type
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user