修复进度条假数据+施工确认添加附件上传+后端支持attachments

This commit is contained in:
a273825743
2026-05-17 10:01:43 +08:00
parent 9fab49b3d5
commit e953e4250a
3 changed files with 131 additions and 5 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ const ProjectsPage: React.FC = () => {
setProjects(response.data.data.map((p: Project) => ({
...p,
key: p.id.toString(),
progress: Math.floor(Math.random() * 100),
progress: p.status === 'completed' ? 100 : (p.phase_progress || 0),
manager_name: p.manager_name || '未分配'
})));
} else {