gaoluyang
2025-10-15 e14d8f605015007082cd992830869dc0d62155c3
src/api/productionScheduling/index.js
@@ -1,10 +1,36 @@
// 生产任务,报工
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
    })
@@ -35,4 +61,78 @@
        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
    })
}
// 获取报表统计数据
export function getReportStatistics(query) {
    return request({
        url: '/productHome/reportStatistics',
        method: 'get',
        params: query
    })
}
// 获取达标率趋势数据
export function getReportTrend(query) {
    return request({
        url: '/productHome/reportTrend',
        method: 'get',
        params: {
            dto: query
        }
    })
}
// 获取加工得率分析数据
export function processingRateAnalysis(query) {
    return request({
        url: '/productHome/processingRateAnalysis',
        method: 'get',
        params: query
    })
}