From 00cb3748cb383c97be847cfe40ac5102684a68c5 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 14 十月 2025 14:11:43 +0800
Subject: [PATCH] 生产管控-智能排产、物料看板页面联调
---
src/api/productionScheduling/index.js | 51 ++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 48 insertions(+), 3 deletions(-)
diff --git a/src/api/productionScheduling/index.js b/src/api/productionScheduling/index.js
index 0bbbb15..8d6a941 100644
--- a/src/api/productionScheduling/index.js
+++ b/src/api/productionScheduling/index.js
@@ -13,7 +13,7 @@
export function getProductionSchedulingInventoryList(query) {
return request({
url: '/productHome/productionSchedulingInventoryList',
- method: 'GET',
+ method: 'get',
params: query
})
}
@@ -22,7 +22,7 @@
export function getProductionSchedulingStatistics(query) {
return request({
url: '/productHome/productionSchedulingStatistics',
- method: 'GET',
+ method: 'get',
params: query
})
}
@@ -31,7 +31,7 @@
export function getProductionSchedulingStatisticsList(query) {
return request({
url: '/productHome/productionSchedulingStatisticsList',
- method: 'GET',
+ method: 'get',
params: query
})
}
@@ -61,4 +61,49 @@
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
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3