From dab59f7624a2fb8d4114bb67b554ff09d91f810c Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 10 四月 2025 13:07:36 +0800
Subject: [PATCH] Merge branch 'radio-frequency-cable' of http://114.132.189.42:9002/r/lims-ruoyi-before into radio-frequency-cable

---
 src/api/standard/standardLibrary.js |  170 +++++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 131 insertions(+), 39 deletions(-)

diff --git a/src/api/standard/standardLibrary.js b/src/api/standard/standardLibrary.js
index 914f70b..1322b23 100644
--- a/src/api/standard/standardLibrary.js
+++ b/src/api/standard/standardLibrary.js
@@ -1,3 +1,5 @@
+// 鏍囧噯搴撶浉鍏虫帴鍙�
+
 import request from "@/utils/request";
 
 // 鏍囧噯搴撴爲鎺掑簭
@@ -19,11 +21,11 @@
 }
 
 // 鍒犻櫎鏍囧噯鏍戠殑灞傜骇
-export function delStandardTree(data) {
+export function delStandardTree(query) {
   return request({
     url: "/standardTree/delStandardTree",
-    method: "post",
-    data: data,
+    method: "delete",
+    params: query,
   });
 }
 
@@ -51,15 +53,6 @@
     url: "/capacityScope/selectTestObjectByName",
     method: "get",
     params: query,
-  });
-}
-
-// 缁欐爣鍑嗘爲娣诲姞妫�楠屾爣鍑�
-export function addStandardMethodList(data) {
-  return request({
-    url: "/standardTree/addStandardMethodList",
-    method: "post",
-    data: data,
   });
 }
 
@@ -94,33 +87,6 @@
 export function upStandardProductList(data) {
   return request({
     url: "/standardTree/upStandardProductList",
-    method: "post",
-    data: data,
-  });
-}
-
-// 鍒犻櫎鏍囧噯鏍戜笅鐨勬楠屾爣鍑�
-export function delStandardMethodByFLSSM(data) {
-  return request({
-    url: "/standardTree/delStandardMethodByFLSSM",
-    method: "post",
-    data: data,
-  });
-}
-
-// 鍒犻櫎鏍囧噯鏍戜笅鐨勬楠屾爣鍑�
-export function delStandardProductByIds(data) {
-  return request({
-    url: "/standardTree/delStandardProductByIds",
-    method: "post",
-    data: data,
-  });
-}
-
-// 鏂板鏍囧噯鏍戜笅鐨勬楠岄」鐩�
-export function addStandardProduct(data) {
-  return request({
-    url: "/standardTree/addStandardProduct",
     method: "post",
     data: data,
   });
@@ -206,3 +172,129 @@
     data: data,
   });
 }
+
+// 妫�楠岄」澶嶅埗鎺掑簭
+export function copyStandardProductSort(data) {
+  return request({
+    url: "/standardTree/copyStandardProductSort",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鎻愪氦闇�瑕佸鍒剁殑妫�楠岄」
+export function copyStandardProductOne(data) {
+  return request({
+    url: "/standardTree/copyStandardProductOne",
+    method: "post",
+    data: data,
+  });
+}
+
+// 澶嶅埗妫�楠岄」
+export function copyStandardProductList(data) {
+  return request({
+    url: "/standardTree/copyStandardProductList",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鎻愪氦闇�瑕佸鍒剁殑妫�楠岄」
+export function updateStandardProductListBatch(data) {
+  return request({
+    url: "/standardTree/updateStandardProductListBatch",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鑾峰彇鏍囧噯鏍�
+export function selectStandardTreeList2(query) {
+  return request({
+    url: "/standardTree/selectStandardTreeList2",
+    method: "get",
+    params: query,
+  });
+}
+
+// 鏍囧噯搴撶粦瀹氬巶瀹�
+export function selectSupplierAsk(data) {
+  return request({
+    url: "/standardTree/selectSupplierAsk",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鏂板鏍囧噯搴撶粦瀹氬巶瀹�
+export function addProductSupplierAsk(data) {
+  return request({
+    url: "/standardTree/addProductSupplierAsk",
+    method: "post",
+    data: data,
+  });
+}
+
+// 淇敼鏍囧噯搴撶粦瀹氬巶瀹�
+export function updateProductSupplierAsk(data) {
+  return request({
+    url: "/standardTree/updateProductSupplierAsk",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鍒犻櫎鏍囧噯搴撶粦瀹氬巶瀹�
+export function deleteProductSupplierAsk(query) {
+  return request({
+    url: "/standardTree/deleteProductSupplierAsk",
+    method: "delete",
+    params: query,
+  });
+}
+
+// 鏍囧噯鏍�--瀹℃牳
+export function productListCheck(data) {
+  return request({
+    url: "/standardTree/productListCheck",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鏍囧噯鏍�--鎻愪氦鍙樻洿
+export function productListSubmit(data) {
+  return request({
+    url: "/standardTree/productListSubmit",
+    method: "post",
+    data: data,
+  });
+}
+
+// 鏍囧噯鏍戝彉鏇磋褰�
+export function standardProductListRecordPage(query) {
+  return request({
+    url: "/updateRecord/standardProductListRecordPage",
+    method: "get",
+    params: query,
+  });
+}
+
+// 鏍囧噯鏍戝彉鏇磋褰�--鏌ヨ璇︽儏
+export function standardProductListRecordRelPage(query) {
+  return request({
+    url: "/updateRecord/standardProductListRecordRelPage",
+    method: "get",
+    params: query,
+  });
+}
+
+//  鏌ヨ鏍囧噯搴撴槸鍚﹀瓨鍦ㄥ鏍镐腑鐘舵��
+export function existCheckingRecord(query) {
+  return request({
+    url: "/standardTree/existCheckingRecord",
+    method: "get",
+    params: query,
+  });
+}

--
Gitblit v1.9.3