除员工外 取消导入更新

This commit is contained in:
wkc
2026-02-09 02:18:56 +08:00
parent f96d10d2e8
commit 886176ed7e
19 changed files with 1104 additions and 362 deletions

View File

@@ -52,11 +52,30 @@ export function importTemplate() {
}
// 导入招聘信息
export function importData(data, updateSupport) {
export function importData(file) {
const formData = new FormData()
formData.append('file', file)
return request({
url: '/ccdi/staffRecruitment/importData?updateSupport=' + updateSupport,
url: '/ccdi/staffRecruitment/importData',
method: 'post',
data: data
data: formData
})
}
// 查询导入状态
export function getImportStatus(taskId) {
return request({
url: '/ccdi/staffRecruitment/importStatus/' + taskId,
method: 'get'
})
}
// 查询导入失败记录
export function getImportFailures(taskId, pageNum, pageSize) {
return request({
url: '/ccdi/staffRecruitment/importFailures/' + taskId,
method: 'get',
params: { pageNum, pageSize }
})
}