dataReportUtil.js
3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import * as fetch from './fetch';
import * as constants from '../redux/constants/Constants';
const PROVIDER_PATH = '/api/providermgm/providers';
//求职者数据列表
export const loadJobSeekerInfoList=(params,options={})=>{
const url='/api/statistics/candidates'+ `?`+params;
return fetch.get(url,options);
}
//招聘数据列表
export const loadRecruitDataInfoList=(params,options={})=>{
const url='/api/statistics/candidates/stats'+ `?`+params;
return fetch.get(url,options);
}
//招聘数据总数统计
export const loadRecruitDataSum=(params,options={})=>{
const url='/api/statistics/candidates/stats-sum'+ `?`+params;
return fetch.get(url,options);
}
//求职者数据列表导出
export const exportJobSeekerReportList=(params,options={})=>{
const url='/api/statistics/candidates/export'+ `?`+params;
return fetch.get(url,options);
}
//招聘数据列表导出
export const exportRecruitReportList=(params,options={})=>{
const url=`/api/statistics/candidates/stats/export`+'?'+params;
return fetch.get(url,options);
}
// 数据概览
// 客户总数
export const loadCrmData = (options = {}) => {
const url = `/api/crm/statistics`
return fetch.get(url, options)
}
// 招聘
export const loadRecruitData = (params, options = {}) => {
const url = `/api/recruit/statistics${params}`
return fetch.get(url, options)
}
// 雇员
export const loadEmpmgmData = (params, options = {}) => {
const url = `/api/empmgm/statistics${params}`
return fetch.get(url, options)
}
// 薪酬
export const loadPayrollData = (params, options = {}) => {
const url = `/api/payroll/statistics${params}`
return fetch.get(url, options)
}
// 社保
export const loadPsiorderData = (params, options = {}) => {
const url = `/api/psiorder/statistics${params}`
return fetch.get(url, options)
}
// 劳动合同
export const loadContractData = (params, options = {}) => {
const url = `/api/contract/statistics${params}`
return fetch.get(url, options)
}
// 新增简历数详细数据列表
export const newAdResumeList = (params, options = {}) => {
const url = `/api/statistics/` + params
return fetch.get(url, options)
}
// 新增简历数详细数据 分页
export const newAdResumepage = (params, options = {}) => {
const url = `/api/statistics/list-rank` + params
return fetch.get(url, options)
}
// 转化率分析-汇总数据
export const loadAnalyzeTotalInfoList = (params, options = {}) => {
const url = `/api/statistics/conversion-statistics` + params
return fetch.get(url, options)
}
// 转化率分析-绩效分析
export const loadStatisticsPerformanceList = (params, options = {}) => {
const url = `/api/statistics/statistics-performance` + params
return fetch.get(url, options)
}
// 转化率分析-招聘过程分析
export const loadStatisticsProcedureList = (params, options = {}) => {
const url = `/api/statistics/statistics-procedure` + params
return fetch.get(url, options)
}
// 转化率分析-渠道效果分析分析
export const loadStatisticsChannelList = (params, options = {}) => {
const url = `/api/statistics/statistics-channel` + params
return fetch.get(url, options)
}
//转化率分析-来源途径列表
export const loadSourceWayList = (params, options = {}) => {
const url = `/api/statistics/source-list`;
return fetch.get(url, options)
}
//转化率分析-推荐人列表
export const loadRecommenderList = (params, options = {}) => {
const url = `/api/statistics/recommender-list` ;
return fetch.get(url, options)
}