This commit is contained in:
2023-01-04 17:15:26 +08:00
parent 6e32d8d473
commit 7bd2c9cfc1

View File

@@ -77,34 +77,34 @@ export const sendMaterialConfirm = (sid, scode, spcode, nid, ncode, npcode) => p
* 取放桶盖
*/
// 1.1查询所有区域信息
// export const handArea = () => post('api/hand/area', {})
export const handArea = () => {
let res = {
code: '1',
result: [{
region_id: '1',
region_code: '1',
region_name: 'A001'
}]
}
return res
}
export const handArea = () => post('api/hand/area', {})
// export const handArea = () => {
// let res = {
// code: '1',
// result: [{
// region_id: '1',
// region_code: '1',
// region_name: 'A001'
// }]
// }
// return res
// }
// 1.2根据区域查询点位
// export const handPoint = (reg) => post('api/hand/point', {
// region: reg
// })
export const handPoint = () => {
let res = {
code: '1',
result: [{
device_id: '1',
device_code: '1',
device_name: 'A001-001',
status: '2'
}]
}
return res
}
export const handPoint = (reg) => post('api/hand/point', {
region: reg
})
// export const handPoint = () => {
// let res = {
// code: '1',
// result: [{
// device_id: '1',
// device_code: '1',
// device_name: 'A001-001',
// status: '2'
// }]
// }
// return res
// }
// 1.3取放盖确认
export const handTake = (code, type) => post('api/hand/take', {
device_code: code,