修复进度条假数据+施工确认添加附件上传+后端支持attachments
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user