投诉处理概览

{{ stats().totalCount }}
总投诉数
{{ stats().pendingCount }}
待处理
{{ stats().processingCount }}
处理中
{{ stats().resolvedCount }}
已解决
{{ stats().highPriorityCount }}
高优先级
{{ stats().averageResolutionTime }}
平均解决时间
优先级分布
@for (priority of priorities; track priority.value) {
{{ priority.label }}
{{ stats().priorityStats[priority.value] || 0 }}
}
问题类型统计
@for (type of complaintTypes; track type.value) {
{{ type.label }} {{ stats().typeStats[type.value] || 0 }}
}
@if (filteredComplaints() && filteredComplaints().length > 0) {
@for (complaint of filteredComplaints(); track complaint.id) {
{{ getTypeLabel(getComplaintType(complaint)) }}
{{ getPriorityInfo(complaint.priority || 'low').label }}优先级
{{ complaint.status }} @if (isOverdue(complaint)) { 超时 }
@if (complaint.customerName) {
客户: {{ complaint.customerName }}
}

投诉内容

{{ complaint.description }}

@if (complaint.images && complaint.images.length > 0) {
相关图片
@for (image of complaint.images; track $index) { }
}
提交时间: {{ complaint.submittedAt | date:'yyyy-MM-dd HH:mm' }}
处理天数: {{ getDaysInProgress(complaint) }} 天
@if (complaint.resolvedAt) {
解决时间: {{ complaint.resolvedAt | date:'yyyy-MM-dd HH:mm' }}
}
@if (complaint.handlerComment) {
处理意见

{{ complaint.handlerComment }}

@if (complaint.handlerName) {
处理人: {{ complaint.handlerName }}
}
} @if (complaint.solution) {
解决方案

{{ complaint.solution }}

}
}
} @else {
📋
暂无投诉记录
当前没有符合筛选条件的投诉记录
}