From 2e4c2b6e96022dc4fd197ac374c7a596a78f4223 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期六, 15 二月 2025 13:31:25 +0800 Subject: [PATCH] 能力范围联调 --- src/api/structural/capability.js | 82 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 80 insertions(+), 2 deletions(-) diff --git a/src/api/structural/capability.js b/src/api/structural/capability.js index f094d4c..75c7d63 100644 --- a/src/api/structural/capability.js +++ b/src/api/structural/capability.js @@ -8,12 +8,20 @@ params: query }) } +// 鑾峰彇妫�娴嬪璞� +export function selectTestObjectList(query) { + return request({ + url: '/capacityScope/selectTestObjectList', + method: 'post', + params: query + }) +} // 鏂板妫�楠岄」鐩弬鏁� export function addItemParameter(query) { return request({ url: '/capacityScope/addItemParameter', method: 'post', - params: query + data: query }) } // 鍒犻櫎妫�楠岄」鐩弬鏁� @@ -29,7 +37,7 @@ return request({ url: '/capacityScope/upItemParameter', method: 'post', - params: query + data: query }) } // 鑾峰彇妫�楠屽璞℃爲 @@ -39,3 +47,73 @@ method: 'get' }) } +// 鏂板妫�娴嬪璞� +export function addTestObject(query) { + return request({ + url: '/capacityScope/addTestObject', + method: 'post', + data: query + }) +} +// 鍒犻櫎妫�娴嬪璞� +export function delTestObject(query) { + return request({ + url: '/capacityScope/delTestObject', + method: 'post', + params: query + }) +} +// 淇敼妫�娴嬪璞� +export function upTestObject(query) { + return request({ + url: '/capacityScope/upTestObject', + method: 'post', + data: query + }) +} +// 鏌ヨ妫�楠屽璞$殑浜у搧 +export function selectProductListByObjectId(query) { + return request({ + url: '/capacityScope/selectProductListByObjectId', + method: 'post', + params: query + }) +} +// 鏂板浜у搧 +export function addProduct(query) { + return request({ + url: '/capacityScope/addProduct', + method: 'post', + data: query + }) +} +// 鍒犻櫎浜у搧 +export function delProduct(query) { + return request({ + url: '/capacityScope/delProduct', + method: 'post', + params: query + }) +} +// 淇敼浜у搧 +export function upProduct(query) { + return request({ + url: '/capacityScope/upProduct', + method: 'post', + data: query + }) +} +// 鑾峰彇瀹為獙瀹ゅ悕绉� +export function obtainItemParameterList() { + return request({ + url: '/laboratoryScope/obtainItemParameterList', + method: 'get', + }) +} +// 鏌ヨ鍘熷璁板綍妯℃澘鏋氫妇 +export function getStandardTemplate() { + return request({ + url: '/StandardTemplate/getStandardTemplate', + method: 'get', + }) +} -- Gitblit v1.9.3