企业微信投诉监控

{{ realTimeTaskStatus() === 'idle' ? '未启动' : realTimeTaskStatus() === 'processing' ? '监控中' : '已启动' }}
监控群组: {{ monitoredGroups || 5 }} 今日检测: {{ todayDetections || 3 }}

实时代办项

{{ urgentComplaints().length }} 项待处理
{{ complaint.description }}
{{ complaint.customerName }} {{ complaint.submitTime | date:'HH:mm' }} {{ complaint.urgencyLevel === 'critical' ? '紧急' : '重要' }}

企业微信投诉监控

监控状态: 运行中
监控关键词:
@for (keyword of monitorKeywords; track keyword) { {{ keyword }} }
@if (realTimeTaskStatus() !== 'idle') {
实时代办项处理
{{ realTimeTaskStatus() === 'processing' ? '处理中...' : '已完成' }}
@if (realTimeTaskStatus() === 'processing') {
正在创建代办项:{{ processingTaskId() }}
}
}
优先级分布
@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 }}优先级
{{ getComplaintSourceInfo(complaint).icon }} {{ getComplaintSourceInfo(complaint).label }}
@if (complaint.urgencyLevel && complaint.urgencyLevel !== 'normal') {
{{ getUrgencyInfo(complaint).label }}
} @if (isAutoTagged(complaint)) { 🤖 自动 } @if (complaint.escalationLevel && complaint.escalationLevel > 0) { ⬆️ {{ getEscalationDisplay(complaint.escalationLevel) }} }
{{ complaint.status }} @if (isOverdue(complaint)) { 超时 } @if (complaint.followUpRequired) { }
@if (complaint.customerName) {
客户: {{ complaint.customerName }}
} @if (complaint.source === 'wechat_auto' && complaint.wechatGroupName) {
📱 微信群: {{ complaint.wechatGroupName }} @if (complaint.keywordMatched && complaint.keywordMatched.length > 0) {
匹配关键词: @for (keyword of complaint.keywordMatched; track keyword) { {{ keyword }} }
}
} @if (complaint.assignedTo) {
👤 处理人: {{ complaint.assignedTo }}
} @if (complaint.tags && complaint.tags.length > 0) {
🏷️ 标签:
@for (tag of complaint.tags; track tag) { {{ tag }} }
}

投诉内容

{{ 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 {
📋
暂无投诉记录
当前没有符合筛选条件的投诉记录
}
@if (showDetailModal() && selectedComplaint()) { } @if (showTagModal() && tagModalComplaint()) { }