gaoluyang
2026-06-09 d3ab456aeb6db7c08dbcd03ab53b1c22a9d3660d
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
// 工作统计接口
import request from '@/utils/request'
 
// 按人员统计
export function getStatisticsByUser(query) {
  return request({
    url: '/chart/workStatistics/byUser',
    method: 'get',
    params: query
  })
}
 
// 及时率统计
export function getTimelyRate(query) {
  return request({
    url: '/chart/workStatistics/timelyRate',
    method: 'get',
    params: query
  })
}
 
// 工作趋势图
export function getWorkTrend(query) {
  return request({
    url: '/chart/workStatistics/trend',
    method: 'get',
    params: query
  })
}
 
// 导出工作统计
export function exportWorkStatistics(query) {
  return request({
    url: '/chart/workStatistics/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}