Files
admin-govern/src/api/cs-device-boot/EquipmentDelivery.ts
仲么了 300d34c1bf
2024-01-09 13:49:21 +08:00

18 lines
521 B
TypeScript

import createAxios from '@/utils/request'
// 装置基础数据和模板数据
export function getDeviceData(deviceId: string, type: string, lineId = '') {
let form = new FormData()
form.append('deviceId', deviceId)
form.append('lineId', lineId)
form.append('type', type)
return createAxios({
url: '/cs-device-boot/EquipmentDelivery/deviceData',
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
data: form
})
}