vcheckon.js
1.33 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
import request from '@/utils/request'
// top数据
export function getTopShowList(query) {
return request({
url: '/view/vcheckon/keyInfo',
method: 'get',
params: query
})
}
// 单位出勤率
export function getBarList(query) {
return request({
url: '/view/vcheckon/companyCheckonPercent',
method: 'get',
params: query
})
}
// 夜班占比
export function getPieList(query) {
return request({
url: '/view/vcheckon/companyNightPercent',
method: 'get',
params: query
})
}
// 合同出勤率
export function getContractBarList(query) {
return request({
url: '/view/vcheckon/contractCheckonPercent',
method: 'get',
params: query
})
}
// 按单位分组表格数据
export function getCompanyList(query) {
return request({
url: '/view/vcheckon/checkonCompanyList',
method: 'get',
params: query
})
}
// 按合同分组表格数据
export function getContractList(query) {
return request({
url: '/view/vcheckon/checkonContractList',
method: 'get',
params: query
})
}
// 获取考勤统计规则
export function checkRule(query) {
return request({
url: '/system/dict/data/type/ddic_calc_rules/check_details',
method: 'get',
params: query
})
}