import axiosInstance from './request';
|
|
// 员工产品统计TOP10
|
export function getTop (companyId, departId) {
|
return axiosInstance.get(`statistics/userProduceTop/${companyId}/${departId}`)
|
}
|
|
// 成品计划-实时仓库余量统计
|
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}`)
|
}
|