This commit is contained in:
iriska-gri committed 2023-10-25 14:13:17 +03:00
1 parent d5be0fd5ad
commit 2a2718689c
7 files changed
+14 -9

No files matched your search

+9 -4
View File
@@ -11,10 +11,10 @@
>
Excel
</v-btn>
<!-- :href="`${baseURL}media/DailyRoundUp.xlsx`"
download -->
<v-btn
:href="`${baseURL}media/DailyRoundUp.xlsx`"
download
class="mr-2"
color="modal_btn"
@click="excelOp"
@@ -53,7 +53,12 @@ export default {
const dailyfiles = ref('')
const visiting = ref({})
const excelOp = () => {
getfromserver(`api/general_vacation/dailyroundup/`, visiting)
axiosApiInstance.get(`api/general_vacation/dailyroundup/`).then(result => {
let link = document.createElement("a")
link.href = baseURL+result.data.path
link.click()
link.remove()
})
}