您好,{{currentUser?.name}} 👋

今天是 {{ currentDate.toLocaleDateString('zh-CN', { year: 'numeric', month: 'long', day: 'numeric', weekday: 'long' }) }},祝您工作顺利!

{{ stats.totalProjects() }}
项目总数
{{ stats.pendingAssignments() }}
待分配项目数
{{ stats.exceptionProjects() }}
异常项目
{{ stats.afterSalesCount() }}
售后服务

待跟进尾款项目

{{ pendingFinalPaymentProjects().length }} 个项目待跟进
@if (pendingFinalPaymentProjects().length === 0) {

暂无待跟进尾款项目

} @for (project of pendingFinalPaymentProjects(); track project.id) {

{{ project.projectName }}

¥{{ project.finalPaymentAmount | number:'1.0-0' }}
{{ project.customerName }} {{ project.customerPhone }}
应付时间:{{ project.dueDate | date:'yyyy-MM-dd' }} {{ project.status }} @if (project.overdueDay > 0) { (逾期{{ project.overdueDay }}天) }
}

紧急待办

查看全部
@if (urgentTasks().length === 0) {

暂无紧急待办事项

} @for (task of urgentTasks(); track task.id) {

{{ task.title || '未命名任务' }}

📋 {{ task.projectName || '未知项目' }} 🔄 {{ task.stage }} @if (task.assignee && task.assignee !== '未分配') { 👤 {{ task.assignee }} }
@if (task.description) {

{{ task.description }}

}
{{ formatDate(task.deadline) }} @if (task.isOverdue) { 已逾期 }
{{ task.priority === 'high' ? '高优先级' : task.priority === 'medium' ? '中优先级' : '低优先级' }}
处理中 {{ s.progress }}%
}
@if (isTaskFormVisible()) {

添加紧急事项

{{ getDisplayDeadline() || '请选择截止时间' }}
@for (preset of timePresets; track preset.hours) { }
@if (deadlineError) {
{{ deadlineError }}
}
@if (isCustomTimeVisible) {
}
}

项目动态

@if (filteredUpdates().length === 0) {

暂无项目动态

} @for (update of filteredUpdates(); track update) {
@if (isProjectUpdate(update) && update.name && update.status) {
项目 {{ update.name }} 状态更新为 {{ update.status }}
} @if (hasContent(update)) {
{{ getCustomerName(update) }} 提交了反馈
} @if (hasContent(update) && getUpdateContent(update)) {

{{ getUpdateContent(update) }}

}
{{ getFormattedDate(update) }} {{ getUpdateStatus(update) }}
}