This commit is contained in:
iriska-gri committed 2024-02-02 09:40:52 +03:00
1 parent cddd9a9982
commit 4db0660712
2 files changed
+16 -3

No files matched your search

@@ -2,7 +2,7 @@
<v-card <v-card
class="mx-auto" height="150px" class="mx-auto" height="150px"
> >
<v-card-text class="text-h5 pa-2 pl-5 flex-wrap align-center d-flex justify-space-between"> <!-- <v-card-text class="text-h5 pa-2 pl-5 flex-wrap align-center d-flex justify-space-between">
{{name}} {{name}}
<v-icon <v-icon
@@ -34,7 +34,7 @@
</v-col> </v-col>
</v-row> </v-row>
</v-card-text> </v-card-text> -->
</v-card> </v-card>
</template> </template>
@@ -48,6 +48,8 @@ export default {
components: { listUser }, components: { listUser },
props: { props: {
name: { name: {
type: String, type: String,
default: '' default: ''
+12 -1
View File
@@ -20,7 +20,15 @@
<v-col lg=5 class="bg-red d-flex flex-column"> <v-col lg=5 class="bg-red d-flex flex-column">
<rating-page :pages_count=pages_count /> <rating-page :pages_count=pages_count />
</v-col> </v-col>
<v-col class="bg-yellow">3 </v-col> <v-col class="bg-yellow">
<!-- :users="val"
:ico="icons[Object.keys(activuser()).indexOf(key)]"
name="Активность" -->
<top-user
/>
<!-- {{dataActivusers}} -->
</v-col>
<v-col class="bg-red">4 </v-col> <v-col class="bg-red">4 </v-col>
</v-row> </v-row>
</v-col> </v-col>
@@ -209,6 +217,7 @@ setup(){
const feedback = ref([]) const feedback = ref([])
const staff = ref(0) const staff = ref(0)
const dataLineChart = ref({}) const dataLineChart = ref({})
const dataActivusers = ref({})
const previous = ref({start: new Date(), end: new Date()}) const previous = ref({start: new Date(), end: new Date()})
const selected_days = ref({today: 'сегодня', year: {start: new Date(), end: new Date()}}) const selected_days = ref({today: 'сегодня', year: {start: new Date(), end: new Date()}})
@@ -325,6 +334,7 @@ setup(){
} }
dataLineChart.value = lineCharts dataLineChart.value = lineCharts
dataActivusers.value = activusers
return acc return acc
}, {}) }, {})
@@ -361,6 +371,7 @@ setup(){
pages_count, pages_count,
visitionreduce, visitionreduce,
dataLineChart, dataLineChart,
dataActivusers,
previous, previous,
format1, format1,
selected_days selected_days