From 7bd2c9cfc1c732d2f36db07845b1571cc45660ad Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 4 Jan 2023 17:15:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData2.js | 54 +++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 27 deletions(-) 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,