From a29ed519245c178cbc3c2db6f9a47451add87257 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 03 四月 2025 16:21:30 +0800
Subject: [PATCH] 对象零件号绑定修改
---
src/api/structural/capability.js | 38 +++++++++++++++++++++++++++++++++++++-
1 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/src/api/structural/capability.js b/src/api/structural/capability.js
index 4bfe518..d6bb3ec 100644
--- a/src/api/structural/capability.js
+++ b/src/api/structural/capability.js
@@ -47,6 +47,33 @@
method: "get",
});
}
+
+// 鑾峰彇妫�楠屽璞℃爲
+export function getItemTreeProduct(query) {
+ return request({
+ url: "/capacityScope/getItemTreeProduct",
+ method: "get",
+ params: query,
+ });
+}
+
+//鏍规嵁浜у搧鑾峰彇鍨嬪彿
+export function getProductTypes(query) {
+ return request({
+ url: "/capacityScope/getProductTypes",
+ method: "get",
+ params: query,
+ });
+}
+
+//鏍规嵁浜у搧鑾峰彇闆朵欢鍙�
+export function getPartNoList(query) {
+ return request({
+ url: "/capacityScope/getPartNoList",
+ method: "get",
+ params: query,
+ });
+}
// 鏂板妫�娴嬪璞�
export function addTestObject(query) {
return request({
@@ -149,7 +176,7 @@
params: query,
});
}
-// 缁戝畾杞﹂棿
+// 浜у搧-缁戝畾杞﹂棿
export function updateWorkShop(query) {
return request({
url: "/capacityScope/updateWorkShop",
@@ -157,3 +184,12 @@
data: query,
});
}
+
+// 瀵硅薄-缁戝畾杞﹂棿
+export function updateObjectWorkShop(query) {
+ return request({
+ url: "/capacityScope/updateObjectWorkShop",
+ method: "post",
+ data: query,
+ });
+}
--
Gitblit v1.9.3