@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?.get('data')?.avatar) { 客户头像 } @else { }

{{ contact?.get('name') || contact?.get('data')?.name || '待设置' }}

@if (contact && canViewCustomerPhone) {

{{ contact.get('mobile') }}

ID: {{ contact.get('data')?.wechat || contact.get('external_userid') }}

} @else if (contact) {

仅客服可查联系方式

}
@if (contact?.get('source')) { {{ contact?.get('source') }} } {{ project.get('status') }}
@if (!contact?.id && role == '客服') { }
} @if (!loading && !error && project) { }