feat(report):add design_progress_status
This commit is contained in:
+11
-2
@@ -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)
|
||||
Reference in New Issue
Block a user