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