|
|
@@ -27,12 +27,13 @@ const studentStatData = ref<StudentPlanStudyRecord[]>([]);
|
|
|
const averageRate = ref(0);
|
|
|
|
|
|
const loadData = async () => {
|
|
|
+ uni.$ie.showLoading();
|
|
|
getClassKnowledgeRecord({
|
|
|
classId: props.teachClass.classId,
|
|
|
}).then(res => {
|
|
|
studentStatData.value = res.data.list;
|
|
|
averageRate.value = res.data.rate;
|
|
|
- })
|
|
|
+ }).finally(() => uni.$ie.hideLoading());
|
|
|
}
|
|
|
|
|
|
const handleRowClick = (row: StudentPlanStudyRecord) => {
|