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 @@ /> - +