commit
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||
<el-button
|
||||
size="small"
|
||||
@click="updateFile(item)"
|
||||
@click="updateFile2(item)"
|
||||
icon="el-icon-download"
|
||||
style="height: 32px; margin-left: 5px;"
|
||||
></el-button>
|
||||
@@ -63,7 +63,7 @@
|
||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||
<el-button
|
||||
size="small"
|
||||
@click="updateFile(item)"
|
||||
@click="updateFile2(item)"
|
||||
icon="el-icon-download"
|
||||
style="height: 32px; margin-left: 5px;"
|
||||
></el-button>
|
||||
@@ -322,6 +322,10 @@
|
||||
updateFile (fileId) {
|
||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
||||
},
|
||||
updateFile2 (item) {
|
||||
let id = item.id
|
||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + id
|
||||
},
|
||||
handleTabs(name) {
|
||||
this.active = name
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user