teststart
This commit is contained in:
1 parent
27e08b59e5
commit
ebbf695dbf
4 files changed
+46
No files matched your search
@@ -336,6 +336,11 @@ export default {
|
||||
ico: "mdi-vote",
|
||||
path: "/vote",
|
||||
},
|
||||
{
|
||||
name: "Тестирование",
|
||||
ico: "mdi-book-open-blank-variant",
|
||||
path: "/test",
|
||||
},
|
||||
|
||||
{
|
||||
name: "Об инспекции",
|
||||
|
||||
@@ -167,6 +167,21 @@ const routes = [
|
||||
component: () =>
|
||||
import("@/views/VoteHomePage.vue")
|
||||
},
|
||||
{
|
||||
path: "/test",
|
||||
name: "TestPage",
|
||||
component: () =>
|
||||
import("@/views/TestHomePage.vue"),
|
||||
meta: {
|
||||
title: "Тестирование",
|
||||
ico: "mdi-account",
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{
|
||||
path: '/secret',
|
||||
name: 'Secret Page',
|
||||
|
||||
@@ -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>
|
||||
@@ -68,11 +68,14 @@ import VoteResult from "@/components/vote/VoteResult.vue";
|
||||
import {deleteVote, getVoteDetail, getVoteResult, getVotes} from "@/utils/axios-api";
|
||||
import {formatDate} from "@vueuse/shared";
|
||||
import { useAccountStore } from "@/store/AccountStore";
|
||||
import {pagecounter} from '@/utils/universal_functions'
|
||||
|
||||
export default {
|
||||
methods: {formatDate},
|
||||
|
||||
components: {CurrentVote, VoteConstructor, VoteCardVue, VoteResult},
|
||||
setup() {
|
||||
pagecounter()
|
||||
const accountStore = useAccountStore();
|
||||
const tabs = [
|
||||
{value: "active", text: 'Текущие голосования'},
|
||||
|
||||
Reference in new issue
Block a user