From af4f45eaa2703ecf991bd10f07f6df179f2677d9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 19 十一月 2025 10:04:45 +0800
Subject: [PATCH] Merge branch 'refs/heads/yyb'

---
 src/api/product/twist.ts |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/src/api/product/twist.ts b/src/api/product/twist.ts
index d39d753..086f1d3 100644
--- a/src/api/product/twist.ts
+++ b/src/api/product/twist.ts
@@ -62,6 +62,41 @@
       data: params,
     });
   },
+
+  //缁炰笣鎶ュ伐鍓嶇敓浜х‘璁�
+  querySingleDishInspection(params: { id: number }) {
+    return request<BaseResult<any>>({
+      url: "/wireInspection/querySingleDishInspection/" + params.id,
+      method: "GET",
+    });
+  },
+
+  // 鏂板缁炵嚎鍗曚笣棰嗙敤妫�鏌�
+  addSingleDishInspection(data: any) {
+    return request<BaseResult<any>>({
+      url: "/wireInspection/saveSingleDishInspection",
+      method: "POST",
+      data: data,
+    });
+  },
+
+  // 鍒犻櫎鍗曚笣棰嗙敤
+  deleteStrandedWireDish(id: number) {
+    return request<BaseResult<any>>({
+      url: `/strandedWire/deleteStrandedWireDish/${id}`,
+      method: "DELETE",
+    });
+  },
+
+  // 鍒犻櫎缁炵嚎鎶ュ伐
+  deleteWireOutput(params: { id: number }) {
+    // 灏嗗弬鏁版嫾鎺ュ埌 URL 浣滀负 query 鍙傛暟
+    const queryString = `?id=${params.id}`;
+    return request<BaseResult<any>>({
+      url: `/strandedWire/deleteWireOutput${queryString}`,
+      method: "DELETE",
+    });
+  },
 };
 
 export default TwistApi;

--
Gitblit v1.9.3