Add modal window with vote result for Poslukhaev

This commit is contained in:
Andrei Filippov committed 2024-10-23 17:07:21 +03:00
1 parent b3b6c39227
commit e17fa03bb6
2 files changed
+31 -18

No files matched your search

+12 -3
View File
@@ -58,9 +58,16 @@
<!-- Задняя сторона карточки КОНЕЦ-->
</v-col>
<!-- Голосование Лучший сотрудник КОНЕЦ-->
<v-col v-if="admin_panel" justify="center" align="center">
<v-btn variant="elevated" color="teal-darken-1">ИНФОРМАЦИЯ О ХОДЕ <br>
ГОЛОСОВАНИЯ</v-btn>
<v-col cols="2" v-if="admin_panel" justify="center" align="center">
<v-dialog>
<template v-slot:activator="{ props: VoteAdmin }">
<v-btn variant="elevated" v-bind="VoteAdmin" color="teal-darken-1">ИНФОРМАЦИЯ О ХОДЕ <br>
ГОЛОСОВАНИЯ</v-btn>
</template>
<template v-slot:default="{ isActive }">
<vote-admin />
</template>
</v-dialog>
</v-col>
<!-- Голосование Спасибо -->
<v-col justify="center" align="center">
@@ -112,6 +119,7 @@ import { ref } from "vue";
import VoteForm from '@/components/vote/VoteForm.vue';
import PercBst from '@/components/vote/PercBst.vue';
import PercThn from '@/components/vote/PercThn.vue';
import VoteAdmin from '@/components/vote/VoteAdmin.vue';
import CountDown from '@/components/CountDown.vue';
import { useAccountStore } from '@/store/AccountStore';
let admin_panel = ref(false);
@@ -124,6 +132,7 @@ export default {
CountDown,
PercBst,
PercThn,
VoteAdmin,
},
setup() {