This commit is contained in:
2023-01-17 17:00:49 +08:00
commit e57bf97042
136 changed files with 24364 additions and 0 deletions

28
src/config/getData1.js Normal file
View File

@@ -0,0 +1,28 @@
import {post2} from '@config/http.js'
// import store from '../vuex/store'
// 指令管理
// 1.1 查询未完成指令
export const queryInstraction = (keyword, scode, ncode) => post2('api/axg/hand/insts', {
keyword: keyword,
start_devicecode: scode,
next_devicecode: ncode
})
// 1.2 指令操作
export const instOperation = (uuid, type) => post2('api/axg/hand/inst', {
inst_uuid: uuid,
type: type
})
// 任务管理
// 1.1 查询未完成指令
export const queryTask = (keyword, scode, ncode) => post2('api/axg/hand/tasks', {
keyword: keyword,
start_devicecode: scode,
next_devicecode: ncode
})
// 1.2 指令操作
export const taskOperation = (uuid, type) => post2('api/axg/hand/taskoperation', {
inst_uuid: uuid,
type: type
})