Названия в соответ с фильтром

This commit is contained in:
iriska-gri committed 2024-01-17 17:03:06 +03:00
1 parent ba495b7efe
commit d94754e99b
1 file changed
+11 -2
+11 -2
View File
@@ -34,12 +34,14 @@
<v-row no-gutters class="gap"> <v-row no-gutters class="gap">
<v-col lg=3> <v-col lg=3>
{{periodname()}}
<v-card <v-card
class="text-center" class="text-center"
title="Количество посещений" title="Количество посещений"
height="200px" height="200px"
> >
<v-list class="text-start text-subtitle-1"> <v-list class="text-start text-subtitle-1">
<v-list-item> <v-list-item>
Посетителей сегодня: {{ countvising['now'] }} Посетителей сегодня: {{ countvising['now'] }}
</v-list-item> </v-list-item>
@@ -331,7 +333,6 @@ setup(){
const returnstart = (dates) => { const returnstart = (dates) => {
console.log(dates, 'datesdates');
startdate.value = dates startdate.value = dates
visition() visition()
} }
@@ -349,6 +350,13 @@ setup(){
pagecounter() pagecounter()
const periodname = () => {
return [
{now: ['Посетителей сегодня:', countvising.value['now']]},
]
}
const countgrupp = () => { const countgrupp = () => {
let us = {} let us = {}
let countall = {now: 0, week: 0, year: 0} let countall = {now: 0, week: 0, year: 0}
@@ -475,7 +483,8 @@ setup(){
returnend, returnend,
endate, endate,
startdate, startdate,
icons icons,
periodname
} }
} }