feat:FOTON release

This commit is contained in:
Superman_Main
2021-11-28 10:16:21 +08:00
parent d68d6913a4
commit 90c6afa461
3 changed files with 9 additions and 10 deletions
+6 -7
View File
@@ -336,7 +336,12 @@ export default {
handlePreview(file) {
const attId = file.response.data.id
if (this.preview) {
if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
} else {
this.$message.warning('文件不存在,下载失败')
}
} else {
this.getBusStandFileByAttId(attId)
.then(res => {
console.log(res)
@@ -368,12 +373,6 @@ export default {
console.log(e)
this.$message.warning('文件不存在,预览失败')
})
} else {
if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
} else {
this.$message.warning('文件不存在,下载失败')
}
}
},