import request from '/@/utils/request';

/**
 * 获取待审批数据（按班级）
 * @param query
 */
export const getApproveData = (query?: any) => {
  return request({
    url: '/stuwork/tuitionfreestu/getApproveData',
    method: 'get',
    params: query
  });
};

/**
 * 获取已审批数据（按学院分组，班级数、人数）
 * @param query
 */
export const getApprovedData = (query?: any) => {
  return request({
    url: '/stuwork/tuitionfreestu/getDataGroupDept',
    method: 'get',
    params: query
  });
};

