From 893efaff3c2523976993063543dfedf4a5b412f3 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 13 三月 2025 14:27:42 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/center-lims-before-ruoyi into dev
---
src/api/standard/standardLibrary.js | 154 +++++++++++++++++++--------------------------------
1 files changed, 58 insertions(+), 96 deletions(-)
diff --git a/src/api/standard/standardLibrary.js b/src/api/standard/standardLibrary.js
index cd702d3..98861cf 100644
--- a/src/api/standard/standardLibrary.js
+++ b/src/api/standard/standardLibrary.js
@@ -1,29 +1,11 @@
import request from "@/utils/request";
-// 鏍囧噯搴撴爲鎺掑簭
-export function updateTreeSort(data) {
- return request({
- url: "/standardTree/updateTreeSort",
- method: "post",
- data: data,
- });
-}
-
-// 鏍囧噯搴撴楠岄」鎺掑簭淇濆瓨鎺ュ彛
-export function resetTreeDragBatch(data) {
- return request({
- url: "/standardTree/resetTreeDragBatch",
- method: "post",
- data: data,
- });
-}
-
// 鍒犻櫎鏍囧噯鏍戠殑灞傜骇
-export function delStandardTree(data) {
+export function delStandardTree(query) {
return request({
url: "/standardTree/delStandardTree",
- method: "post",
- data: data,
+ method: "delete",
+ params: query,
});
}
@@ -54,6 +36,15 @@
});
}
+// 鑾峰彇鏍囧噯鏂规硶鏋氫妇
+export function selectStandardMethods(query) {
+ return request({
+ url: "/standardMethod/selectStandardMethods",
+ method: "get",
+ params: query,
+ });
+}
+
// 缁欐爣鍑嗘爲娣诲姞妫�楠屾爣鍑�
export function addStandardMethodList(data) {
return request({
@@ -72,24 +63,6 @@
});
}
-// 淇敼鏍囧噯鏍�
-export function updateStandardTree(data) {
- return request({
- url: "/standardTree/updateStandardTree",
- method: "post",
- data: data,
- });
-}
-
-// 鏍规嵁鏍囧噯鏍戣繘琛屾爣鍑嗘煡璇�
-export function selectsStandardMethodByFLSSM(query) {
- return request({
- url: "/standardTree/selectsStandardMethodByFLSSM",
- method: "get",
- params: query,
- });
-}
-
// 淇敼鏍囧噯搴撲腑鐨勮姹傚��
export function upStandardProductList(data) {
return request({
@@ -100,29 +73,20 @@
}
// 鍒犻櫎鏍囧噯鏍戜笅鐨勬楠屾爣鍑�
-export function delStandardMethodByFLSSM(data) {
+export function delStandardMethodByFLSSM(query) {
return request({
url: "/standardTree/delStandardMethodByFLSSM",
- method: "post",
- data: data,
+ method: "delete",
+ params: query,
});
}
-// 鍒犻櫎鏍囧噯鏍戜笅鐨勬楠屾爣鍑�
-export function delStandardProductByIds(data) {
+// 鍒犻櫎鏍囧噯鏍戜笅鐨勬楠岄」鐩�
+export function delStandardProductByIds(query) {
return request({
url: "/standardTree/delStandardProductByIds",
- method: "post",
- data: data,
- });
-}
-
-// 鏂板鏍囧噯鏍戜笅鐨勬楠岄」鐩�
-export function addStandardProduct(data) {
- return request({
- url: "/standardTree/addStandardProduct",
- method: "post",
- data: data,
+ method: "delete",
+ params: query,
});
}
@@ -135,21 +99,12 @@
});
}
-// 淇敼鏍囧噯搴撲腑鐨勫尯闂磋缃�
-export function updateSection(data) {
+// 閫氳繃鏍囧噯鏍戞煡璇㈠搴旂殑妫�楠岄」鐩�
+export function selectStandardProductList(query) {
return request({
- url: "/standardTree/updateSection",
- method: "post",
- data: data,
- });
-}
-
-// 鑾峰彇浜у搧鏋舵瀯
-export function upStandardProducts(data) {
- return request({
- url: "/standardTree/upStandardProducts",
- method: "post",
- data: data,
+ url: "/standardTree/selectStandardProductList",
+ method: "get",
+ params: query,
});
}
@@ -159,33 +114,6 @@
url: "/StandardTemplate/getStandardTemplate",
method: "get",
params: query,
- });
-}
-
-// 鑾峰彇鏍囧噯鏂规硶鏋氫妇
-export function selectStandardMethods(query) {
- return request({
- url: "/standardMethod/selectStandardMethods",
- method: "get",
- params: query,
- });
-}
-
-// 鎵归噺缂栬緫鏌ヨ妫�楠岄」鐩�
-export function selectStandardProductByMethodId(data) {
- return request({
- url: "/standardTree/selectStandardProductByMethodId",
- method: "post",
- data: data,
- });
-}
-
-// 鎵归噺缂栬緫鏌ヨ鎵�鏈夋楠岄」鐩拰妫�楠屽瓙椤规灇涓�
-export function selectStandardProductEnumByMethodId(data) {
- return request({
- url: "/standardTree/selectStandardProductEnumByMethodId",
- method: "post",
- data: data,
});
}
@@ -206,3 +134,37 @@
data: data,
});
}
+
+// 鏍规嵁鏍囧噯鏍戣繘琛屾爣鍑嗘煡璇�
+export function selectsStandardMethodByFLSSM(query) {
+ return request({
+ url: "/standardTree/selectsStandardMethodByFLSSM",
+ method: "get",
+ params: query,
+ });
+}
+
+// 鑾峰彇鏍囧噯鏍戜笅鏍囧噯鏂规硶鏋氫妇
+export function selectStandardMethodEnum() {
+ return request({
+ url: "/standardTree/selectStandardMethodEnum",
+ method: "get",
+ });
+}
+
+// 鑾峰彇鏍囧噯鏍�(妫�楠屼笅鍗�)
+export function selectStandardTreeList2() {
+ return request({
+ url: "/standardTree/selectStandardTreeList2",
+ method: "get",
+ });
+}
+
+// 浠呰幏鍙栧厜绾ょ殑鍨嬪彿
+export function getStandTreeBySampleType(query) {
+ return request({
+ url: "/standardTree/getStandTreeBySampleType",
+ method: "get",
+ params:query
+ });
+}
--
Gitblit v1.9.3