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 | 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