@if (currentView() === 'overview') {
assignment
{{ formatCurrency(stats().totalAmount) }}
总金额 ({{ stats().totalCount }}项)
payment
{{ formatCurrency(stats().pendingAmount) }}
待收款 ({{ stats().pendingCount }}项)
schedule
{{ formatCurrency(stats().overdueAmount) }}
逾期尾款 ({{ stats().overdueCount }}项)
check_circle
{{ formatCurrency(stats().completedAmount) }}
已收款 ({{ stats().completedCount }}项)
priority_high
{{ stats().highPriority }}
高优先级
搜索项目 search
尾款状态
payment 全部
schedule 待收款
partial_fulfillment 部分收款
check_circle 已完成
warning 逾期
评价状态
star 全部
star_border 待评价
thumb_up 好评
thumb_down 差评
help_outline 无评价
优先级
priority_high 全部
keyboard_double_arrow_up
keyboard_arrow_up
keyboard_arrow_down
@for (project of filteredProjects(); track project.id) {

{{ project.projectName }}

{{ project.projectCode }} {{ project.customerName }} 完成于 {{ formatDate(project.completedDate) }}
{{ getPriorityText(project.priority) }}优先级
尾款状态
{{ getPaymentStatusText(project.finalPaymentStatus) }}
{{ formatAmount(project.paidAmount) }} / {{ formatAmount(project.finalPaymentAmount) }} {{ getPaymentProgress(project) }}%
客户评价
{{ getReviewStatusText(project.reviewStatus) }} @if (project.reviewScore) {
@for (star of [1,2,3,4,5]; track star) { star }
}
客户建议
{{ project.suggestionCount }} 条
} @empty {
inbox

暂无售后项目

当前筛选条件下没有找到相关项目

}
} @if (currentView() === 'detail' && selectedProject()) {

{{ selectedProject()?.projectName }}

{{ selectedProject()?.projectCode }} 客户:{{ selectedProject()?.customerName }}

尾款管理

应收尾款: {{ formatCurrency(selectedProject()?.finalPaymentAmount || 0) }}
已收金额:
待收金额: {{ formatCurrency((selectedProject()?.finalPaymentAmount || 0) - (selectedProject()?.paidAmount || 0)) }}
@if (selectedProject()?.paymentRecords && selectedProject()?.paymentRecords!.length > 0) {

支付记录

@for (record of selectedProject()?.paymentRecords; track record.id) {
{{ formatCurrency(record.amount) }} {{ getPaymentRecordStatusText(record.status) }} {{ formatDate(record.paymentDate) }}

支付方式:{{ record.paymentMethod }}

操作人:{{ record.operator }}

@if (record.remark) {

备注:{{ record.remark }}

} @if (record.voucher) {
支付凭证: @if (record.voucher.previewUrl) { } @else { description {{ record.voucher.fileName }} }
}
@if (record.statusHistory.length > 0) {
状态变更记录
@for (history of record.statusHistory; track history.id) {
{{ formatDate(history.changeDate) }} {{ history.operator }} {{ history.status }} {{ history.reason }}
}
}
}
} @else {
payment

暂无支付记录

}

客户评价处理

@if (showAddReviewForm) {
rate_review

录入客户评价

反馈渠道
phone 电话回访
chat 微信沟通
email 邮件反馈
person 面对面交流
more_horiz 其他渠道
评价等级
@for (star of [1,2,3,4,5]; track star) { }
非常满意
@for (star of [1,2,3,4]; track star) { }
满意
@for (star of [1,2,3]; track star) { } @for (star of [4,5]; track star) { }
一般
@for (star of [1,2]; track star) { } @for (star of [3,4,5]; track star) { }
不满意
@for (star of [2,3,4,5]; track star) { } 非常不满意
评价内容 请尽量详细记录客户的反馈意见 处理建议 可选:添加针对性的改进建议
} @if (selectedProject()?.reviewRecords && selectedProject()?.reviewRecords!.length > 0) {

评价记录

@for (review of selectedProject()?.reviewRecords; track review.id) {
{{ review.reviewType === 'system' ? '系统评价' : '手动录入' }} {{ review.reviewChannel }} {{ formatDate(review.reviewDate) }} @if (review.score) {
@for (star of [1,2,3,4,5]; track star) { star }
}

{{ review.content }}

@if (review.remark) {

备注:{{ review.remark }}

} @if (review.operator) {

录入人:{{ review.operator }}

}
@if (review.followUpReminder) { }
}
} @else {
star_border

暂无评价记录

}

客户建议收集与处理

@if (selectedProject()?.suggestions && selectedProject()?.suggestions!.length > 0) {
@for (suggestion of selectedProject()?.suggestions; track suggestion.id) {
{{ getSuggestionCategoryLabel(suggestion.category) }} {{ getSuggestionStatusText(suggestion.status) }} {{ suggestion.priority === 'high' ? '高优先级' : suggestion.priority === 'medium' ? '中优先级' : '低优先级' }} {{ formatDate(suggestion.submitDate) }}

建议内容:{{ suggestion.content }}

@if (suggestion.assignee) {

处理人:{{ suggestion.assignee }}

} @if (suggestion.response) {

回复内容:{{ suggestion.response }}

@if (suggestion.responseDate) {

回复时间:{{ formatDate(suggestion.responseDate) }}

}
}
@if (suggestion.status !== 'completed' && suggestion.status !== 'rejected') { }
@if (showUpdateForm[suggestion.id]) {
edit_note
更新处理状态
处理状态
schedule
待处理 等待分配处理人员
sync
处理中 正在积极处理中
check_circle
已完成 建议已采纳并实施
cancel
已拒绝 建议不予采纳
处理人员
person 张三 - 客服主管
person 李四 - 技术支持
person 王五 - 产品经理
处理回复 请提供详细的处理说明,便于后续跟踪
} @if (suggestion.statusHistory.length > 0) {
处理记录
@for (history of suggestion.statusHistory; track history.id) {
{{ formatDate(history.changeDate) }} {{ history.operator }} {{ history.status }} {{ history.remark }}
}
}
}
} @else {
feedback

暂无客户建议

}
}