32 lines
909 B
TypeScript
32 lines
909 B
TypeScript
/**
|
|
* @description 获取学生基本信息
|
|
* @return { Promise } 包含学生基本信息的响应
|
|
*/
|
|
export function getStudentBaseInfo() {
|
|
return $request.get({ url: '/enrollment/studentBaseInfo' })
|
|
}
|
|
|
|
/**
|
|
* @description 更新学生基本信息(对应"保存信息"按钮)
|
|
* @param {Object} params - 学生基本信息对象
|
|
* @return { Promise } 更新结果
|
|
*/
|
|
export function updateStudentBaseInfo(params: any) {
|
|
return $request.post({ url: '/enrollment/studentBaseInfo', params })
|
|
}
|
|
|
|
/**
|
|
* @description 提交报名信息(对应"提交报名"按钮)
|
|
*/
|
|
export function submitEnrollmentInfo() {
|
|
return $request.post({ url: '/enrollment/submit' })
|
|
}
|
|
|
|
/**
|
|
* @description 获取完整报名流程状态
|
|
* @return { Promise } 包含所有步骤状态的响应
|
|
*/
|
|
export function getEnrollmentProcessStatus() {
|
|
return $request.get({ url: '/enrollment/processStatus' })
|
|
}
|