#
luxiaotao1123
2024-10-17 ae81dbb1364e69cc8c73462795a64cbc6316c1fc
zy-acs-flow/src/map/http.js
@@ -108,7 +108,6 @@
    })
}
export const getLocGroup = async (row, bay, callback) => {
    await request.post('/map/shelf/group', {
        row: row,
@@ -127,3 +126,21 @@
        console.error(error.message);
    })
}
export const getAgvInfo = async (agvNo, callback) => {
    await request.post('/map/agv/info', {
        agvNo: agvNo,
    }, {
        headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
    }).then((res) => {
        const { code, msg, data } = res.data;
        if (code === 200) {
            callback(data)
        } else {
            notify.error(msg);
        }
    }).catch((error) => {
        notify.error(error.message);
        console.error(error.message);
    })
}