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 }) } //获取趋势数据、暂态数据、实时数据 export function getTabsDataByType(data: any) { return createAxios({ url: '/cs-device-boot/csGroup/deviceDataByType', method: 'POST', data }) } //获取实时数据列表数据 export function getRealTimeTableList() { return createAxios({ url: '/cs-device-boot/csGroup/getGroupPortableStatistical', method: 'GET', }) }