From e14d8f605015007082cd992830869dc0d62155c3 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 15 十月 2025 10:01:47 +0800
Subject: [PATCH] 生产管控-智能排产、物料看板页面联调

---
 src/api/productionScheduling/index.js |   80 ++++++++++++++++++++++++++++++++++++++-
 1 files changed, 77 insertions(+), 3 deletions(-)

diff --git a/src/api/productionScheduling/index.js b/src/api/productionScheduling/index.js
index 0bbbb15..4940576 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,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
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3