import request from './request.js' /** * 指令管理 */ // 1.1查询未完成指令 export const insts = (keyword, scode, ncode) => request({ url:'api/hand/insts', data: { keyword: keyword, start_devicecode: scode, next_devicecode: ncode } }) // 1.2 指令操作 export const inst = (type, uuid) => request({ url:'api/hand/inst', data: { type: type, inst_uuid: uuid } }) /** * 任务管理 */ // 1.1 查询无指令的任务 export const tasks = (keyword, scode, ncode) => request({ url:'api/hand/tasks', data: { keyword: keyword, start_devicecode: scode, next_devicecode: ncode } }) // 1.2 指令操作 export const taskoperation = (type, uuid) => request({ url:'api/hand/taskoperation', data: { type: type, inst_uuid: uuid } })