From 1187936c713bae2ad43063900c7bee80502e091d Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 19 十一月 2025 17:06:42 +0800
Subject: [PATCH] fix: 重构拉丝报工
---
src/api/product/wire.ts | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/src/api/product/wire.ts b/src/api/product/wire.ts
index 0f192f7..d8e0fd7 100644
--- a/src/api/product/wire.ts
+++ b/src/api/product/wire.ts
@@ -19,6 +19,59 @@
data: data,
});
},
+
+ // 鑾峰彇鎷変笣鎶ュ伐鏍戝舰鏁版嵁
+ getWireOutputTree(params: any) {
+ return request<BaseResult<any>>({
+ url: "/app/getWireOutputTree",
+ method: "GET",
+ data: params,
+ });
+ },
+
+ // 鏂板鏉嗗寘
+ addRodBagTree(data: any) {
+ return request<BaseResult<any>>({
+ url: "/app/addRodBagTree",
+ method: "POST",
+ data: data,
+ });
+ },
+
+ // 鍒犻櫎鏉嗗寘
+ deleteRodBagTree(data: any) {
+ return request<BaseResult<any>>({
+ url: "/app/deleteRodBagTree",
+ method: "DELETE",
+ data: data,
+ });
+ },
+
+ // 鏇存柊鏉嗗寘
+ updateRodBagTree(data: any) {
+ return request<BaseResult<any>>({
+ url: "/wireOutput/updateRodBagTree",
+ method: "POST",
+ data: data,
+ });
+ },
+
+ // 鎵归噺鏂板鎷変笣鎶ュ伐
+ addWireOutputList(data: any) {
+ return request<BaseResult<any>>({
+ url: "/wireDrawing/addWireOutputList",
+ method: "POST",
+ data: data,
+ });
+ },
+
+ // 鍒犻櫎鎷変笣鎶ュ伐
+ deleteWireOutput(params: any) {
+ return request<BaseResult<any>>({
+ url: `/app/deleteWireOutput?id=${params.id}`,
+ method: "DELETE",
+ });
+ },
};
export default WireApi;
--
Gitblit v1.9.3