flat: 添加来源监测相关
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
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:
@@ -57,6 +57,13 @@ export async function exportCmsJobCandidates(ids: string) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function getJobTrend(params) {
|
||||
return request(`/api/cms/jobTrend/list`, {
|
||||
method: 'GET',
|
||||
params: params
|
||||
});
|
||||
}
|
||||
|
||||
export async function addCmsEmployeeConfirmList(params?: API.Management.Hire) {
|
||||
return request<API.Management.ManagePageResult>(`/api/cms/employeeConfirm`, {
|
||||
method: 'POST',
|
||||
|
||||
24
src/services/recruitmentDataCollection/jobMonitor.ts
Normal file
24
src/services/recruitmentDataCollection/jobMonitor.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
export async function getStorageDetectionList(params?: API.StorageDetection.ListParams) {
|
||||
return request<API.StorageDetection.StoragePageResult>(`/api/cms/storageDetection/getList`, {
|
||||
method: 'GET',
|
||||
params: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getStorageDetectionSingle(detectionId: string) {
|
||||
return request<API.StorageDetection.StorageIdResult>(
|
||||
`/api/cms/storageDetection/getSingle/${detectionId}`,
|
||||
{
|
||||
method: 'GET',
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
export async function saveStorageDetection(params?: API.StorageDetection.AddParams) {
|
||||
return request(`/api/cms/storageDetection/save`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
35
src/services/recruitmentDataCollection/metricAdmin.ts
Normal file
35
src/services/recruitmentDataCollection/metricAdmin.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
export async function getJobIndexList(params?: API.JobIndex.ListParams) {
|
||||
return request<API.JobIndex.JobIndexPageResult>(`/api/cms/jobIndex/getList`, {
|
||||
method: 'GET',
|
||||
params: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getJobIndexSingle(indexId: string) {
|
||||
return request<API.JobIndex.JobIndexIdResult>(`/api/cms/jobIndex/getSingle/${indexId}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
export async function saveJobIndex(params?: API.JobIndex.AddParams) {
|
||||
return request(`/api/cms/jobIndex/save`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function updateJobIndex(params?: API.JobIndex.UpdateParams) {
|
||||
return request(`/api/cms/jobIndex/update`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteJobIndex(params?: API.JobIndex.DeleteParams) {
|
||||
return request(`/api/cms/jobIndex/delete`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
35
src/services/recruitmentDataCollection/sourceManager.ts
Normal file
35
src/services/recruitmentDataCollection/sourceManager.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
export async function getWebsiteList(params?: API.Website.ListParams) {
|
||||
return request<API.Website.WebsitePageResult>(`/api/cms/website/getList`, {
|
||||
method: 'GET',
|
||||
params: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getWebsiteSingle(websiteId: string) {
|
||||
return request<API.Website.WebsiteIdResult>(`/api/cms/website/getSingle/${websiteId}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
export async function saveWebsite(params?: API.Website.AddParams) {
|
||||
return request(`/api/cms/website/save`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function updateWebsite(params?: API.Website.UpdateParams) {
|
||||
return request(`/api/cms/website/update`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteWebsite(params?: API.Website.DeleteParams) {
|
||||
return request(`/api/cms/website/delete`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user