From 3089ecc28939b7ed4e6b4787d512efd6242c52d4 Mon Sep 17 00:00:00 2001
From: iriska-gri <79623434+iriska-gri@users.noreply.github.com>
Date: Tue, 6 Feb 2024 14:51:52 +0300
Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D1=82=D0=B0=D0=B1=D0=BB?=
=?UTF-8?q?=D0=B8=D1=86=D0=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/UI/aboutportal/top-user.vue | 39 +++++++++++++------
1 file changed, 28 insertions(+), 11 deletions(-)
diff --git a/src/front/src/components/UI/aboutportal/top-user.vue b/src/front/src/components/UI/aboutportal/top-user.vue
index 5672b062b..ee193057f 100644
--- a/src/front/src/components/UI/aboutportal/top-user.vue
+++ b/src/front/src/components/UI/aboutportal/top-user.vue
@@ -1,5 +1,5 @@
-
+
@@ -18,11 +18,7 @@
Самые активные пользователи
-
@@ -42,6 +38,7 @@
items-per-page=-1
class="subtable"
density="compact"
+ :sort-by="[{ key: 'tooltip.count', order: 'desc' }]"
>
@@ -110,9 +107,9 @@ export default {
key: 'user.fio',
},
- { title: 'Просмотры', key: 'info.count' },
- { title: 'Сессии', key: 'info.session' },
- { title: 'Страницы', key: 'info.pages' },
+ { title: 'Просмотры', align: 'end', key: 'info.count' },
+ { title: 'Сессии', align: 'end', key: 'info.session' },
+ { title: 'Страницы', align: 'end', key: 'info.pages' },
]
@@ -124,8 +121,8 @@ export default {
sortable: false,
key: 'namepages',
},
- { title: 'Всего', key: 'count' },
- { title: 'Уникальных', key: 'unic' },
+ { title: 'Всего', align: 'end', key: 'count' },
+ { title: 'Уникальных', align: 'center', key: 'unic' },
]
@@ -177,7 +174,27 @@ export default {
],
},
-
+ // { id:2,
+ // user: {
+ // login: "9966-00-107",
+ // post: "Старший специалист 1 разряда",
+ // fio: "Гришина И.С."
+ // },
+ // info: {
+ // count: 6010,
+ // session: 21,
+ // pages: 56
+ // },
+ // tooltip: [{
+ // namepages: "О портале",
+ // count: 241,
+ // unic: 3
+ // },
+ // { namepages: "Портал МИ ФНС России по ЦОД №2",
+ // count: 120,
+ // unic: 27
+ // }]
+
]