From 5f84c089f83eedb62c1158870d84146af5fad6b9 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 20 五月 2026 17:15:47 +0800
Subject: [PATCH] feat(home): 更新生产数据展示功能

---
 src/api/viewIndex.js |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 8b5d144..89f43b8 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -326,3 +326,45 @@
     method: "get",
   });
 };
+
+export const productionOverview = () => {
+  return request({
+    url: "/home/productionOverview",
+    method: "get",
+    headers: {
+      handleAuthError: false,
+    },
+  });
+};
+
+export const productionRealtimeBoard = () => {
+  return request({
+    url: "/home/productionRealtimeBoard",
+    method: "get",
+    headers: {
+      handleAuthError: false,
+    },
+  });
+};
+
+export const productionOrderProgress = (params) => {
+  return request({
+    url: "/home/productionOrderProgress",
+    method: "get",
+    params,
+    headers: {
+      handleAuthError: false,
+    },
+  });
+};
+
+export const todayProductionPlan = (params) => {
+  return request({
+    url: "/home/todayProductionPlan",
+    method: "get",
+    params,
+    headers: {
+      handleAuthError: false,
+    },
+  });
+};

--
Gitblit v1.9.3