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 | 73 ++++++++++++++++++++++++++++++++++++
1 files changed, 72 insertions(+), 1 deletions(-)
diff --git a/src/api/productionScheduling/index.js b/src/api/productionScheduling/index.js
index 3a2adb5..8d6a941 100644
--- a/src/api/productionScheduling/index.js
+++ b/src/api/productionScheduling/index.js
@@ -1,10 +1,36 @@
// 鐢熶骇浠诲姟锛屾姤宸�
import request from '@/utils/request'
-// 鏌ヨ鐢熶骇鍔犲伐-姝e紡搴撶叅绉嶅垪琛�
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,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