teststart

This commit is contained in:
Nukeap committed 2025-01-23 13:26:45 +03:00
1 parent 27e08b59e5
commit ebbf695dbf
4 files changed
+46

No files matched your search

@@ -336,6 +336,11 @@ export default {
ico: "mdi-vote", ico: "mdi-vote",
path: "/vote", path: "/vote",
}, },
{
name: "Тестирование",
ico: "mdi-book-open-blank-variant",
path: "/test",
},
{ {
name: "Об инспекции", name: "Об инспекции",
+15
View File
@@ -167,6 +167,21 @@ const routes = [
component: () => component: () =>
import("@/views/VoteHomePage.vue") import("@/views/VoteHomePage.vue")
}, },
{
path: "/test",
name: "TestPage",
component: () =>
import("@/views/TestHomePage.vue"),
meta: {
title: "Тестирование",
ico: "mdi-account",
},
},
{ {
path: '/secret', path: '/secret',
name: 'Secret Page', name: 'Secret Page',
+23
View File
@@ -0,0 +1,23 @@
<template>
<v-row>
<v-col
class="text-h6 text-grey text-center align-self-center text--lighten-1 font-weight-light"
>
Тестирование
</v-col>
</v-row>
</template>
<script>
import {pagecounter} from '@/utils/universal_functions'
export default {
setup(){
pagecounter()
}
}
</script>
<style>
</style>
+3
View File
@@ -68,11 +68,14 @@ import VoteResult from "@/components/vote/VoteResult.vue";
import {deleteVote, getVoteDetail, getVoteResult, getVotes} from "@/utils/axios-api"; import {deleteVote, getVoteDetail, getVoteResult, getVotes} from "@/utils/axios-api";
import {formatDate} from "@vueuse/shared"; import {formatDate} from "@vueuse/shared";
import { useAccountStore } from "@/store/AccountStore"; import { useAccountStore } from "@/store/AccountStore";
import {pagecounter} from '@/utils/universal_functions'
export default { export default {
methods: {formatDate}, methods: {formatDate},
components: {CurrentVote, VoteConstructor, VoteCardVue, VoteResult}, components: {CurrentVote, VoteConstructor, VoteCardVue, VoteResult},
setup() { setup() {
pagecounter()
const accountStore = useAccountStore(); const accountStore = useAccountStore();
const tabs = [ const tabs = [
{value: "active", text: 'Текущие голосования'}, {value: "active", text: 'Текущие голосования'},