From fcc2feb57154cdb9fcedf10c526a1fe57e4bc2cc Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 01 四月 2025 16:29:59 +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