diff --git a/src/front/src/components/vote/VoteConstructor.vue b/src/front/src/components/vote/VoteConstructor.vue index 458e264f8..0460c5ee0 100644 --- a/src/front/src/components/vote/VoteConstructor.vue +++ b/src/front/src/components/vote/VoteConstructor.vue @@ -123,34 +123,96 @@
- - --> + + + + + + + + + + + - +
-{{ question.selectedEmployees }} - + density="compact" + @update:model-value="(selected)=>question.answers=question.answers.filter(e=>selected.includes(e.text))" + > + + + + + + + + + + + +
- - - {{ findEmployeeById(person.text)?.fio }} + + + + + + + @click="question.selectedEmployees.splice(ind,1); removeAnswer(index,ind)"> @@ -165,6 +227,7 @@ Далее + @@ -172,23 +235,31 @@ Подтверждение -

Название: {{ form.title }}

-

Описание: {{ form.description }}

-

Дата начала: {{ form.startDate.toLocaleDateString() }}

-

Дата окончания: {{ form.endDate.toLocaleDateString() }}

-

Вопросы:

-
    -
  • -

    Вопрос {{ index + 1 }}: {{ question.text }} ({{ question.type }})

    -
    -

    Варианты ответов:

    -
      -
    • - {{ answer.text }} + +

      Название: {{ form.title }}

      +

      Описание: {{ form.description }}

      +

      Дата начала: {{ form.startDate.toLocaleDateString() }}

      +

      Дата окончания: {{ form.endDate.toLocaleDateString() }}

      +

      Вопросы:

      + + +
      + +

      Вопрос {{ index + 1 }}: {{ question.text }} ({{ question.type }})

      + +
      +

      Варианты ответов:

      + + +
        +
      • + {{ answer.text }}
      -
      +
      +
      Количество допустимых ответов: {{ question.settings.multiChoice }}
      +
      Голосование по отделам: {{ onlyDepdict.find(e=>e.value===question.settings.onlyDep).name}}

      Выбранные сотрудники:

      • @@ -196,8 +267,9 @@
      -
    • -
    +
    + + Назад @@ -218,10 +290,11 @@