w
This commit is contained in:
1 parent
03fde14c11
commit
e544c5e47f
2 files changed
+6
-7
No files matched your search
@@ -62,6 +62,7 @@
|
|||||||
:disabled="result[question.id]?.length >= question.settings.multiChoice && !result[question.id]?.includes(answer.id)"
|
:disabled="result[question.id]?.length >= question.settings.multiChoice && !result[question.id]?.includes(answer.id)"
|
||||||
density="compact">
|
density="compact">
|
||||||
{{ answer.employee?.fio || answer.name }}
|
{{ answer.employee?.fio || answer.name }}
|
||||||
|
|
||||||
<template v-slot:prepend="{ isSelected }">
|
<template v-slot:prepend="{ isSelected }">
|
||||||
<v-list-item-action start>
|
<v-list-item-action start>
|
||||||
<v-checkbox-btn :model-value="isSelected"></v-checkbox-btn>
|
<v-checkbox-btn :model-value="isSelected"></v-checkbox-btn>
|
||||||
@@ -148,15 +149,11 @@ import {useAccountStore} from "@/store/AccountStore";
|
|||||||
import {checkremote} from "@/utils/universal_functions";
|
import {checkremote} from "@/utils/universal_functions";
|
||||||
import VoteAnimation from "@/components/vote/VoteAnimation.vue";
|
import VoteAnimation from "@/components/vote/VoteAnimation.vue";
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CurrentVote',
|
name: 'CurrentVote',
|
||||||
components: {VoteAnimation},
|
components: {VoteAnimation},
|
||||||
methods: {
|
|
||||||
checkremote,
|
|
||||||
spravURL() {
|
|
||||||
return spravURL
|
|
||||||
}
|
|
||||||
},
|
|
||||||
emits: ['closer'],
|
emits: ['closer'],
|
||||||
props: {
|
props: {
|
||||||
data: {
|
data: {
|
||||||
@@ -255,6 +252,8 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
spravURL,
|
||||||
|
checkremote,
|
||||||
groupedAnswers,
|
groupedAnswers,
|
||||||
activepick,
|
activepick,
|
||||||
opendialog,
|
opendialog,
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export function checkremote(filecheck) {
|
|||||||
export default str;
|
export default str;
|
||||||
|
|
||||||
export function splitname(name) {
|
export function splitname(name) {
|
||||||
//
|
|
||||||
return name.familyname + " " + name.name[0] + "." + name.parentname[0] + ".";
|
return name.familyname + " " + name.name[0] + "." + name.parentname[0] + ".";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user