diff --git a/src/front/src/components/vote/VoteConstructor.vue b/src/front/src/components/vote/VoteConstructor.vue index 2110dcb84..835be72cc 100644 --- a/src/front/src/components/vote/VoteConstructor.vue +++ b/src/front/src/components/vote/VoteConstructor.vue @@ -25,58 +25,54 @@ - - + + - - - mdi-calendar-clock - - + + + + + + + - - - - - - mdi-calendar-clock - - + начало {{ form.startDate }} + окончание {{ form.endDate }} @@ -95,92 +91,92 @@ mdi-delete - - - - - - - mdi-delete - - - Добавить ответ - - - - - {{ findEmployeeById(person).fio }} - - - mdi-delete - - - - + + + + + + + mdi-delete + + + Добавить ответ + + + + + {{ findEmployeeById(person).fio }} + + + mdi-delete + + + + Добавить вопрос @@ -216,8 +212,8 @@ Выбранные сотрудники: {{ findEmployeeById(employeeId).fio }} @@ -230,7 +226,7 @@ Назад Сохранить - + {{ errorMessage }} @@ -243,8 +239,8 @@ diff --git a/src/front/src/utils/axios-api.js b/src/front/src/utils/axios-api.js index d14a6a835..22db34b8e 100644 --- a/src/front/src/utils/axios-api.js +++ b/src/front/src/utils/axios-api.js @@ -93,22 +93,6 @@ async function getVotes(status) { } } -// getVotes('completed') -// .then(data => { -// console.log('Завершённые голосования:', data); -// }) -// .catch(err => { -// console.error('Ошибка:', err); -// }); - -// getVotes('active') -// .then(data => { -// console.log('Активные голосования:', data); -// }) -// .catch(err => { -// console.error('Ошибка:', err); -// }); - async function createVote(voteData, files) { try { const formData = new FormData();
начало {{ form.startDate }}
окончание {{ form.endDate }}
Выбранные сотрудники: