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 @@