From 4887ae9cb56d699826a35b27e293716728f8a136 Mon Sep 17 00:00:00 2001 From: Denzel Date: Fri, 10 Jan 2025 10:12:38 +0300 Subject: [PATCH] =?UTF-8?q?P-86=20=D0=B1=D0=B0=D0=B7=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D1=8F=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=82=D0=BA=D0=B0=20?= =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/src/router/index.js | 6 +- src/front/src/views/VoteConstructor.vue | 4 +- src/front/src/views/VoteHomePage.vue | 212 ++++++++++++++++++++++++ 3 files changed, 217 insertions(+), 5 deletions(-) create mode 100644 src/front/src/views/VoteHomePage.vue diff --git a/src/front/src/router/index.js b/src/front/src/router/index.js index 911823fd8..b48ed3f02 100644 --- a/src/front/src/router/index.js +++ b/src/front/src/router/index.js @@ -147,10 +147,10 @@ const routes = [ import("@/views/Vote.vue") }, { - path: "/voteconstructor", - name: "VoteConstructor", + path: "/votehomepage", + name: "VoteHomePage", component: () => - import("@/views/VoteConstructor.vue") + import("@/views/VoteHomePage.vue") }, ], }, diff --git a/src/front/src/views/VoteConstructor.vue b/src/front/src/views/VoteConstructor.vue index 5339cfe51..579741764 100644 --- a/src/front/src/views/VoteConstructor.vue +++ b/src/front/src/views/VoteConstructor.vue @@ -127,7 +127,8 @@ outlined >
+ class="d-flex align-center" + style="gap: 16px; margin-bottom: 8px;"> {{ findEmployeeById(person).fio }} + + + Голосования + + + + + + + + + + + + {{ voting.title }} + + Окончание: {{ formatDate(voting.endDate) }} + + + Осталось: {{ timeRemaining(voting.endDate) }} + + + + Проголосовать + + Вы уже проголосовали + + + + + + + + + + + + + + {{ voting.title }} + + Завершено: {{ formatDate(voting.endDate) }} + + + + Смотреть результаты + + + + + + + + + + + + + + + + + + Голосование: {{ selectedVoting?.title }} + +

Описание голосования...

+
+ + Проголосовать + Закрыть + +
+
+ + + + + Результаты голосования: {{ selectedVoting?.title }} + +

Здесь отображаются результаты голосования...

+
+ + Закрыть + +
+
+
+ + + + +