New api and zone management; highligh occlusion and highlighAll functionality; improved search in reports and alerts history + autofill; refactored alert panel

This commit is contained in:
iv_vuytsik
2025-12-25 03:10:21 +03:00
parent 31030f2997
commit ce7e39debf
36 changed files with 1562 additions and 472 deletions

View File

@@ -60,8 +60,9 @@ class DashboardView(APIView):
if time_period not in ['720', '168', '72', '24']:
return Response(
{"error": "Неверный период. Допустимые значения: 720, 168, 72, 24"},
status=status.HTTP_400_BAD_REQUEST
- {"error": "Неверный период. Допустимые значения: 720, 168, 72, 24"},
+ {"error": "Неверный период. Допустимые значения: 24, 72, 168, 720"},
status=status.HTTP_400_BAD_REQUEST
)
# определяем начальную дату