提交更改版本
This commit is contained in:
@@ -15,3 +15,22 @@ export function getDeviceData(deviceId: string, type: string, lineId = '') {
|
||||
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',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ export function getTemplateList(data:any) {
|
||||
})
|
||||
}
|
||||
//删除报表模板
|
||||
export function delTemplate(data) {
|
||||
export function delTemplate(data:any) {
|
||||
return createAxios({
|
||||
url: '/harmonic-boot/customReport/delTemplate',
|
||||
method: 'post',
|
||||
|
||||
@@ -16,7 +16,7 @@ export const queryStatistical = (id:string) => {
|
||||
// 绑定指标
|
||||
export const addStatistical = (params:any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/csstatisticalset/addStatistical',
|
||||
url: '/system-boocs-device-boot/wlRecord/saveDataRecordt/csstatisticalset/addStatistical',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user