@for (stage of stages; track stage.id) {
@if (getStageStatus(stage.id) === 'completed') { } @else { {{ stage.number }} }
{{ stage.name }}
@if (!$last) {
} }
@if (loading) {

加载项目信息...

} @if (error && !loading) {

{{ error }}

} @if (!loading && !error && project) { @if (contact && (currentStage=='order' || currentStage=='requirements')) {
项目需求调查
{{ surveyStatus.filled ? '已填写' : '待填写' }}
@if (surveyStatus.filled) {

{{ surveyStatus.contact.get('realname') || surveyStatus.contact.get('name') }} 已完成需求调查

完成时间: {{ surveyStatus.surveyLog?.get('completedAt') | date:'yyyy-MM-dd HH:mm' }}

} @else {

邀请 客户 填写项目需求调查表

了解客户需求,提供更精准的服务方案

@if (canEdit && groupChat) { } @else {
需要在企微群聊中发送问卷
} }
@if (!surveyStatus.filled) { }
}
} @if (!loading && !error && project) { }