52246 替换系统内的上传下载接口

This commit is contained in:
宋伟佳
2022-03-30 10:36:02 +08:00
parent 365a105a60
commit 513c799f7f
177 changed files with 354 additions and 354 deletions
@@ -2058,7 +2058,7 @@ export default {
},
downloadFile (attId) {
if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
} else {
this.$message.error('请选择要下载的文件')
}
@@ -2068,7 +2068,7 @@ export default {
this.$message.error('水印下载仅支持PDF,pdf格式文件')
} else {
if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId
window.location.href = '/api/att/attFile/downloadFileForSarWaterMarkNew?fileId=' + attId
} else {
this.$message.error('请选择要下载的文件')
}
+1 -1
View File
@@ -521,7 +521,7 @@ export default {
previews(val) {
let attId = val
if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
window.location.href = "/api/att/attFile/downloadFileForSarNew?fileId=" + attId;
}
},