From d7c4759b8c5c6fb766f3b9dac1bee5fec6026f5e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 17 二月 2025 09:53:19 +0800
Subject: [PATCH] 能力范围-厂家密度联调

---
 src/api/structural/capability.js |   38 +++++++++++++++++++++++++++++++++++---
 1 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/src/api/structural/capability.js b/src/api/structural/capability.js
index 666a78b..edc0b50 100644
--- a/src/api/structural/capability.js
+++ b/src/api/structural/capability.js
@@ -4,7 +4,7 @@
 export function selectItemParameterList(query) {
   return request({
     url: '/capacityScope/selectItemParameterList',
-    method: 'post',
+    method: 'get',
     params: query
   })
 }
@@ -12,7 +12,7 @@
 export function selectTestObjectList(query) {
   return request({
     url: '/capacityScope/selectTestObjectList',
-    method: 'post',
+    method: 'get',
     params: query
   })
 }
@@ -75,7 +75,7 @@
 export function selectProductListByObjectId(query) {
   return request({
     url: '/capacityScope/selectProductListByObjectId',
-    method: 'post',
+    method: 'get',
     params: query
   })
 }
@@ -117,3 +117,35 @@
     method: 'get',
   })
 }
+// 鏍规嵁浜у搧id鏌ヨ鍘傚瀵嗗害缁戝畾
+export function selectSupplierDensityByProductId(query) {
+  return request({
+    url: '/productSupplierDensity/selectSupplierDensityByProductId',
+    method: 'get',
+    params: query
+  })
+}
+// 鏂板浜у搧鍘傚瀵嗗害缁戝畾
+export function addProductSupplierDensity(query) {
+  return request({
+    url: '/productSupplierDensity/addProductSupplierDensity',
+    method: 'post',
+    data: query
+  })
+}
+// 淇敼浜у搧鍘傚瀵嗗害缁戝畾
+export function updateProductSupplierDensity(query) {
+  return request({
+    url: '/productSupplierDensity/updateProductSupplierDensity',
+    method: 'post',
+    data: query
+  })
+}
+// 淇敼浜у搧鍘傚瀵嗗害缁戝畾
+export function deleteProductSupplierDensity(query) {
+  return request({
+    url: '/productSupplierDensity/deleteProductSupplierDensity',
+    method: 'post',
+    params: query
+  })
+}

--
Gitblit v1.9.3