From b871888a4ee32d15adfd52fdfabc44c7c674db0e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 17 九月 2026 16:36:45 +0800
Subject: [PATCH] 新疆——新聚lims 1.标准维护预览附件问题

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

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

--
Gitblit v1.9.3