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