diff --git a/db.sqlite3 b/db.sqlite3 index 74147d797..c24f71e55 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/front/src/router/index.js b/front/src/router/index.js index d41091178..7a4dbb057 100644 --- a/front/src/router/index.js +++ b/front/src/router/index.js @@ -26,42 +26,65 @@ const routes = [ path: '/providing', name: 'ProvidingActivitiesPage', component: () => import('@/views/ProvidingActivitiesPage.vue'), + meta:{ + title:"Обеспечивающая деятельность" + } }, { path: '/faq', name: 'FAQPage', component: () => import('@/views/FAQPage.vue'), - + meta:{ + title:"Часто задаваемые вопросы" + } }, { path: '/feedback', name: 'FeedbackPage', component: () => import('@/views/FeedbackPage.vue'), + meta:{ + title:"Обратная связь" + } }, { path: '/labor', name: 'LaborProtection', component: () => import('@/views/LaborProtection.vue'), + meta:{ + title:"Безопасность" + } }, { path: '/securyty', name: 'SecurityPage', component: () => import('@/views/SecurityPage.vue'), + meta:{ + title:"Охрана труда" + } }, { path: '/inspection', name: 'AboutInspectionPage', component: () => import('@/views/AboutInspectionPage.vue'), + meta:{ + title:"Об инспекции" + } }, { path: '/portal', name: 'AboutPortalPage', component: () => import('@/views/AboutPortalPage.vue'), + meta:{ + title:"О портале" + } }, { path: '/news', name: 'AboutNewsPage', component: () => import('@/views/NewsPage.vue'), + meta:{ + title:"Лента новостей" + } }, ], }, diff --git a/front/src/utils/universal_functions.js b/front/src/utils/universal_functions.js index 4f27be6a4..8b03caf31 100644 --- a/front/src/utils/universal_functions.js +++ b/front/src/utils/universal_functions.js @@ -38,17 +38,12 @@ export function checkremote(filecheck){ - - - export default str; - - export function pagecounter(){ - console.log('Загружаю данные для циферок по количеству'); + const router = useRouter() const accountStore = useAccountStore() const appStore = useAppStore() diff --git a/front/src/views/AboutInspectionPage.vue b/front/src/views/AboutInspectionPage.vue index 1c9785108..f8992a346 100644 --- a/front/src/views/AboutInspectionPage.vue +++ b/front/src/views/AboutInspectionPage.vue @@ -9,8 +9,11 @@ diff --git a/front/src/views/AboutPortalPage.vue b/front/src/views/AboutPortalPage.vue index 144e97587..2a7a8d3fe 100644 --- a/front/src/views/AboutPortalPage.vue +++ b/front/src/views/AboutPortalPage.vue @@ -5,10 +5,55 @@ - О портале - +{{visiting}} + + + + + Страница + + + Количество посещений + + + + + + {{ item.page }} + {{ item.count__sum }} + + + + + + + + + + Страница + + + Количество посещений + + + + + + {{ item.user__username }} + {{ item.page }} + {{ item.count__sum }} + + + + @@ -17,9 +62,29 @@