Files
autoAiWorkSys/admin/src/api/profile/resume_info_server.js
张成 5d7444cd65 1
2025-11-24 13:23:42 +08:00

46 lines
1.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 简历信息 API 服务
*/
class ResumeInfoServer {
/**
* 分页查询简历信息
* @param {Object} param - 查询参数
* @param {Object} param.seachOption - 搜索条件
* @param {Object} param.pageOption - 分页选项
* @returns {Promise}
*/
page(param) {
return window.framework.http.post('/resume/list', param)
}
/**
* 获取简历统计数据
* @returns {Promise}
*/
getStatistics() {
return window.framework.http.get('/resume/statistics')
}
/**
* 获取单条简历详情
* @param {Number|String} id - 简历ID
* @returns {Promise}
*/
getById(id) {
return window.framework.http.post('/resume/detail', { resumeId: id })
}
/**
* 删除简历
* @param {Object} row - 简历数据包含id
* @returns {Promise}
*/
del(row) {
return window.framework.http.post('/resume/delete', { resumeId: row.resumeId || row.id })
}
}
export default new ResumeInfoServer()