forked from dyf/dyf-vue-ui
首页图表动态数据
This commit is contained in:
@ -16,9 +16,28 @@ export const getEquipmentClassification = (params) => {
|
||||
params: params
|
||||
});
|
||||
};
|
||||
// 获取设备使用情况
|
||||
export const getEquipmentUsageData = (range, params = {}) => {
|
||||
return request({
|
||||
url: `/api/device/homepage/getEquipmentUsageData/${range}`,
|
||||
method: 'get',
|
||||
params: params
|
||||
});
|
||||
};
|
||||
|
||||
// 获取报警信息
|
||||
export const getAlarmInformation = (params) => {
|
||||
return request({
|
||||
url: `/api/device/homepage/getAlarmInformation`,
|
||||
method: 'get',
|
||||
params: params
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
export default {
|
||||
getDataOverview,
|
||||
getEquipmentClassification
|
||||
getEquipmentClassification,
|
||||
getEquipmentUsageData,
|
||||
getAlarmInformation
|
||||
}
|
||||
Reference in New Issue
Block a user