mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-14 03:03:23 +03:30
fix : update vuetify - export btns
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
<span>Filter</span>
|
||||
</v-tooltip>
|
||||
|
||||
<v-btn class="WM-Outline-Btn WM-Border mr-2 WM-Margin-BT-0 WM-Border-Black" style="padding: 10px 30px;">
|
||||
<v-btn class="WM-Outline-Btn WM-Border mr-2 WM-Margin-BT-0 WM-Border-Black" @click="download()" style="padding: 10px 30px;">
|
||||
<v-icon class="black--text mr-2 caption">fas fa-share-square</v-icon>
|
||||
<span class="black--text">EXPORT</span>
|
||||
</v-btn>
|
||||
@@ -252,6 +252,13 @@ export default {
|
||||
});
|
||||
}
|
||||
},
|
||||
async download() {
|
||||
const result = await ApiService.get(urls.exportItems());
|
||||
if (result && result.status == 200) {
|
||||
console.log(result)
|
||||
window.open(result.download, '_blank');
|
||||
}
|
||||
},
|
||||
removeModal(id) {
|
||||
this.changeCurrentModal({
|
||||
modal: "modal-user-confirmation",
|
||||
|
||||
Reference in New Issue
Block a user