From 5384750e59bbb27c54e090100429c48eaba46df0 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 20 十一月 2025 10:15:20 +0800
Subject: [PATCH] fix: 完成拉丝自检、原材料自检优化

---
 src/api/product/manage.ts |   36 +++++++++++++++++++++++++++++++-----
 1 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/src/api/product/manage.ts b/src/api/product/manage.ts
index 34dd68a..e0a6c5b 100644
--- a/src/api/product/manage.ts
+++ b/src/api/product/manage.ts
@@ -29,11 +29,37 @@
   },
 
   // 鏌ヨ鑷淇℃伅
-  getSelfInspection(params: any) {
-    return request<BaseResult<any>>({
-      url: "/app/getSelfInspection",
-      method: "GET",
-      data: params,
+  getSelfInspection(data: any) {
+    return request<BaseResult<any[]>>({
+      url: "/wireInspection/getDrawInspectInfoListByGetDrawInspect",
+      method: "POST",
+      data: data,
+    });
+  },
+
+  // 鏂板鑷
+  addSelfInspection(data: any) {
+    return request<BaseResult<any[]>>({
+      url: "/wireInspection/saveDrawInspectionRecord",
+      method: "POST",
+      data: data,
+    });
+  },
+
+  // 鍒犻櫎鑷
+  deleteSelfInspection(ids: string | number) {
+    return request<BaseResult<any[]>>({
+      url: `/wireInspection/deleteDrawWireInspectionRecord/${ids}`,
+      method: "POST",
+    });
+  },
+
+  // 鑾峰彇鑷鏍峰紡鏁版嵁
+  getDrawInspectStyleByGetDrawInspect(data: any) {
+    return request<BaseResult<any[]>>({
+      url: "/wireInspection/getDrawInspectStyleByGetDrawInspect",
+      method: "POST",
+      data: data,
     });
   },
 

--
Gitblit v1.9.3