@if(error()){} @if(loading()&&!data()){
正在归集门店经营数据会员、排课和工资来自不同业务投影,首次读取可能需要数秒
} @if(data(); as detail){
{{detail.store.storeName}}ID {{detail.store.userId}} · {{detail.store.parentStoreName||'总店/未归属'}} · {{detail.store.statusLabel}}
{{detail.payrollSourceStatus.mode==='live'?'工资使用旧系统实时上课记录':'工资使用最近缓存'}}更新于 {{detail.refreshedAt|date:'MM-dd HH:mm:ss'}}
门店账号{{detail.store.storeName}}{{detail.store.username}} · 联系人 {{detail.store.contactName||'未设置'}}
联系电话
{{detail.store.mobile||detail.store.mobileMasked||'未登记'}}
最近登录
{{detail.store.lastLoginAt?(detail.store.lastLoginAt|date:'yyyy-MM-dd HH:mm'):'从未登录'}}
历史排课
{{detail.store.totalAppointments}} 节
归属会员{{detail.summary.memberCount}}当前门店关系
归属陪练{{detail.summary.coachCount}}可参与排课
{{detail.month}} 排课{{detail.summary.monthAppointments}}含不同课型
已完成排课{{detail.summary.completedAppointments}}状态 30/40
有课学员{{detail.summary.activeStudents}}本月去重人数
有效上课记录{{detail.summary.lessonCount}}工资计薪来源
陪练工时{{detail.summary.totalHours|number:'1.1-1'}}h按有效上课记录
预估陪练工资¥{{detail.summary.estimatedCoachPay|number:'1.2-2'}}与工资结算一致
@if(!detail.commissionStatus.available){

门店佣金暂不估算{{detail.commissionStatus.message}}

}
@if(tab()==='members'){
归属会员按会员所属门店关系归集,陪练和管理员不会混入
@for(row of members();track row.objectId){}@empty{}
会员学习状态剩余课时最近上课下次预约账号状态操作
{{row.displayName}}{{row.mobile||row.mobileMasked||row.username}} · ID {{row.userId}}{{row.learningStatusLabel}}{{row.learningStatusReason}}30分 {{row.periods30}} · 60分 {{row.periods60}}体验 {{row.trialPeriods}}{{row.lastLessonAt?(row.lastLessonAt|date:'yyyy-MM-dd'):'暂无'}}{{row.nextAppointmentAt?(row.nextAppointmentAt|date:'yyyy-MM-dd HH:mm'):'待排课'}}{{row.statusLabel}}查看会员
没有符合条件的会员
} @else if(tab()==='coaches'){
归属陪练本月课次、工时和工资均使用工资结算相同口径
@for(row of coaches();track row.objectId){}@empty{}
陪练老师今日排课待完成本月有效课次本月工时预估工资状态操作
{{row.displayName}}{{row.mobile||row.mobileMasked||row.username||'历史账号未同步'}} · ID {{row.userId}}{{row.todayAppointments}} 节{{row.pendingAppointments}} 节{{row.monthLessons}} 节{{row.monthHours|number:'1.1-1'}}h¥{{row.estimatedPay|number:'1.2-2'}}{{row.statusLabel}}查看陪练
没有符合条件的陪练
} @else if(tab()==='schedule'){
{{detail.month}} 排课记录优先按学员所属门店归集;学员关系缺失时才使用陪练所属门店
@for(row of appointments();track row.targetId){}@empty{}
上课时间学员陪练课程课型状态来源
{{row.startsAt|date:'yyyy-MM-dd HH:mm'}}{{row.endsAt|date:'HH:mm'}} 结束{{row.studentName||'未识别学员'}}{{row.coachName||'待分配'}}{{row.courseName||'未命名课程'}}{{row.classTypeLabel}}{{row.statusLabel}}{{row.sourceLabel}}
{{detail.month}} 暂无排课记录
} @else {
{{detail.month}} 课程履约按课程归集排课、完课和参与学员,方便识别履约不足的课程
@for(row of detail.courses;track row.courseId){}@empty{}
课程参与学员排课数已完成完成率最近排课
{{row.courseName}}ID {{row.courseId||'未识别'}}{{row.studentCount}} 人{{row.appointmentCount}} 节{{row.completedCount}} 节
{{row.completionRate|number:'1.0-0'}}%
{{row.lastAppointmentAt?(row.lastAppointmentAt|date:'yyyy-MM-dd HH:mm'):'暂无'}}
{{detail.month}} 暂无课程履约数据
}
}