@if (loading) {

加载中...

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

【{{ getDeliveryTypeName(activeDeliveryType) }}】等待组长审批

当前阶段已提交,正在等待组长审核批准

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

【{{ getDeliveryTypeName(activeDeliveryType) }}】审批已通过

当前阶段已获组长批准

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

【{{ getDeliveryTypeName(activeDeliveryType) }}】已驳回

驳回原因:{{ 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) }} 未验证 } @if (isApproved(type.id)) { ✓ 已通过 } @if (needsApproval(type.id)) { ⏳ 待审批 } @if (isRejected(type.id)) { ✗ 已驳回 }
}
@if (!canUploadCurrentStage()) {
🔒

当前阶段尚未解锁

请先完成{{ getPreviousStageName() }}阶段并等待组长审批通过后,才能上传当前阶段文件

}

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

{{ getDeliveryTypeDescription(activeDeliveryType) }}

@if (canEdit && canUploadCurrentStage()) { }
@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) {
请先在"确认需求"阶段添加项目空间
} } }