From 31529c9b7c993b409b3a369492f232fe38850ec4 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 03 二月 2026 16:42:34 +0800
Subject: [PATCH] 原材料检验增加采购订单号;过程检验和出厂检验增加生产工单号

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

diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 1479e0c..980e4b0 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -1,6 +1,82 @@
 // 棣栭〉鎺ュ彛
 import request from "@/utils/request";
 
+//  宸ュ崟鎵ц鏁堢巼鍒嗘瀽
+export const workOrderEfficiencyAnalysis = (query) => {
+  return request({
+    url: "/home/workOrderEfficiencyAnalysis",
+    method: "get",
+    params: query,
+  });
+};
+
+//  鍘熸潗鏂欐娴�
+export const rawMaterialDetection = (query) => {
+  return request({
+    url: "/home/rawMaterialDetection",
+    method: "get",
+    params: query,
+  });
+};
+
+//  杩囩▼妫�娴�
+export const processDetection = (query) => {
+  return request({
+    url: "/home/processDetection",
+    method: "get",
+    params: query,
+  });
+};
+
+//  鎴愬搧鍑哄巶妫�娴�
+export const factoryDetection = (query) => {
+  return request({
+    url: "/home/factoryDetection",
+    method: "get",
+    params: query,
+  });
+};
+
+//  妫�楠屾暟閲�
+export const qualityInspectionCount = () => {
+  return request({
+    url: "/home/qualityInspectionCount",
+    method: "get",
+  });
+};
+
+//  涓嶅悎鏍奸璀�
+export const nonComplianceWarning = () => {
+  return request({
+    url: "/home/nonComplianceWarning",
+    method: "get",
+  });
+};
+
+//  瀹屾垚妫�楠屾暟
+export const completedInspectionCount = () => {
+  return request({
+    url: "/home/completedInspectionCount",
+    method: "get",
+  });
+};
+
+//  涓嶅悎鏍间骇鍝佹帓鍚�
+export const unqualifiedProductRanking = () => {
+  return request({
+    url: "/home/unqualifiedProductRanking",
+    method: "get",
+  });
+};
+
+//  涓嶅悎鏍兼鍝佸鐞嗗垎鏋�
+export const unqualifiedProductProcessingAnalysis = () => {
+  return request({
+    url: "/home/unqualifiedProductProcessingAnalysis",
+    method: "get",
+  });
+};
+
 // 閿�鍞�-閲囪喘-搴撳瓨鏁版嵁
 export const getBusiness = () => {
   return request({

--
Gitblit v1.9.3