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.
93 lines
1.7 KiB
93 lines
1.7 KiB
import request from "@/api/request"; |
|
|
|
/** |
|
* 信息大屏api |
|
* @author: sh |
|
* @date: 2024-11-7 |
|
*/ |
|
|
|
/* |
|
* 获取信息大屏统计数据 |
|
*/ |
|
export function getAllGlobalCount(times) { |
|
return request.get({ |
|
url: `/datav/dataGlobalScreen/getAllGlobalCount?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 获取问题趋势数据 |
|
*/ |
|
export function getGlobalTrend(year) { |
|
return request.get({ |
|
url: `/datav/dataGlobalScreen/getGlobalTrend?year=${year}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 机构问题排名 |
|
* @param year |
|
*/ |
|
export function getOrganizationRank(times) { |
|
return request.get({ |
|
url: `/datav/dataGlobalScreen/getOrganizationRank?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 业务类型占比 |
|
* @param year |
|
*/ |
|
export function getBusinessRate(times) { |
|
return request.get({ |
|
url: `/datav/dataGlobalScreen/getBusinessRate?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 突出问题排名 |
|
* @param year |
|
*/ |
|
export function getStrongProblemRate(times) { |
|
return request.get({ |
|
url: `/datav/dataGlobalScreen/getStrongProblemRate?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
/** |
|
* 问题涉及方面分布 |
|
* @param year |
|
*/ |
|
export function getProblemBusinessRate(times) { |
|
return request.get({ |
|
url: `/datav/dataGlobalScreen/getProblemBusinessRate?beginTime=${times[0]}&endTime=${times[1]}` |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 地图数据 |
|
*/ |
|
|
|
// export function getGlobalMap(times) { |
|
// return request.get({ |
|
// url: `/datav/dataGlobalScreen/getGlobalMap?beginTime=${times[0]}&endTime=${times[1]}` |
|
// }); |
|
// } |
|
|
|
|
|
|
|
/** |
|
* 地图数据 |
|
*/ |
|
export function getGlobalMap(body) { |
|
return request.post({ |
|
url: `/datav/dataGlobalScreen/getGlobalMap`, |
|
body |
|
}); |
|
} |
|
|
|
|