import request from '@/axios';
|
|
// 巡检总任务数量
|
export const getTotalJobNum = () => {
|
return request({
|
url: '/drone-device-core/wayline/waylineJobInfo/totalJobNum',
|
method: 'get',
|
});
|
};
|
|
// 巡检任务item数量
|
export const getJobStatistics = () => {
|
return request({
|
url: '/drone-device-core/wayline/waylineJobInfo/jobStatistics',
|
method: 'post',
|
});
|
};
|
|
// 巡检任务柱状图数据
|
export const getJobNumBar = (data) => {
|
return request({
|
url: '/drone-device-core/wayline/waylineJobInfo/jobNumBar',
|
method: 'post',
|
data
|
});
|
};
|
// 事件概况总数
|
export const getJobEventTotal = () => {
|
return request({
|
url: '/drone-device-core/jobEvent/total',
|
method: 'get',
|
});
|
};
|
// 事件概况分类数
|
export const getJobEventByStatus = (data) => {
|
return request({
|
url: '/drone-device-core/jobEvent/eventByStatus',
|
method: 'post',
|
data
|
});
|
};
|
export const getJobEventBrokerLine = (data) => {
|
return request({
|
url: '/drone-device-core/jobEvent/eventBrokerLine',
|
method: 'post',
|
data
|
});
|
};
|
|
// 任务成果
|
export const getMediaFileCountBy = () => {
|
return request({
|
url: 'blade-resource/media/api/v1/workspaces/files/getMediaFileCountBy',
|
method: 'get',
|
});
|
};
|
|
// 降本增效
|
export const optimizeCostEfficiency = () => {
|
return request({
|
url: 'drone-device-core/manage/api/v1/devices/optimizeCostEfficiency',
|
method: 'get',
|
});
|
};
|