二次调研功能开发
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
francis-fh
2026-06-09 16:08:39 +08:00
parent 79e67e307f
commit f2da3d6929
11 changed files with 133 additions and 25 deletions

View File

@@ -57,6 +57,16 @@ export async function exportCmsJobCandidates(ids: string) {
});
}
export async function importJobRow(file: File) {
const formData = new FormData();
formData.append('file', file);
return request('/api/app/script/importRow/v2', {
method: 'POST',
// 不显式设置 Content-Type交由浏览器按 multipart/form-data 边界自动设置
data: formData,
});
}
export async function getJobTrend(params) {
return request(`/api/cms/jobTrend/list`, {
method: 'GET',