feat(report):add design_progress_status

This commit is contained in:
shahzeydyfah
2025-01-23 23:20:42 +03:30
parent d1e4a58909
commit b08d2f6f4e
3 changed files with 46 additions and 4 deletions
+11 -2
View File
@@ -2,7 +2,7 @@ import uuid
from fastapi import Body
from app.models.report import StatusReport, ReportCountry, DonutList, DelayDonutDetail
from app.models.report import StatusReport, ReportCountry, DonutList, DelayDonutDetail, PhysicalMonth
from app.repositories.report import ReportRepository
from core.app import app
from core.utils.router import generate_router, shrink
@@ -101,6 +101,15 @@ def progress_report():
def progress_avg_report():
pass
# میانگین پیشرفت ماهیانه پروژه ها نمودار میله ای-بدون وزن
@router.post('/progress_phisica/avg/month', tags=_tag_base)
@shrink(repo.progress_month_report)
def progress_month_report(_inp:PhysicalMonth = Body(...)):
pass
# وضعیت پروژه های در دست طراحی
@router.get('/design_progress/status', tags=_tag_base)
@shrink(repo.design_progress_status)
def design_progress_status():
pass
app.include_router(router)