取放桶盖

This commit is contained in:
2023-06-26 09:57:38 +08:00
parent 7bd2c9cfc1
commit c9ee8e10b7

View File

@@ -1,4 +1,4 @@
import {post} from '@config/http.js' import {post, post2} from '@config/http.js'
// 手持登录 // 手持登录
export const loginApi = (user, password) => post('api/pda/handlogin', { export const loginApi = (user, password) => post('api/pda/handlogin', {
@@ -77,7 +77,7 @@ export const sendMaterialConfirm = (sid, scode, spcode, nid, ncode, npcode) => p
* 取放桶盖 * 取放桶盖
*/ */
// 1.1查询所有区域信息 // 1.1查询所有区域信息
export const handArea = () => post('api/hand/area', {}) export const handArea = () => post2('api/hand/area', {})
// export const handArea = () => { // export const handArea = () => {
// let res = { // let res = {
// code: '1', // code: '1',
@@ -90,7 +90,7 @@ export const handArea = () => post('api/hand/area', {})
// return res // return res
// } // }
// 1.2根据区域查询点位 // 1.2根据区域查询点位
export const handPoint = (reg) => post('api/hand/point', { export const handPoint = (reg) => post2('api/hand/point', {
region: reg region: reg
}) })
// export const handPoint = () => { // export const handPoint = () => {