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

BIN
View File
Binary file not shown.
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "front", "name": "front",
"version": "0.0.16", "version": "0.0.17",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "front", "name": "front",
"version": "0.0.16", "version": "0.0.17",
"dependencies": { "dependencies": {
"@fullcalendar/core": "^6.1.8", "@fullcalendar/core": "^6.1.8",
"@fullcalendar/daygrid": "^6.1.8", "@fullcalendar/daygrid": "^6.1.8",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "front", "name": "front",
"version": "0.0.16", "version": "0.0.17",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
+1 -1
View File
@@ -33,7 +33,7 @@ export function checkremote(filecheck){
if(tmp.complete){ if(tmp.complete){
return filecheck 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"}
} }
+9 -4
View File
@@ -11,10 +11,10 @@
> >
Excel Excel
</v-btn> </v-btn>
<!-- :href="`${baseURL}media/DailyRoundUp.xlsx`"
download -->
<v-btn <v-btn
:href="`${baseURL}media/DailyRoundUp.xlsx`"
download
class="mr-2" class="mr-2"
color="modal_btn" color="modal_btn"
@click="excelOp" @click="excelOp"
@@ -53,7 +53,12 @@ export default {
const dailyfiles = ref('') const dailyfiles = ref('')
const visiting = ref({}) const visiting = ref({})
const excelOp = () => { 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()
})
} }
+1 -1
View File
@@ -205,7 +205,7 @@ class DailyRoundUpAPIView(APIView):
return Response(file_path) return Response({'path':file_path})
Binary file not shown.