From 39cd38e187f9c3cb79540b177e45b48cff2f402c Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:59:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D1=80=D0=B8=D1=81=D0=BE=D0=B2?= =?UTF-8?q?=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/aboutportal/pattern-card.vue | 4 +- .../components/UI/aboutportal/rating-page.vue | 11 +- .../components/UI/aboutportal/top-user.vue | 108 +++++------------- src/front/src/views/AboutPortalPage.vue | 4 +- 4 files changed, 41 insertions(+), 86 deletions(-) diff --git a/src/front/src/components/UI/aboutportal/pattern-card.vue b/src/front/src/components/UI/aboutportal/pattern-card.vue index c9cfc0df5..6834134db 100644 --- a/src/front/src/components/UI/aboutportal/pattern-card.vue +++ b/src/front/src/components/UI/aboutportal/pattern-card.vue @@ -1,5 +1,5 @@ @@ -125,14 +132,14 @@ export default { const dessertHeaders = [ { title: '', - align: 'start', + align: '', sortable: false, key: 'user', }, - { title: 'Просмотры', align: 'start', key: 'info.count', maxWidth: '10' }, - { title: 'Сессии', align: 'start', key: 'info.session', maxWidth: '10' }, - { title: 'Страницы', align: 'start', key: 'info.pages', maxWidth: '10' }, + { title: 'просмотры', align: 'start', key: 'info.count', maxWidth: '10' }, + { title: 'сессии', align: 'start', key: 'info.session', maxWidth: '10' }, + { title: 'страницы', align: 'start', key: 'info.pages', maxWidth: '10' }, ] @@ -155,59 +162,6 @@ export default { ] - const desserts = [ - - - { - user: { - login: "9966-00-001", - post: "Начальник инспекции", - fio: "Толоко Б.Б." - }, - info: { - count: 253, - session: 4, - pages: 5 - }, - tooltip: [ - { - namepages: "О портале", - count: 241, - unic: 3 - }], - - }, - { - 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 - }, - ], - - }, - - - - - ] - @@ -223,14 +177,6 @@ export default { else return 'red' } - const perpage = - [ - {value: 10, title: '10'}, - {value: 25, title: '25'}, - {value: 50, title: '50'}, - {value: 100, title: '100'}, - {value: -1, title: 'лох'} -] return { @@ -238,11 +184,11 @@ export default { spravURL, expanded, dessertHeaders, - desserts, + subtable, getColor, getColor2, - perpage + } } } @@ -252,4 +198,12 @@ export default { .subtable .v-data-table-footer { display: none } + +.subtable tbody { + text-align: start!important; +} + +.table_top_user .v-data-table__td { + padding: 0!important; +} \ No newline at end of file diff --git a/src/front/src/views/AboutPortalPage.vue b/src/front/src/views/AboutPortalPage.vue index 000c7d34c..27d8e3963 100644 --- a/src/front/src/views/AboutPortalPage.vue +++ b/src/front/src/views/AboutPortalPage.vue @@ -23,7 +23,7 @@ - + @@ -42,7 +42,7 @@ /> - +