From 294a3fdb786c8de3cc7e08177fe74eeab140b0ac Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 17 九月 2026 15:55:04 +0800
Subject: [PATCH] feat: 1上传地址

---
 src/api/cnas/process/method/standardMethod.js |   28 +++++++++++++++++++++-------
 1 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/src/api/cnas/process/method/standardMethod.js b/src/api/cnas/process/method/standardMethod.js
index 0d64b8b..6be65ef 100644
--- a/src/api/cnas/process/method/standardMethod.js
+++ b/src/api/cnas/process/method/standardMethod.js
@@ -46,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 })
+}
+

--
Gitblit v1.9.3