Merge branch 'develop'
This commit is contained in:
commit
6879f33696
5 files changed
+16
-9
No files matched your search
@@ -12,7 +12,7 @@ from .serializers import *
|
||||
class GetForThn(APIView):
|
||||
def get(self, request):
|
||||
user_login = request.GET.get('login')
|
||||
all_emps = DictEmplyeeR.objects.exclude(id_dict_employee__login=user_login).exclude(id_dict_employee__post='Начальник инспекции').exclude(id_dict_employee__deleted=1).order_by('id_dict_employee__fio')
|
||||
all_emps = DictEmplyeeR.objects.exclude(id_dict_employee__login=user_login).exclude(id_dict_employee__department='Руководство').exclude(id_dict_employee__deleted=1).order_by('id_dict_employee__fio')
|
||||
return Response(GetEmpSerializerR(all_emps, many=True).data)
|
||||
|
||||
|
||||
@@ -20,8 +20,7 @@ class GetForBst(APIView):
|
||||
def get(self, request):
|
||||
user_login = request.GET.get('login')
|
||||
dep_id = request.GET.get('dep')
|
||||
emp_user = DictEmplyeeR.objects.filter(Q(id_dict_department=dep_id), ~Q(
|
||||
id_dict_employee__post="Начальник отдела"), ~Q(id_dict_employee__login=user_login)).exclude(id_dict_employee__deleted=1).order_by('id_dict_employee__fio')
|
||||
emp_user = DictEmplyeeR.objects.filter(Q(id_dict_department=dep_id), ~Q(id_dict_employee__login=user_login)).exclude(id_dict_employee__deleted=1).order_by('id_dict_employee__fio')
|
||||
return Response(GetEmpSerializerR(emp_user, many=True).data)
|
||||
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "front",
|
||||
"version": "0.0.72",
|
||||
"version": "0.0.73",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "front",
|
||||
"version": "0.0.72",
|
||||
"version": "0.0.73",
|
||||
"dependencies": {
|
||||
"-": "^0.0.1",
|
||||
"@ckeditor/ckeditor5-build-classic": "^41.4.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "front",
|
||||
"version": "0.0.72",
|
||||
"version": "0.0.73",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -46,6 +46,9 @@
|
||||
|
||||
</v-card>
|
||||
</div>
|
||||
<v-btn :height="100" variant="flat" type="button">
|
||||
<v-img :width="100" cover src="@/assets/click3.gif"></v-img>
|
||||
</v-btn>
|
||||
|
||||
|
||||
</div>
|
||||
@@ -111,11 +114,16 @@
|
||||
vote-card-information-title">
|
||||
Выберите сотрудника <br>
|
||||
(не из Вашего отдела)<br>
|
||||
которому бы Вы лично обьявили бы<br>
|
||||
благодарность по итогом работы в 2024 году
|
||||
которому Вы лично обьявили бы<br>
|
||||
благодарность по итогам работы в 2024 году
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</div>
|
||||
|
||||
<v-btn :height="100" variant="flat" type="button">
|
||||
<v-img :width="100" cover src="@/assets/click3.gif"></v-img>
|
||||
</v-btn>
|
||||
|
||||
</div>
|
||||
<!-- Кнопка активации поворота КОНЕЦ-->
|
||||
</v-card>
|
||||
@@ -348,7 +356,7 @@ export default {
|
||||
|
||||
.vote-card-information {
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
margin-top: 30%;
|
||||
margin-top: 20%;
|
||||
width: 460px;
|
||||
height: 200px;
|
||||
|
||||
|
||||
Reference in new issue
Block a user