diff --git a/src/config/getData2.js b/src/config/getData2.js index 2d3d7fe..f23bc10 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -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,