Merge branch 'I'

This commit is contained in:
iriska-gri committed 2023-10-25 14:13:36 +03:00
commit 296e5a124e
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",
"version": "0.0.16",
"version": "0.0.17",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "front",
"version": "0.0.16",
"version": "0.0.17",
"dependencies": {
"@fullcalendar/core": "^6.1.8",
"@fullcalendar/daygrid": "^6.1.8",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "front",
"version": "0.0.16",
"version": "0.0.17",
"scripts": {
"dev": "vite",
"build": "vite build",
+1 -1
View File
@@ -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"}
}
+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()
})
}
+1 -1
View File
@@ -205,7 +205,7 @@ class DailyRoundUpAPIView(APIView):
return Response(file_path)
return Response({'path':file_path})
Binary file not shown.