gaoluyang
2025-10-14 00cb3748cb383c97be847cfe40ac5102684a68c5
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// 生产任务,报工
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
    })
}