Files
hzdyjs/web/src/api/zsjy/enrollmentStatistics.ts
T
2025-07-24 21:03:00 +08:00

130 lines
2.8 KiB
TypeScript

import request from '@/utils/request'
import type { PageQuery } from '@/types/page'
import type { EnrollmentProcessVO } from './enrollmentProcess'
/**
* 查询招生录取统计列表
* @param query 查询参数
* @returns 招生录取统计列表
*/
export function listEnrollmentStatistics(query: PageQuery) {
return request({
url: '/zsjy/enrollment/statistics/list',
method: 'get',
params: query
})
}
/**
* 导出招生录取统计列表
* @param query 查询参数
*/
export function exportEnrollmentStatistics(query: PageQuery) {
return request({
url: '/zsjy/enrollment/statistics/export',
method: 'post',
params: query,
responseType: 'blob'
})
}
/**
* 获取招生录取统计详细信息
* @param id 统计ID
* @returns 招生录取统计详细信息
*/
export function getEnrollmentStatistics(id: string | number) {
return request({
url: `/zsjy/enrollment/statistics/${id}`,
method: 'get'
})
}
/**
* 查询招生录取统计图表数据
* @returns 图表数据
*/
export function getEnrollmentStatisticsChartData() {
return request({
url: '/zsjy/enrollment/statistics/chart',
method: 'get'
})
}
/**
* 查询招生录取统计概览数据
* @returns 概览数据
*/
export function getEnrollmentStatisticsOverview() {
return request({
url: '/zsjy/enrollment/statistics/overview',
method: 'get'
})
}
/**
* 查询招生录取统计按专业分布数据
* @returns 专业分布数据
*/
export function getEnrollmentStatisticsByMajor() {
return request({
url: '/zsjy/enrollment/statistics/major',
method: 'get'
})
}
/**
* 查询招生录取统计按学院分布数据
* @returns 学院分布数据
*/
export function getEnrollmentStatisticsByCollege() {
return request({
url: '/zsjy/enrollment/statistics/college',
method: 'get'
})
}
/**
* 查询招生录取统计按地区分布数据
* @returns 地区分布数据
*/
export function getEnrollmentStatisticsByRegion() {
return request({
url: '/zsjy/enrollment/statistics/region',
method: 'get'
})
}
/**
* 查询招生录取统计按性别分布数据
* @returns 性别分布数据
*/
export function getEnrollmentStatisticsByGender() {
return request({
url: '/zsjy/enrollment/statistics/gender',
method: 'get'
})
}
/**
* 查询招生录取统计按缴费状态分布数据
* @returns 缴费状态分布数据
*/
export function getEnrollmentStatisticsByPayment() {
return request({
url: '/zsjy/enrollment/statistics/payment',
method: 'get'
})
}
/**
* 查询招生录取统计按流程状态分布数据
* @returns 流程状态分布数据
*/
export function getEnrollmentStatisticsByStatus() {
return request({
url: '/zsjy/enrollment/statistics/status',
method: 'get'
})
}