Merge branch 'dev-denzel' into develop
This commit is contained in:
commit
0c00f56be6
1 file changed
+29
-9
@@ -10,9 +10,9 @@
|
||||
<template v-if="shouldShowTooltip(question.name || 'Без названия', 10)">
|
||||
<v-tooltip bottom>
|
||||
<template v-slot:activator="{ props }">
|
||||
<span v-bind="props">
|
||||
{{ truncateText(question.name || 'Без названия', 10) }}
|
||||
</span>
|
||||
<span v-bind="props">
|
||||
{{ truncateText(question.name || 'Без названия', 10) }}
|
||||
</span>
|
||||
</template>
|
||||
<span>{{ question.name || 'Без названия' }}</span>
|
||||
</v-tooltip>
|
||||
@@ -21,6 +21,7 @@
|
||||
<span>{{ truncateText(question.name || 'Без названия', 10) }}</span>
|
||||
</template>
|
||||
</v-tab>
|
||||
<v-tab>Не голосовали</v-tab>
|
||||
</v-tabs>
|
||||
|
||||
<v-tabs-window v-model="activeTab">
|
||||
@@ -46,9 +47,15 @@
|
||||
:key="answerIndex"
|
||||
>
|
||||
<p>
|
||||
<v-avatar class="cursor-pointer" v-if="answer.file === null && answer.employee" @click.stop="opendialog(checkremote(`${spravURL()}${answer.employee.login}.jpg`))" :image="checkremote(`${spravURL()}${answer.employee.login}.jpg`)" />
|
||||
<v-avatar class="cursor-pointer" v-if="answer.file !== null" @click.stop="opendialog(answer)" :image="baseURL.slice(0, -1) + answer.file" />
|
||||
<strong class="ml-4">{{ answer.employee ? answer.employee.fio : answer.name }}</strong>: {{ answer.count }}
|
||||
<v-avatar v-if="answer.file === null && answer.employee"
|
||||
:image="checkremote(`${spravURL()}${answer.employee.login}.jpg`)"
|
||||
class="cursor-pointer"
|
||||
@click.stop="opendialog(checkremote(`${spravURL()}${answer.employee.login}.jpg`))"/>
|
||||
<v-avatar v-if="answer.file !== null" :image="baseURL.slice(0, -1) + answer.file"
|
||||
class="cursor-pointer"
|
||||
@click.stop="opendialog(answer)"/>
|
||||
<strong class="ml-4">{{ answer.employee ? answer.employee.fio : answer.name }}</strong>:
|
||||
{{ answer.count }}
|
||||
{{ voteCount(answer.count) }}
|
||||
<template v-if="answer.employee">
|
||||
<br/>
|
||||
@@ -59,10 +66,10 @@
|
||||
</p>
|
||||
<v-progress-linear
|
||||
:model-value="getPercentage(answer.count, question)"
|
||||
height="10"
|
||||
color="teal-darken-4"
|
||||
striped
|
||||
height="10"
|
||||
rounded
|
||||
striped
|
||||
/>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
@@ -71,6 +78,18 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-tabs-window-item>
|
||||
<!-- Не голосовали -->
|
||||
<!-- <v-tabs-window-item v-for="(question, questionIndex) in questions" :key="questionIndex">-->
|
||||
<!-- <v-card-title class="text-red-darken-3">Не голосовали:</v-card-title>-->
|
||||
<!-- <v-list style="max-height: 40vh; overflow-y: auto;">-->
|
||||
<!-- <v-list-item-->
|
||||
<!-- v-for="(answer, answerIndex) in getTopResults(question)"-->
|
||||
<!-- :key="answerIndex"-->
|
||||
<!-- >-->
|
||||
<!-- {{answer.employee.fio}}-->
|
||||
<!-- </v-list-item>-->
|
||||
<!-- </v-list>-->
|
||||
<!-- </v-tabs-window-item>-->
|
||||
</v-tabs-window>
|
||||
</v-container>
|
||||
|
||||
@@ -87,7 +106,8 @@
|
||||
|
||||
</v-card-title>
|
||||
<v-card-item>
|
||||
<v-img :src="activepick.file !== undefined ? baseURL.slice(0, -1) + activepick.file : activepick" max-height="600"></v-img>
|
||||
<v-img :src="activepick.file !== undefined ? baseURL.slice(0, -1) + activepick.file : activepick"
|
||||
max-height="600"></v-img>
|
||||
</v-card-item>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
|
||||
Reference in new issue
Block a user