You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.4 KiB
72 lines
1.4 KiB
import request from "@/api/request"; |
|
|
|
/** |
|
* 信息大屏api |
|
* @author: sh |
|
* @date: 2024-011-7 |
|
*/ |
|
|
|
/* |
|
* 获取信息大屏统计数据 |
|
*/ |
|
export function getAllGobalCount(times) { |
|
return request.get({ |
|
url: `/datav/dataGobalScreen?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 获取问题趋势数据 |
|
*/ |
|
export function getGobalRecentlyTrendByMonth(year) { |
|
return request.get({ |
|
url: `/datav/dataGobalScreen/getGobalRecentlyTrendByMonth?year=${year}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 机构问题排名 |
|
* @param year |
|
*/ |
|
export function getOrganizationRank(times) { |
|
return request.get({ |
|
url: `/datav/dataGobalScreen/getOrganizationRank?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 业务类型占比 |
|
* @param year |
|
*/ |
|
export function getBusinessRate(times) { |
|
return request.get({ |
|
url: `/datav/dataGobalScreen/getBusinessRate?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 突出问题排名 |
|
* @param year |
|
*/ |
|
export function getStrongProblemRate(times) { |
|
return request.get({ |
|
url: `/datav/dataGobalScreen/getStrongProblemRate?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 问题类型占比 |
|
* @param year |
|
*/ |
|
export function getProblemBusinessRate(times) { |
|
return request.get({ |
|
url: `/datav/dataGobalScreen/getProblemBusinessRate?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
|