代码合并

This commit is contained in:
BianLzhaoMin 2024-08-09 10:12:50 +08:00
parent 377c904af2
commit 060912bc19
3 changed files with 20 additions and 2 deletions

View File

@ -49,6 +49,24 @@ export function deleteDeviceApi(id) {
})
}
/** 获取机具设备的位置信息 */
export const getIotDeviceLocationApi = (data) => {
return request.post('/material/iotMachine/getLocation', data)
}
/** 获取机具设备的行程信息 */
export const getIotDeviceTripApi = (data) => {
return request.post('/material/iotMachine/searchItinerary', data)
}
/** 获取机具设备的停留点信息 */
export const getIotDeviceParkDetailApi = (data) => {
return request.post('/material/iotMachine/reportParkDetailByTime', data)
}
/** 获取机具设备的报警信息 */
export const getIotDeviceAlarmApi = (data) => {
return request.post('/material/iotMachine/reportAlarm', data)
}
/**
* *****
*/

View File

@ -149,7 +149,7 @@ import {
bindIot,
getTypeList,
unbindIot,
} from '@/api/store/iotManagement'
} from '@/api/iotDevice/index.js'
export default {
name: 'BindIOT',

View File

@ -145,7 +145,7 @@ import {
getIotDeviceTripApi,
getIotDeviceParkDetailApi,
getIotDeviceAlarmApi,
} from '@/api/store/iotManagement.js'
} from '@/api/iotDevice/index.js'
export default {
name: 'MapDialog',
props: {