bug
jiangping
2023-12-06 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5
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
import axiosInstance from './request';
 
// 员工产品统计TOP10
export function getTop (companyId, departId, params) {
    return axiosInstance.get(`statistics/userProduceTop/${companyId}/${departId}`, { params })
}
 
// 成品计划-实时仓库余量统计
export function getStockList (companyId, departId) {
    return axiosInstance.get(`statistics/getStockList/${companyId}/${departId}`)
}
 
// 成品计划进度查询
export function getWorkPlansList (companyId, departId) {
    return axiosInstance.get(`statistics/getWorkPlansList/${companyId}/${departId}`)
}
 
// 工序计划进度查询
export function getProcedureProcessList (companyId, departId) {
    return axiosInstance.get(`statistics/getProcedureProcessList/${companyId}/${departId}`)
}
 
// 报工日志分页查询
export function getRecordLogPage (companyId, departId, data) {
    return axiosInstance.post(`statistics/getRecordLogPage/${companyId}/${departId}`, data)
}
 
// 巡检记录分页查询
export function getDeviceCheckPage (companyId, departId, data) {
    return axiosInstance.post(`statistics/getDeviceCheckPage/${companyId}/${departId}`, data)
}
 
// 近7天不良品分布-不良品数量统计
export function getUnqualified7DayData (companyId, departId, procedureId) {
    return axiosInstance.get(`statistics/getUnqualified7DayData/${companyId}/${departId}?procedureId=${procedureId}`)
}
 
// 近7天不良品分布-不良品数量-按不良项统计
export function getUnqualifiedCateData (companyId, departId, procedureId) {
    return axiosInstance.get(`statistics/getUnqualifiedCateData/${companyId}/${departId}?procedureId=${procedureId}`)
}
 
 
// 数据统计-成品计划,执行中、延期计划数、今日生产人数、今日生产设备数、今日不良品
export function getProcedurePlansList (companyId, departId, params) {
  return axiosInstance.get(`statistics/getProcedurePlansList/${companyId}/${departId}`, {params} )
}
 
// 查询企业全部公司部门
export function getDepartmentList (companyId) {
  return axiosInstance.get(`statistics/getDepartmentList/${companyId}`)
}
 
// 数据统计-成品计划,执行中、延期计划数、今日生产人数、今日生产设备数、今日不良品
export function getProcedurePlanData (companyId, departId, params) {
  return axiosInstance.get(`statistics/getProcedurePlanData/${companyId}/${departId}`, {params} )
}
 
// 数据统计-成品计划,执行中、延期计划数、今日生产人数、今日生产设备数、今日不良品
export function getPlanData (companyId, departId) {
    return axiosInstance.get(`statistics/getPlanData/${companyId}/${departId}`)
}