@if (loading) {

加载中...

} @if (!loading) { @if (project && approvalHistory.length > 0) {

审批流程记录

查看项目的完整审批历史

@for (record of approvalHistory; track $index; let isFirst = $first; let isLast = $last) {
@if (record.status === 'approved') { } @else if (record.status === 'rejected') { } @else { }
@if (!isLast) {
}
{{ record.stage }}
@if (record.status === 'approved') { ✅ 已通过 } @else if (record.status === 'rejected') { ❌ 已驳回 } @else { ⏳ 待审批 }
{{ record.submitTime | date: 'yyyy-MM-dd HH:mm' }}
@if (record.approver) {
{{ record.approvalTime | date: 'yyyy-MM-dd HH:mm' }}
} @if (record.quotationTotal) {
¥{{ record.quotationTotal | number: '1.2-2' }}
} @if (record.teams && record.teams.length > 0) {
@for (member of record.teams; track member.id) {
{{ member.name }} @if (member.spaces && member.spaces.length > 0) { {{ member.spaces.join(', ') }} }
}
} @if (record.comment || record.reason) {
{{ record.comment || record.reason || '-' }}
}
}
} @if (isMultiProductProject) {
@for (product of projectProducts; track product.id) {
{{ getSpaceDisplayName(product) }} @if (getTotalDeliveryFileCount(product.id) > 0) { {{ getTotalDeliveryFileCount(product.id) }} }
}
} @if (activeProductId) {
@for (type of deliveryTypes; track type.id) {
@switch (type.id) { @case ('white_model') { } @case ('soft_decor') { } @case ('rendering') { } @case ('post_process') { } }
{{ type.name }} {{ type.description }}
@if (getCurrentTypeFileCount(activeProductId, type.id) > 0) { {{ getCurrentTypeFileCount(activeProductId, type.id) }} }
}

上传{{ getDeliveryTypeName(activeDeliveryType) }}文件

{{ getDeliveryTypeDescription(activeDeliveryType) }}

@if (canEdit) { }
@if (uploadingDeliveryFiles) {
上传中... {{ uploadProgress }}%
}
@if (getProductDeliveryFiles(activeProductId, activeDeliveryType).length > 0) {

已上传文件 ({{ getProductDeliveryFiles(activeProductId, activeDeliveryType).length }})

@for (file of getProductDeliveryFiles(activeProductId, activeDeliveryType); track file.id) {
@if (isImageFile(file.name)) { } @else {
}
{{ file.name }}
{{ formatFileSize(file.size) }} {{ file.uploadTime | date: 'MM-dd HH:mm' }}
@if (file.uploadedBy) {
上传人: {{ file.uploadedBy }}
}
@if (canEdit) { }
}
} @else {

暂无{{ getDeliveryTypeName(activeDeliveryType) }}文件

{{ getDeliveryTypeDescription(activeDeliveryType) }}

@if (canEdit) { }
}
} @if (!activeProductId && projectProducts.length > 0) {

请选择一个空间场景

选择场景后可以查看和管理该空间的交付文件

} @if (projectProducts.length === 0 && !loading) {

暂无项目空间

请先在方案深化阶段添加项目空间

} @if (canEdit && projectProducts.length > 0) {
} }