@if(message()){

{{message()}}

} @if(error()){} @if(loading()&&!data()){
正在读取老师实时排课、上课记录和工资数据…
} @if(data();as detail){
登录账号
{{detail.profile.username||'历史账号未同步'}}
手机号码
{{detail.profile.mobile||'未登记'}}
所属门店
{{detail.profile.storeName||'未绑定门店'}}
排课范围
{{detail.dataDateFrom||'—'}} 至 {{detail.dataDateTo||'—'}}
{{detail.payrollMonth}} 收益数据 {{detail.payrollSourceStatus.mode==='live'?'旧系统实时上课记录':'迁移库缓存记录'}} 更新于 {{detail.refreshedAt|date:'MM-dd HH:mm:ss'}}
今日排课{{detail.coach.todayAppointments}}未来待完成 {{upcomingCount()}} 节
{{detail.payrollMonth}} 有效课次{{detail.currentPayroll.lessonCount}}30分钟 {{detail.currentPayroll.type30Count}} · 60分钟 {{detail.currentPayroll.type60Count}}
{{detail.payrollMonth}} 工时{{detail.currentPayroll.totalHours|number:'1.1-1'}}h体验课 {{detail.currentPayroll.trialCount}} 节
{{detail.payrollMonth}} 预估工资¥{{detail.currentPayroll.payableAmount|number:'1.2-2'}}含抗遗忘工资 ¥{{detail.currentPayroll.reviewAmount||0|number:'1.2-2'}}
平均评分{{detail.currentPayroll.averageScore?(detail.currentPayroll.averageScore|number:'1.1-1'):'—'}}{{detail.reviews.length}} 条有效评价
21天复习任务{{detail.reviewTaskCount}}原系统默认不计薪
@if(tab()==='schedule'){
{{scheduleMonth()}} 老师排课记录只筛选排课记录,不影响上课明细和工资记录
排课月份{{isSectionLoading('schedule')?'正在读取…':(detail.appointments.length+' 条排课')}}@if(activeMonthPicker()==='schedule'){}
@for(row of detail.appointments;track row.targetId){} @empty{}
上课时间学员课程课型状态数据来源
{{row.startsAt|date:'yyyy-MM-dd HH:mm'}}{{row.endsAt|date:'HH:mm'}} 结束{{row.studentName}}{{row.courseName}}{{row.classTypeLabel}}{{statusDisplayLabel(row)}}{{row.sourceLabel}}
{{isSectionLoading('schedule')?'正在读取排课记录…':'该月没有可展示的排课记录'}}
}@else if(tab()==='lessons'){
{{lessonsMonth()}} 上课与计薪明细只筛选上课明细,不影响排课和工资记录,最多展示最近 300 条
合计 ¥{{(lessonsPayroll()?.payableAmount||0)|number:'1.2-2'}}
上课月份{{isSectionLoading('lessons')?'正在读取…':(detail.lessons.length+' 条明细')}}@if(activeMonthPicker()==='lessons'){}
@for(line of detail.lessons;track line.objectId){} @empty{}
上课时间学员课程课型工时单价金额来源ID
{{line.lessonAt|date:'yyyy-MM-dd HH:mm'}}{{line.studentName}}{{line.courseName}}{{line.classTypeLabel}}{{line.durationHours|number:'1.1-1'}}h¥{{line.rateAmount|number:'1.2-2'}}¥{{line.amount|number:'1.2-2'}}{{line.legacyGeneralId||'—'}}
{{isSectionLoading('lessons')?'正在读取上课明细…':'该月没有有效上课记录'}}
}@else if(tab()==='reviews'){
{{lessonsMonth()}} 学员评价评价跟随“上课明细月份”,来自旧系统上课记录
@for(line of detail.reviews;track line.objectId){
{{line.studentName}}{{line.courseName}} · {{line.lessonAt|date:'MM-dd HH:mm'}}
{{line.score||'未评分'}}

{{line.comment||'学员已评分,未填写文字评价'}}

} @empty{
本月暂时没有评分或文字评价
}
}@else if(tab()==='availability'){
可排课时间周期规则与指定日期请假会用于排课冲突预检
@if(ruleType()==='weekly'){}@else{}
@for(rule of detail.availability;track rule.objectId){}@empty{}
规则日期/星期时段状态原因操作
{{rule.ruleType==='weekly'?'每周':'指定日期'}}{{rule.ruleType==='weekly'?('星期'+['日','一','二','三','四','五','六'][rule.weekday]):rule.date}}{{rule.startTime}}–{{rule.endTime}}{{rule.available?'可排课':'休息/请假'}}{{rule.reason}}
尚未配置;排课时允许选择,但会提示未配置可用时间
}@else{
{{payrollMonth()}} 老师工资记录只筛选工资预估和已生成工资批次,不影响排课和上课明细
工资月份{{isSectionLoading('payroll')?'正在读取…':(detail.payrolls.length+' 条工资记录')}}@if(activeMonthPicker()==='payroll'){}
@for(row of detail.payrolls;track row.objectId){} @empty{}
月份状态有效课次工时基础工资抗遗忘工资调整应发金额
{{row.month}}{{row.statusLabel}}{{row.lessonCount}}{{row.totalHours|number:'1.1-1'}}h¥{{row.baseAmount|number:'1.2-2'}}¥{{row.reviewAmount||0|number:'1.2-2'}}¥{{row.adjustmentAmount|number:'1.2-2'}}¥{{row.payableAmount|number:'1.2-2'}}
{{isSectionLoading('payroll')?'正在读取工资记录…':'该月暂无工资记录'}}
}
}