feat(report):add activity progress

This commit is contained in:
shahzeydyfah
2025-01-16 14:00:18 +03:30
parent 0ee3ce0afc
commit 7dcae49b4b
2 changed files with 24 additions and 0 deletions
+5
View File
@@ -44,6 +44,11 @@ def delay_donut(project_id:uuid.UUID):
@shrink(repo.delay_donut_detail)
def delay_donut_detail(_inp: DelayDonutDetail = Body(...)):
pass
#نمودار پیشرفت فعالیت ها
@router.get('/progress_activity/{project_id}', tags=_tag_base)
@shrink(repo.progress_activity)
def progress_activity(project_id:uuid.UUID):
pass
@router.get('/donut/delay/percent', tags=_tag_base)
@shrink(repo.sum_delay_percent)