@if(message()){

{{message()}}

} @if(error()){}
当前范围课程{{activeAppointments()}}{{range().from}} 至 {{range().to}}
待分配{{unassignedCount()}}未分配老师时不能开始
在岗陪练{{data()?.coaches?.length||0}}未配置可用时间会提示
最后刷新{{data()?.refreshedAt|date:'HH:mm'}}服务端实时数据
{{view()==='list'?'预约明细':'陪练排课泳道'}}{{loading()?'加载中…':'点击课程可改期或换老师'}}
@if(view()==='list'){
@for(item of data()?.appointments||[];track item.targetId){} @empty{}
时间会员陪练课程课型状态操作
{{item.startsAt|date:'MM-dd HH:mm'}}–{{item.endsAt|date:'HH:mm'}}{{item.studentName}}{{item.coachName}}{{item.courseName}}{{item.classTypeLabel}}{{item.statusLabel}}
@if(item.cancelled){}@else{}
当前范围暂无排课
} @else {
@for(coach of data()?.coaches||[];track coach.userId){
{{coach.displayName}}今日 {{coach.todayAppointments}} 节@if(!coach.availabilityConfigured){未设置可用时间}
@for(item of data()?.appointments||[];track item.targetId){@if(item.coachId===coach.userId){}}
} @empty{
暂无陪练资料
}
}
@if(drawerOpen()){
}