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