@if (loading) {

加载中...

} @if (!loading) { @if (project) { @if (getDeliveryApprovalStatus() === 'pending') {

等待组长审批

交付执行已提交,正在等待组长审核批准

} @if (getDeliveryApprovalStatus() === 'approved') {

审批已通过

交付执行已获组长批准

} @if (getDeliveryApprovalStatus() === 'rejected') {

交付已驳回

驳回原因:{{ getDeliveryRejectionReason() }}

} } @if (isTeamLeader && !isFromCustomerService && shouldShowApprovalButtons()) {
@if (!hasDeliveryFiles()) {

💡 项目暂无交付文件,请等待设计师上传后再审批

}
} @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) }} } @if (getTypeUnverifiedFileCount(activeProductId, type.id) > 0) { {{ getTypeUnverifiedFileCount(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 {
}
@if (file.approvalStatus === 'unverified') { } @else if (file.approvalStatus === 'pending') { 🔍 } @else if (file.approvalStatus === 'approved') { } @else if (file.approvalStatus === 'rejected') { }
@if (canEdit) { }
{{ file.name }}
{{ formatFileSize(file.size) }} {{ file.uploadTime | date: 'yyyy-MM-dd HH:mm' }}
@if (file.uploadedBy) {
上传: {{ file.uploadedBy }}
} @if (file.approvalStatus && file.approvalStatus !== 'unverified') {
@if (file.approvalStatus === 'approved') { ✅ } @else if (file.approvalStatus === 'rejected') { ❌ } @else if (file.approvalStatus === 'pending') { 🔍 } {{ getApprovalStatusText(file.approvalStatus) }} @if (file.approvedBy) { · {{ file.approvedBy }} } @if (file.rejectionReason) { : {{ file.rejectionReason }} }
}
}
} @else {

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

{{ getDeliveryTypeDescription(activeDeliveryType) }}

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

请选择一个空间场景

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

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

暂无项目空间

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

} @if (!loading && !isAdminView) {
@if (projectProducts.length === 0) {
请先在"确认需求"阶段添加项目空间
} } }