liding
2 天以前 294a3fdb786c8de3cc7e08177fe74eeab140b0ac
src/api/cnas/process/method/standardMethod.js
@@ -1,3 +1,4 @@
// 实验室的检测能力档案相关接口
import request from "@/utils/request";
//获取标准方法列表
@@ -45,11 +46,25 @@
  });
}
// 导入标准明细
export function importStandardDetails(data) {
  return request({
    url: "/standardMethod/importStandardDetails",
    method: "post",
    data: data,
  });
export function selectIndustryOptions() {
  return request({ url: '/standardMethod/selectIndustryOptions', method: 'get' })
}
export function selectAttachments(query) {
  return request({ url: '/standardMethod/selectAttachments', method: 'get', params: query })
}
export function uploadAttachment(data, standardMethodId) {
  return request({
    url: '/standardMethod/uploadAttachment',
    method: 'post',
    params: { standardMethodId },
    data,
    headers: { 'Content-Type': 'multipart/form-data' }
  })
}
export function deleteAttachment(query) {
  return request({ url: '/standardMethod/deleteAttachment', method: 'delete', params: query })
}