gaoluyang
2025-02-17 51da4ca35854d45ca89aa8cfdfdfc7729f708a72
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
  })
}
@@ -71,11 +71,11 @@
    data: query
  })
}
// 查询检验对象的产品
// 查询检验对象的产品维护列表
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
  })
}