From e5aced11100ffd999b67dd0292cd5e9a662029d6 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期四, 30 四月 2026 13:17:21 +0800
Subject: [PATCH] 更新工序相关逻辑,改用部件类型字典 `product_process_type`,并调整界面显示和数据格式化以兼容新字段名
---
src/api/viewIndex.js | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 23e74fe..8b5d144 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -110,22 +110,14 @@
};
// 宸ュ崟鎵ц鏁堢巼鍒嗘瀽锛坉ateType: 1鍛� 2鏈� 3瀛e害锛�
-// export const workOrderEfficiencyAnalysis = (params) => {
-// return request({
-// url: "/home/workOrderEfficiencyAnalysis",
-// method: "get",
-// params,
-// });
-// };
-
-// 鐢熶骇鏍哥畻鍒嗘瀽锛坉ateType: 1鍛� 2鏈� 3瀛e害锛�
-export const productionAccountingAnalysis = (params) => {
+export const workOrderEfficiencyAnalysis = (params) => {
return request({
- url: "/home/productionAccountingAnalysis",
+ url: "/home/workOrderEfficiencyAnalysis",
method: "get",
params,
});
};
+
// 鐢熶骇鏍哥畻鍒嗘瀽
export const productionAccountingAnalysis = (query) => {
return request({
--
Gitblit v1.9.3