From d94754e99b7e0984a8a42c362806cfa13d76f2e9 Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:03:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=20=D1=81=D0=BE=D0=BE=D1=82=D0=B2=D0=B5=D1=82=20?= =?UTF-8?q?=D1=81=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/src/views/AboutPortalPage.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/front/src/views/AboutPortalPage.vue b/src/front/src/views/AboutPortalPage.vue index 94df32de5..04ed8a6c5 100644 --- a/src/front/src/views/AboutPortalPage.vue +++ b/src/front/src/views/AboutPortalPage.vue @@ -34,12 +34,14 @@ + {{periodname()}} + Посетителей сегодня: {{ countvising['now'] }} @@ -331,7 +333,6 @@ setup(){ const returnstart = (dates) => { - console.log(dates, 'datesdates'); startdate.value = dates visition() } @@ -349,6 +350,13 @@ setup(){ pagecounter() + const periodname = () => { + return [ + {now: ['Посетителей сегодня:', countvising.value['now']]}, + ] + } + + const countgrupp = () => { let us = {} let countall = {now: 0, week: 0, year: 0} @@ -475,7 +483,8 @@ setup(){ returnend, endate, startdate, - icons + icons, + periodname } }