From 2de633725d5e5d843853240933f63220dc4e4cb2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 03 十二月 2025 16:53:57 +0800
Subject: [PATCH] fix: 导体会存在每隔一段距离需要标记的情况,需要通知工人进行标记。

---
 src/api/product/wire.ts |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/api/product/wire.ts b/src/api/product/wire.ts
index d8e0fd7..16774a9 100644
--- a/src/api/product/wire.ts
+++ b/src/api/product/wire.ts
@@ -32,7 +32,7 @@
   // 鏂板鏉嗗寘
   addRodBagTree(data: any) {
     return request<BaseResult<any>>({
-      url: "/app/addRodBagTree",
+      url: "/wireOutput/addRodBagTree",
       method: "POST",
       data: data,
     });
@@ -41,8 +41,8 @@
   // 鍒犻櫎鏉嗗寘
   deleteRodBagTree(data: any) {
     return request<BaseResult<any>>({
-      url: "/app/deleteRodBagTree",
-      method: "DELETE",
+      url: "/wireOutput/deleteRodBagTree",
+      method: "POST",
       data: data,
     });
   },
@@ -72,6 +72,15 @@
       method: "DELETE",
     });
   },
+
+  // 楠岃瘉鍙樻洿
+  verifyChanges(params: { projectId: number | string }) {
+    return request<BaseResult<any>>({
+      url: "/app/verifyChanges",
+      method: "GET",
+      data: params,
+    });
+  },
 };
 
 export default WireApi;

--
Gitblit v1.9.3