From d1e1c39ef027005ee11a6e2e128c2d557d36f5c6 Mon Sep 17 00:00:00 2001
From: wj <1285151836@qq.com>
Date: Thu, 27 Apr 2023 15:44:28 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8B=E8=BD=BD=E6=96=87?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/sync/spsSyncDownload.js | 9 +++
src/views/sync/SysUdimsDownloadData.vue | 86 +++++++++++++++++--------
2 files changed, 67 insertions(+), 28 deletions(-)
diff --git a/src/api/sync/spsSyncDownload.js b/src/api/sync/spsSyncDownload.js
index 7498d4d..ffebc1a 100644
--- a/src/api/sync/spsSyncDownload.js
+++ b/src/api/sync/spsSyncDownload.js
@@ -25,4 +25,13 @@ export function findConfig(query) {
});
}
+export function downloadFile(query) {
+ return axios({
+ url: "/sps/sync/download/info/file",
+ method: "get",
+ params: query,
+ responseType: 'blob'
+ });
+}
+
diff --git a/src/views/sync/SysUdimsDownloadData.vue b/src/views/sync/SysUdimsDownloadData.vue
index 8fdf4c1..73e63f7 100644
--- a/src/views/sync/SysUdimsDownloadData.vue
+++ b/src/views/sync/SysUdimsDownloadData.vue
@@ -12,9 +12,8 @@
-
-
-
+
+
@@ -79,30 +78,32 @@
show-overflow-tooltip
>
+
+
- 详情
-
- 删除
-
+
+ 下载
+
+
+
+ 删除
+
+
@@ -121,7 +122,7 @@