s
This commit is contained in:
1 parent
d5be0fd5ad
commit
2a2718689c
7 files changed
+14
-9
No files matched your search
@@ -33,7 +33,7 @@ export function checkremote(filecheck){
|
||||
if(tmp.complete){
|
||||
return filecheck
|
||||
}
|
||||
else {return "https://avatars.mds.yandex.net/i?id=e581fbd83b62938eb98e4d1110c176eabdb19946-9181179-images-thumbs&n=13"}
|
||||
else {return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user