55 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
import { get, post } from './axios'
 | 
						|
// 教育资源统计信息
 | 
						|
export const getResourcesStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getResourcesStatistics')
 | 
						|
}
 | 
						|
 | 
						|
// 各年级学生分布信息
 | 
						|
export const getStudentGradStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getStudentGradStatistics')
 | 
						|
}
 | 
						|
 | 
						|
// 性别分布
 | 
						|
export const getStudentSexStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getStudentSexStatistics')
 | 
						|
}
 | 
						|
 | 
						|
// 设备概况
 | 
						|
export const getDeviceStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getDeviceStatistics')
 | 
						|
}
 | 
						|
 | 
						|
// 门禁进出人数
 | 
						|
export const getAccessStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getAccessStatistics')
 | 
						|
}
 | 
						|
 | 
						|
// 查询班牌统计信息
 | 
						|
export const getClassBrandStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getClassBrandStatistics')
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
// 签到记录-最新10条
 | 
						|
export const getAccessInfo = function () {
 | 
						|
  return get('/cloudStatistics/getAccessInfo')
 | 
						|
}
 | 
						|
 | 
						|
// 在校人数与考勤统计
 | 
						|
export const getStudentAttendanceStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getStudentAttendanceStatistics')
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
// 各年级人数及出勤分布
 | 
						|
export const getGradeStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getGradeStatistics')
 | 
						|
}
 | 
						|
 | 
						|
// 近7日请假统计
 | 
						|
export const getLeaveStatistics = function () {
 | 
						|
  return get('/cloudStatistics/getLeaveStatistics')
 | 
						|
}
 | 
						|
 | 
						|
 |