From 98715ab87f61455e77c66463667d9a0532c38bb8 Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:43:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=BD?= =?UTF-8?q?=D0=BE=D1=80=D0=BC=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=20=D0=BE=D1=82?= =?UTF-8?q?=D1=80=D0=B8=D1=81=D0=BE=D0=B2=D0=B0=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/UI/aboutportal/feedmodul.vue | 6 +--- .../components/UI/aboutportal/top-user.vue | 29 +++++++++++-------- src/front/src/views/AboutPortalPage.vue | 19 +++++++----- 3 files changed, 30 insertions(+), 24 deletions(-) diff --git a/src/front/src/components/UI/aboutportal/feedmodul.vue b/src/front/src/components/UI/aboutportal/feedmodul.vue index 72cd255a9..4d4a15f26 100644 --- a/src/front/src/components/UI/aboutportal/feedmodul.vue +++ b/src/front/src/components/UI/aboutportal/feedmodul.vue @@ -21,17 +21,13 @@ - - -{{total}} - {{crit}} - diff --git a/src/front/src/components/UI/aboutportal/top-user.vue b/src/front/src/components/UI/aboutportal/top-user.vue index 2bcd6ecef..e2c50f754 100644 --- a/src/front/src/components/UI/aboutportal/top-user.vue +++ b/src/front/src/components/UI/aboutportal/top-user.vue @@ -26,10 +26,10 @@ - + {{users.count}} @@ -44,26 +44,31 @@ import { spravURL } from '@/utils/axios-api' import {checkremote} from '@/utils/universal_functions' export default { + props: { name: { type: String, default: '' }, - users: { - type: Object, - default: {} - }, - }, + + users: { + type: Object, + default: {} + }, + + ico: { + type: String, + default: 'mdi-emoticon-poop' + } + }, setup() { - return { + return { checkremote, spravURL, } -} - - + } } diff --git a/src/front/src/views/AboutPortalPage.vue b/src/front/src/views/AboutPortalPage.vue index 7b28ff3be..6b8ed2a0c 100644 --- a/src/front/src/views/AboutPortalPage.vue +++ b/src/front/src/views/AboutPortalPage.vue @@ -48,7 +48,7 @@ @@ -75,13 +75,16 @@ - + - +
- - + +
@@ -136,6 +139,7 @@ setup(){ const crit = ref([]) const startdate =ref(moment(new Date(new Date().getFullYear(), 0, 1)).format('YYYY-MM-DD')) const endate =ref(moment(new Date(new Date().getFullYear(), 11, 31)).format('YYYY-MM-DD')) + const icons = ['mdi-numeric-1-box-outline', 'mdi-numeric-2-box-outline', 'mdi-numeric-3-box-outline'] const arrlines = {} @@ -308,7 +312,7 @@ setup(){ const groupedData = visiting.value.reduce((acc, item) => { - if (Object.keys(acc).length <4) { + if (Object.keys(acc).length <3) { @@ -363,7 +367,8 @@ setup(){ returnstart, returnend, endate, - startdate + startdate, + icons } }