progress history report
This commit is contained in:
@@ -18,4 +18,37 @@ const getAllHistoryEvent = async (queryParams) => {
|
||||
return response.data;
|
||||
};
|
||||
|
||||
export { getAllHistoryAlarm, getAllHistoryEvent };
|
||||
const getAllHistoryValueReport = async (queryParams) => {
|
||||
const response = await SendRequest({
|
||||
method: 'get',
|
||||
prefix: `history/value-report?${queryParams.toString()}`,
|
||||
});
|
||||
|
||||
return response.data;
|
||||
};
|
||||
|
||||
const getAllHistoryValueReportPivot = async (queryParams) => {
|
||||
const response = await SendRequest({
|
||||
method: 'get',
|
||||
prefix: `history/value-report-pivot?${queryParams.toString()}`,
|
||||
});
|
||||
|
||||
return response.data;
|
||||
};
|
||||
|
||||
const getAllHistoryValueTrendingPivot = async (queryParams) => {
|
||||
const response = await SendRequest({
|
||||
method: 'get',
|
||||
prefix: `history/value-trending?${queryParams.toString()}`,
|
||||
});
|
||||
|
||||
return response.data;
|
||||
};
|
||||
|
||||
export {
|
||||
getAllHistoryAlarm,
|
||||
getAllHistoryEvent,
|
||||
getAllHistoryValueReport,
|
||||
getAllHistoryValueReportPivot,
|
||||
getAllHistoryValueTrendingPivot,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user