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 }} + +

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

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