diff --git a/src/back/vote/urls.py b/src/back/vote/urls.py
index 73afc3d30..2ccb7d85d 100644
--- a/src/back/vote/urls.py
+++ b/src/back/vote/urls.py
@@ -9,4 +9,6 @@ urlpatterns = [
path('getthanks/', GetThanks.as_view(), name=''),
path('setbest/', SetBest.as_view(), name=''),
path('getbest/', GetBest.as_view(), name=''),
+ path('getnotvotethn/', GetNotVoteThn.as_view()),
+ path('getnotvotebst/', GetNotVoteBst.as_view()),
]
diff --git a/src/back/vote/views.py b/src/back/vote/views.py
index 50b5d9860..158ce2547 100644
--- a/src/back/vote/views.py
+++ b/src/back/vote/views.py
@@ -66,3 +66,19 @@ class GetBest(APIView):
count_bests = BestVote.objects.values(
'cand_name').annotate(total=Count('id'))
return Response(count_bests)
+
+
+class GetNotVoteThn(APIView):
+ def get(self, request):
+ list_thn_users = ThanksVote.objects.values('voted_user')
+ list_emp = DictEmployee.objects.filter(
+ deleted=0).exclude(login__in=list_thn_users)
+ return Response(GetEmpSerializer(list_emp, many=True).data)
+
+
+class GetNotVoteBst(APIView):
+ def get(self, request):
+ list_bst_users = BestVote.objects.values('voted_user')
+ list_emp_bst = DictEmployee.objects.filter(
+ deleted=0).exclude(login__in=list_bst_users)
+ return Response(GetEmpSerializer(list_emp_bst, many=True).data)
diff --git a/src/front/src/components/vote/VoteAdmin.vue b/src/front/src/components/vote/VoteAdmin.vue
index d85e73d94..a1f5629d9 100644
--- a/src/front/src/components/vote/VoteAdmin.vue
+++ b/src/front/src/components/vote/VoteAdmin.vue
@@ -14,14 +14,6 @@
88
-
- ФИО не участвовавших в голосовании
-
-
-
- ФИО
-
-
Лидер номинации
@@ -30,6 +22,20 @@
ФИО
+
+ ФИО не участвовавших в голосовании
+
+
+
+
+ {{ key }}
+
+ {{ item_fio.fio }}
+
+
+
+
+
@@ -43,35 +49,97 @@
- 88
-
-
-
- ФИО не участвовавших в голосовании
-
-
-
- ФИО
+
Лидер номинации
-
- ФИО
-
+
+ {{ leader }}
+
+
+ ФИО не участвовавших в голосовании
+
+
+
+ {{ key }}
+
+ {{ item_fio.fio }}
+
+
+
+
\ No newline at end of file
diff --git a/src/front/src/views/Vote.vue b/src/front/src/views/Vote.vue
index e103fe3a6..a7eeb92fe 100644
--- a/src/front/src/views/Vote.vue
+++ b/src/front/src/views/Vote.vue
@@ -161,7 +161,6 @@ export default {
if (account_login == '9966-00-011') {
admin_panel = true;
- console.log(admin_panel);
}
return {