From fbe5aa49bee384784bdef36e1d7746f3268587c1 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 6 Aug 2024 15:31:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E8=AE=BE=E5=A4=87=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/api/store/iotManagement.js | 13 +++++ .../machinery/coding/component/MapDIalog.vue | 50 ++++++++++++++++--- .../machinery/coding/index.vue | 12 ++++- sgzb-ui/vue.config.js | 2 +- 4 files changed, 67 insertions(+), 10 deletions(-) diff --git a/sgzb-ui/src/api/store/iotManagement.js b/sgzb-ui/src/api/store/iotManagement.js index d5656d08..04195084 100644 --- a/sgzb-ui/src/api/store/iotManagement.js +++ b/sgzb-ui/src/api/store/iotManagement.js @@ -61,6 +61,14 @@ export function getTypeList(params = {}) { params, }) } +// 获取绑定IOT列表 /iotMachine/getTypeList +export function getTypeListApi(params = {}) { + return request({ + url: '/material/iotMachine/getTypeList', + method: 'get', + params, + }) +} // 绑定详情 /iotMachine/getRecordList export function getRecordList(params = {}) { @@ -79,3 +87,8 @@ export function getRecordListAll(params = {}) { params, }) } + +/** 获取机具设备的位置信息 */ +export const getIotDeviceLocationApi = (data) => { + return request.post('/material/iotMachine/getLocation', data) +} diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue index 19333778..9c348063 100644 --- a/sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue +++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/component/MapDIalog.vue @@ -118,6 +118,7 @@