Add modal window with vote result for Poslukhaev
This commit is contained in:
1 parent
b3b6c39227
commit
e17fa03bb6
2 files changed
+31
-18
No files matched your search
@@ -1,20 +1,24 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row class="d-flex flex-columns h-100">
|
<v-row class="h-100 justify-center align-center">
|
||||||
<v-col cols="6">
|
<v-card>
|
||||||
<v-col cols="12">
|
<v-col class=" d-flex flex-columns justify-center align-center">
|
||||||
<p>Голосование</p>
|
<v-col cols="6">
|
||||||
<p>«Мой коллега самый лучший«</p>
|
<v-card>
|
||||||
<hr />
|
<v-card-title>Голосование</v-card-title>
|
||||||
|
<v-card-title>«Мой коллега самый лучший»</v-card-title>
|
||||||
|
</v-card>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="6">
|
||||||
|
<v-card>
|
||||||
|
<v-card-title>Голосование</v-card-title>
|
||||||
|
<v-card-title>«Мой коллега самый лучший»</v-card-title>
|
||||||
|
</v-card>
|
||||||
|
</v-col>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-col>
|
</v-card>
|
||||||
<v-col cols="6">
|
|
||||||
<v-col cols="12">
|
|
||||||
<p>Голосование</p>
|
|
||||||
<p>«Хочу сказать Спасибо!«</p>
|
|
||||||
<hr />
|
|
||||||
</v-col>
|
|
||||||
</v-col>
|
|
||||||
</v-row>
|
</v-row>
|
||||||
</template>
|
</template>
|
||||||
<script></script>
|
<script>
|
||||||
|
import { ref } from "vue";
|
||||||
|
</script>
|
||||||
<style></style>
|
<style></style>
|
||||||
@@ -58,9 +58,16 @@
|
|||||||
<!-- Задняя сторона карточки КОНЕЦ-->
|
<!-- Задняя сторона карточки КОНЕЦ-->
|
||||||
</v-col>
|
</v-col>
|
||||||
<!-- Голосование Лучший сотрудник КОНЕЦ-->
|
<!-- Голосование Лучший сотрудник КОНЕЦ-->
|
||||||
<v-col v-if="admin_panel" justify="center" align="center">
|
<v-col cols="2" v-if="admin_panel" justify="center" align="center">
|
||||||
<v-btn variant="elevated" color="teal-darken-1">ИНФОРМАЦИЯ О ХОДЕ <br>
|
<v-dialog>
|
||||||
ГОЛОСОВАНИЯ</v-btn>
|
<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>
|
||||||
<!-- Голосование Спасибо -->
|
<!-- Голосование Спасибо -->
|
||||||
<v-col justify="center" align="center">
|
<v-col justify="center" align="center">
|
||||||
@@ -112,6 +119,7 @@ import { ref } from "vue";
|
|||||||
import VoteForm from '@/components/vote/VoteForm.vue';
|
import VoteForm from '@/components/vote/VoteForm.vue';
|
||||||
import PercBst from '@/components/vote/PercBst.vue';
|
import PercBst from '@/components/vote/PercBst.vue';
|
||||||
import PercThn from '@/components/vote/PercThn.vue';
|
import PercThn from '@/components/vote/PercThn.vue';
|
||||||
|
import VoteAdmin from '@/components/vote/VoteAdmin.vue';
|
||||||
import CountDown from '@/components/CountDown.vue';
|
import CountDown from '@/components/CountDown.vue';
|
||||||
import { useAccountStore } from '@/store/AccountStore';
|
import { useAccountStore } from '@/store/AccountStore';
|
||||||
let admin_panel = ref(false);
|
let admin_panel = ref(false);
|
||||||
@@ -124,6 +132,7 @@ export default {
|
|||||||
CountDown,
|
CountDown,
|
||||||
PercBst,
|
PercBst,
|
||||||
PercThn,
|
PercThn,
|
||||||
|
VoteAdmin,
|
||||||
},
|
},
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
|||||||
Reference in new issue
Block a user