From 8a10f2aa46acbaf287ff5ac1d074f371ef328243 Mon Sep 17 00:00:00 2001
From: iriska-gri <79623434+iriska-gri@users.noreply.github.com>
Date: Tue, 12 Dec 2023 12:45:54 +0300
Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=8B=D0=B5=20=D0=BD=D0=BE?=
=?UTF-8?q?=D0=B2=D0=BE=D1=81=D1=82=D0=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/front/src/components/dialog-search.vue | 2 +-
src/front/src/components/digital-letna.vue | 2 +-
src/front/src/components/load-round.vue | 4 +-
src/front/src/components/news-crossroad.vue | 94 ++++++++
src/front/src/components/news-list-news.vue | 200 +++++++++++-------
src/front/src/components/onlineUsers.vue | 5 +-
src/front/src/views/HomePage.vue | 1 -
src/front/src/views/NewsPage.vue | 9 +-
.../2023/12/11/world-of-warcraft-wow-znak.jpg | Bin 0 -> 244942 bytes
src/navigation/urls.py | 4 +-
src/navigation/views.py | 31 +++
11 files changed, 258 insertions(+), 94 deletions(-)
create mode 100644 src/front/src/components/news-crossroad.vue
create mode 100644 src/media/newsimage/2023/12/11/world-of-warcraft-wow-znak.jpg
diff --git a/src/front/src/components/dialog-search.vue b/src/front/src/components/dialog-search.vue
index 9dea7433a..921437b79 100644
--- a/src/front/src/components/dialog-search.vue
+++ b/src/front/src/components/dialog-search.vue
@@ -133,7 +133,7 @@ export default {
onMounted(() => {
axiosApiInstance.get(`api/general_vacation/dailyload/?id=${props.idpos}`).then(data => {
- console.log(data.data);
+
t_dailyRound.value = data.data.daily
diff --git a/src/front/src/components/digital-letna.vue b/src/front/src/components/digital-letna.vue
index d2637d5ac..9acbb2e3f 100644
--- a/src/front/src/components/digital-letna.vue
+++ b/src/front/src/components/digital-letna.vue
@@ -55,7 +55,7 @@
v-if="accountStore.user.is_staff"
v-model="changeData"
class="pl-3 d-flex justify-end"
- color="teal"
+ color="white"
@click="changeData=!changeData">
diff --git a/src/front/src/components/load-round.vue b/src/front/src/components/load-round.vue
index cbef63b34..898fc610c 100644
--- a/src/front/src/components/load-round.vue
+++ b/src/front/src/components/load-round.vue
@@ -120,7 +120,7 @@ export default {
axiosApiInstance.post(`api/general_vacation/dailyroundup/?excel=${ex}`, sdata).then(result => {
info.value = result.data['mess']
- console.log(info.value, '----------------result.data')
+
})
showInfo.value = true
dailyfiles.value = []
@@ -134,7 +134,7 @@ export default {
axiosApiInstance.get(`api/general_vacation/dailyload/?id=6`)
.then(data => {
- console.log(data.data);
+
t_dailyRound.value = data.data
})
diff --git a/src/front/src/components/news-crossroad.vue b/src/front/src/components/news-crossroad.vue
new file mode 100644
index 000000000..6740cc4a8
--- /dev/null
+++ b/src/front/src/components/news-crossroad.vue
@@ -0,0 +1,94 @@
+
+