@if (loading) {

加载售后信息...

} @if (!loading) {
@if (activeTab === 'overview') {
@if (archiveStatus.archived) {

项目已归档

归档时间: {{ archiveStatus.archiveTime | date:'yyyy-MM-dd HH:mm' }}

归档人: {{ archiveStatus.archivedBy?.name }}

}

整体完成度

{{ stats.completionRate }}%
💰
尾款状态
{{ getPaymentStatusText() }}
客户满意度
{{ stats.averageRating }}/5.0
📊
复盘分析
{{ projectRetrospective ? '已生成' : '未生成' }}

快捷操作

@if (isMultiProductProject && projectProducts.length > 0) {

空间概览

@for (product of projectProducts; track product.id) {
{{ productSpaceService.getProductIcon(product.type) }}
{{ product.name || productSpaceService.getProductTypeName(product.type) }}
@if (customerFeedback.productFeedbacks.length > 0) {
@for (star of [1,2,3,4,5]; track star) { }
}
}
}
} @if (activeTab === 'payment') {

尾款总览

{{ getPaymentStatusText() }}
总金额
{{ formatCurrency(finalPayment.totalAmount) }}
已支付
{{ formatCurrency(finalPayment.paidAmount) }}
待支付
{{ formatCurrency(finalPayment.remainingAmount) }}
已完成 {{ finalPayment.totalAmount > 0 ? ((finalPayment.paidAmount / finalPayment.totalAmount) * 100).toFixed(1) : 0 }}%
@if (finalPayment.status === 'overdue') {
尾款已逾期 {{ finalPayment.overdueDays }} 天,请尽快处理
}
@if (isMultiProductProject && finalPayment.productBreakdown.length > 0) {

按空间分摊

@for (item of finalPayment.productBreakdown; track item.productId) {
{{ item.productName }}
{{ item.percentage.toFixed(1) }}%
{{ formatCurrency(item.amount) }} 已付: {{ formatCurrency(item.paidAmount) }}
}
}

支付凭证 {{ finalPayment.paymentVouchers.length }}

@if (finalPayment.paymentVouchers.length === 0) {

暂无支付凭证

} @else {
@for (voucher of finalPayment.paymentVouchers; track voucher.id) {
支付凭证 @if (canEdit) { }
@if (canEdit) { } @else { {{ formatCurrency(voucher.amount) }} }
{{ voucher.paymentMethod }}
{{ voucher.paymentTime | date:'yyyy-MM-dd HH:mm' }}
@if (voucher.productId && isMultiProductProject) {
关联: {{ getProductNameById(voucher.productId) }}
} @if (voucher.ocrResult) {
OCR识别 {{ getOCRConfidenceText(voucher.ocrResult.confidence) }}
}
}
} @if (canEdit && finalPayment.status !== 'completed') {
}
} @if (activeTab === 'feedback') {
@if (!customerFeedback.submitted) { } @else { }
} @if (activeTab === 'retrospective') {
@if (!projectRetrospective) {

项目复盘尚未生成

系统将基于项目数据自动生成深度分析报告

} @else {

执行摘要

生成于 {{ projectRetrospective.generatedAt | date:'yyyy-MM-dd HH:mm' }}

{{ projectRetrospective.summary }}

项目亮点

    @for (highlight of projectRetrospective.highlights; track $index) {
  • {{ highlight }}
  • }

遇到的挑战

    @for (challenge of projectRetrospective.challenges; track $index) {
  • {{ challenge }}
  • }

经验教训

    @for (lesson of projectRetrospective.lessons; track $index) {
  • {{ lesson }}
  • }

改进建议

    @for (rec of projectRetrospective.recommendations; track $index) {
  • {{ rec }}
  • }

效率分析

{{ projectRetrospective.efficiencyAnalysis.grade }} 级
{{ projectRetrospective.efficiencyAnalysis.overallScore }}
综合效率
时间效率
{{ projectRetrospective.efficiencyAnalysis.timeEfficiency.score }}%
质量效率
{{ projectRetrospective.efficiencyAnalysis.qualityEfficiency.score }}%
资源利用
{{ projectRetrospective.efficiencyAnalysis.resourceUtilization.score }}%

各阶段效率对比

@for (stage of projectRetrospective.efficiencyAnalysis.stageMetrics; track stage.stage) {
{{ stage.stage }} {{ getStageStatusText(stage.status) }}
计划: {{ stage.plannedDays }}天 实际: {{ stage.actualDays }}天 效率: {{ stage.efficiency }}%
@if (stage.delayReason) {
原因: {{ stage.delayReason }}
}
}
@if (projectRetrospective.efficiencyAnalysis.bottlenecks.length > 0) {

瓶颈识别

@for (bottleneck of projectRetrospective.efficiencyAnalysis.bottlenecks; track $index) {
{{ getBottleneckSeverityIcon(bottleneck.severity) }} {{ bottleneck.stage }} {{ getBottleneckSeverityText(bottleneck.severity) }}
{{ bottleneck.issue }}
💡 {{ bottleneck.suggestion }}
}
}
}
}
}