// 生产任务,报工
|
import request from '@/utils/request'
|
|
export function listPage(query) {
|
return request({
|
url: '/productionScheduling/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取智能排产库存原料列表
|
export function getProductionSchedulingInventoryList(query) {
|
return request({
|
url: '/productHome/productionSchedulingInventoryList',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取生产排程统计数据
|
export function getProductionSchedulingStatistics(query) {
|
return request({
|
url: '/productHome/productionSchedulingStatistics',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取生产排程统计列表
|
export function getProductionSchedulingStatisticsList(query) {
|
return request({
|
url: '/productHome/productionSchedulingStatisticsList',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 排产
|
export function addProductionScheduling(data) {
|
return request({
|
url: '/productionScheduling/addProductionScheduling',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 删除
|
export function delProductionScheduling(data) {
|
return request({
|
url: '/productionScheduling/delProductionScheduling',
|
method: 'delete',
|
data: data
|
})
|
}
|
|
//报工
|
export function work(data) {
|
return request({
|
url: '/productionScheduling/work',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 获取物料看板统计数据
|
export function getMaterialStatistics(query) {
|
return request({
|
url: '/productHome/materialStatistics',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取煤种分布数据
|
export function getCoalTypeDistribution(query) {
|
return request({
|
url: '/productHome/coalTypeDistribution',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取热值分布数据
|
export function getHeatValueDistribution(query) {
|
return request({
|
url: '/productHome/heatValueDistribution',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取车次编码分布数据
|
export function getCarCodeDistribution(query) {
|
return request({
|
url: '/productHome/carCodeDistribution',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取最近交易记录
|
export function getRecentTransaction(query) {
|
return request({
|
url: '/productHome/recentTransaction',
|
method: 'get',
|
params: query
|
})
|
}
|