|
@@ -67,7 +67,8 @@ export default defineComponent({
|
|
/** 出勤统计 */
|
|
/** 出勤统计 */
|
|
const getAttendanceStat = async (period: string) => {
|
|
const getAttendanceStat = async (period: string) => {
|
|
const res = await api_schoolIndexAttendanceStat({
|
|
const res = await api_schoolIndexAttendanceStat({
|
|
- period
|
|
|
|
|
|
+ period,
|
|
|
|
+ musicGroupId: musicGroupId.value
|
|
});
|
|
});
|
|
data.studentAttendance = res.data || {};
|
|
data.studentAttendance = res.data || {};
|
|
};
|
|
};
|
|
@@ -75,7 +76,8 @@ export default defineComponent({
|
|
/** 练习统计 */
|
|
/** 练习统计 */
|
|
const getLessonStat = async (period: string) => {
|
|
const getLessonStat = async (period: string) => {
|
|
const res = await api_schoolIndexLessonStat({
|
|
const res = await api_schoolIndexLessonStat({
|
|
- period
|
|
|
|
|
|
+ period,
|
|
|
|
+ musicGroupId: musicGroupId.value
|
|
});
|
|
});
|
|
data.studentLessons = res.data || {};
|
|
data.studentLessons = res.data || {};
|
|
};
|
|
};
|