From c0e36244c61614b5fd21eb73be1ceca09b2f7afb Mon Sep 17 00:00:00 2001
From: he wei <858544502@qq.com>
Date: 星期三, 20 九月 2023 16:01:03 +0800
Subject: [PATCH] UDA 下载修改

---
 src/assets/js/apis.js |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/src/assets/js/apis.js b/src/assets/js/apis.js
index 6e506e3..a2690c0 100644
--- a/src/assets/js/apis.js
+++ b/src/assets/js/apis.js
@@ -1,14 +1,25 @@
 import axios from "@/assets/axios";
 
 /**
- * 鏂囦欢涓嬭浇
+ * 涓嬭浇
+ * @param {*} filePath 鏂囦欢璺緞
+ * @param {*} oprateReason 涓嬭浇鍘熷洜
+ * @param {*} oprateInfo 鐗╂枡灏变紶id  浜у搧浼爌arentCode + "_" + customCode
+ * @param {*} oprateVersion 鐗╂枡浼�0 浜у搧浼爒ersionId
+ * @param {*} type 鐗╂枡浼�13 浜у搧浼�12
  * @returns 
  */
-export const downLoadFileByFilePath = (filePath) => {
+export const downLoadFileByFilePath = (
+  filePath,
+  oprateReason,
+  oprateInfo,
+  oprateVersion,
+  type
+) => {
   return axios({
     method: "GET",
     url: "bomFeedbak/downLoadFileByFilePath",
-    params: { filePath },
-    responseType: "blob"
-  })
-}
\ No newline at end of file
+    params: { filePath, oprateReason, oprateInfo, oprateVersion, type },
+    responseType: "blob",
+  });
+};

--
Gitblit v1.9.1