This commit is contained in:
2022-08-08 14:22:33 +08:00
parent 6372d7b844
commit 2ebe94d7c8
2 changed files with 7 additions and 31 deletions

View File

@@ -2,35 +2,11 @@ import {post} from '@config/http.js'
// import store from '../vuex/store'
// 1.1查询所有区域信息
export const handArea = (type) => post('api/aqd/hand/area', {
export const handArea = (type) => post('api/anjyf/hand/area', {
area_flag: type
})
// 1.2根据区域查询设备编号及状态
export const handPoint = (reg) => post('api/aqd/hand/point', {
export const handPoint = (reg) => post('api/anjyf/hand/point', {
region: reg
})
// 1.3称重前任务
export const handTask3 = (scode, ncode, type, batch, no) => post('api/aqd/hand/task3', {
start_devicecode: scode,
next_devicecode: ncode,
material_type: type,
batch: batch,
carrier: no
})
// 1.4称重后任务
export const handTask = (scode, ncode, type, batch, no) => post('api/aqd/hand/task', {
start_devicecode: scode,
next_devicecode: ncode,
material_type: type,
batch: batch,
carrier: no
})
// 1.5点位放货确认
export const handpointPut = (code, type) => post('api/aqd/hand/pointPut', {
device_code: code,
status_type: type
})