Mr.Zhang
2023-08-22 0a218097b77769186270a6d1cc9bb67c5d06f425
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
import axiosInstance from './request';
 
// 查询企业全部公司部门
export function getDepartmentList (companyId) {
  return axiosInstance.get(`statistics/getDepartmentList/${companyId}`)
}
 
// 数据统计-成品计划,执行中、延期计划数、今日生产人数、今日生产设备数、今日不良品
export function getProcedurePlanData (companyId, departId, params) {
  return axiosInstance.get(`statistics/getProcedurePlanData/${companyId}/${departId}`, {params} )
}
 
// 员工产品统计TOP10
export function getTop (companyId, departId, params) {
  return axiosInstance.get(`statistics/userProduceTop/${companyId}/${departId}`, {params})
}
 
// 数据统计-成品计划,执行中、延期计划数、今日生产人数、今日生产设备数、今日不良品
export function getProcedurePlansList (companyId, departId, params) {
  return axiosInstance.get(`statistics/getProcedurePlansList/${companyId}/${departId}`, {params} )
}
 
// 报工日志分页查询
export function getRecordLogPage (companyId, departId, data) {
  return axiosInstance.post(`statistics/getRecordLogPage/${companyId}/${departId}`, data)
}