|
@@ -63,6 +63,8 @@ class BaseInfo(BaseModel):
|
|
|
project_name: str = Field(..., description="方案名称", example="罗成依达大桥上部结构专项施工方案")
|
|
project_name: str = Field(..., description="方案名称", example="罗成依达大桥上部结构专项施工方案")
|
|
|
construct_location: str = Field(..., description="建设地点", example="四川省凉山州")
|
|
construct_location: str = Field(..., description="建设地点", example="四川省凉山州")
|
|
|
engineering_type: str = Field(..., description="方案模版类型", example="T型梁")
|
|
engineering_type: str = Field(..., description="方案模版类型", example="T型梁")
|
|
|
|
|
+ construction_unit: str = Field(..., description="施工单位")
|
|
|
|
|
+ supervision_unit: str = Field(..., description="监理单位")
|
|
|
|
|
|
|
|
|
|
|
|
|
class ProjectInfo(BaseModel):
|
|
class ProjectInfo(BaseModel):
|
|
@@ -725,7 +727,10 @@ async def generating_outline(request: OutlineGenerationRequest):
|
|
|
"project_name": base_info.project_name,
|
|
"project_name": base_info.project_name,
|
|
|
"construct_location": base_info.construct_location,
|
|
"construct_location": base_info.construct_location,
|
|
|
"engineering_type": base_info.engineering_type,
|
|
"engineering_type": base_info.engineering_type,
|
|
|
- "selectable": request.project_info.selectable or ""
|
|
|
|
|
|
|
+ "selectable": request.project_info.selectable or "",
|
|
|
|
|
+ "construction_unit": base_info.construction_unit or "",
|
|
|
|
|
+ "supervision_unit": base_info.supervision_unit or ""
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
sgbx_task_info = {
|
|
sgbx_task_info = {
|