diff --git a/src/db.sqlite3 b/src/db.sqlite3 index 4367d630f..4ed992402 100644 Binary files a/src/db.sqlite3 and b/src/db.sqlite3 differ diff --git a/src/front/src/components/UI/event-calendar.vue b/src/front/src/components/UI/event-calendar.vue index 6e855fc2b..f0c9f054e 100644 --- a/src/front/src/components/UI/event-calendar.vue +++ b/src/front/src/components/UI/event-calendar.vue @@ -39,7 +39,8 @@ @@ -117,13 +118,7 @@ export default { setup() { const events = ref([ - // { - // start: '2023-11-15', - // end: '2023-11-21', - // title: 'Need to go shopping', - // content: 'shopping_cart', - // class: 'leisure' - // }, + ]) function f_generalvacation() { axiosApiInstance.get('api/general_vacation/generalvacation/') @@ -149,7 +144,8 @@ export default { }) } - + + onMounted(() => { f_generalvacation() }) @@ -158,6 +154,8 @@ export default { const selectedDate = ref(null) + + return { events, selectedDate, f_generalvacation } @@ -234,6 +232,11 @@ border-top-right-radius: 3px; background: #c2e9d78c; border-radius: 30px; color: #333; + +} + +.vuecal__cell-content { + cursor: pointer; } .vuecal__body { diff --git a/src/front/src/components/cardUsers.vue b/src/front/src/components/cardUsers.vue index 16803f284..ad455bafe 100644 --- a/src/front/src/components/cardUsers.vue +++ b/src/front/src/components/cardUsers.vue @@ -83,13 +83,13 @@ - + diff --git a/src/front/src/components/carousel-list.vue b/src/front/src/components/carousel-list.vue index 9ccc726bb..4d3226a4f 100644 --- a/src/front/src/components/carousel-list.vue +++ b/src/front/src/components/carousel-list.vue @@ -22,8 +22,7 @@ cover eager > - - + - + - - - - + + + - - - + + + + + + + - - + - + + + + Данные не загружены + + + + + + + - - - - - - - - Данные не загружены -
@@ -115,96 +113,11 @@ :namepos=namepos @searchClose="dialogDetailRound=!dialogDetailRound" /> - - +
@@ -215,11 +128,11 @@ class="px-3" > \ No newline at end of file diff --git a/src/front/src/utils/universal_functions.js b/src/front/src/utils/universal_functions.js index 049a0f710..37e72e828 100644 --- a/src/front/src/utils/universal_functions.js +++ b/src/front/src/utils/universal_functions.js @@ -25,9 +25,11 @@ export function getfromserver(path, reactive){ } export function bgimage(filecheck){ - return new URL(`@assets/bg-for-number-carousel.png`, import.meta.url).href + const h = new URL(`@assets/bg-for-number-carousel.png`, import.meta.url).href + console.log(h, 'ffffffffffffffffffffffffffffff'); + return h } - +// bg-for-number-carousel.png export function checkremote(filecheck){ diff --git a/src/navigation/views.py b/src/navigation/views.py index b77bc66e4..f448bca4f 100644 --- a/src/navigation/views.py +++ b/src/navigation/views.py @@ -107,7 +107,7 @@ class CarouselsAPIView(ListAPIView): allbirthday = { "title":'Дни рождения', - "text": "в этом месяце:\n"+"\n".join([f"{x.birthdate.strftime('%d')} - {x.fio}" for x in manbrd]), + "text": "\n".join([f"{x.birthdate.strftime('%d')} - {x.fio}" for x in manbrd]), "link": "/media/"+str(brdimage[0].img), "published": 'true', @@ -124,7 +124,7 @@ class CarouselsAPIView(ListAPIView): birthday.append({ "title":'Поздравляем!', - "text": f"{k.fio} {brdtext[0].text}", + "text": f"{k.fio}!"+"\n"+ f"{brdtext[0].text}", "link": "/media/"+str(brdimage[0].img), "published": 'true', "sender": "/media/default/dr.png",