реф результатов
This commit is contained in:
1 parent
12150e738a
commit
59eb528db8
2 files changed
+5
-4
No files matched your search
@@ -35,7 +35,10 @@
|
|||||||
v-for="(winner, department) in getWinnersByDepartment(question).winnersByDepartment"
|
v-for="(winner, department) in getWinnersByDepartment(question).winnersByDepartment"
|
||||||
:key="department"
|
:key="department"
|
||||||
>
|
>
|
||||||
<v-card class="cursor-pointer" @click="opendialogWinn(department, getWinnersByDepartment(question).groupedByDepartment[department])" style="max-height: 50vh; overflow-y: auto;">
|
<v-card
|
||||||
|
class="cursor-pointer"
|
||||||
|
@click="opendialogWinn(department, getWinnersByDepartment(question).groupedByDepartment[department])"
|
||||||
|
style="max-height: 50vh; overflow-y: auto;">
|
||||||
<v-card-title>
|
<v-card-title>
|
||||||
<strong class="text-teal-darken-4">{{ department }}</strong>
|
<strong class="text-teal-darken-4">{{ department }}</strong>
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
@@ -181,6 +184,7 @@
|
|||||||
@click.stop="opendialog(answer)"/>
|
@click.stop="opendialog(answer)"/>
|
||||||
<strong class="ml-4">{{ answer.employee ? answer.employee.fio : answer.name }}</strong>:
|
<strong class="ml-4">{{ answer.employee ? answer.employee.fio : answer.name }}</strong>:
|
||||||
{{ answer.count }}
|
{{ answer.count }}
|
||||||
|
{{ voteCount(answer.count) }}
|
||||||
<template v-if="answer.employee">
|
<template v-if="answer.employee">
|
||||||
<br/>
|
<br/>
|
||||||
<small>Отдел: {{ answer.employee ? answer.employee.department : '' }}</small>
|
<small>Отдел: {{ answer.employee ? answer.employee.department : '' }}</small>
|
||||||
|
|||||||
@@ -49,9 +49,6 @@
|
|||||||
<v-dialog v-model="resultsModal" max-width="1200px" @click:outside="closeModal">
|
<v-dialog v-model="resultsModal" max-width="1200px" @click:outside="closeModal">
|
||||||
<v-card>
|
<v-card>
|
||||||
<VoteResult :data="result" @closer="closeModal" />
|
<VoteResult :data="result" @closer="closeModal" />
|
||||||
<v-card-actions>
|
|
||||||
<v-btn @click="closeModal">Закрыть</v-btn>
|
|
||||||
</v-card-actions>
|
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|||||||
Reference in new issue
Block a user