@@ -139,6 +144,7 @@ import AddGradeDialog from '@/layouts/components/AddGradeDialog.vue'
import AddStudentDialog from '@/layouts/components/AddStudentDialog.vue'
import LessonPlanDialog from '@/layouts/components/LessonPlanDialog.vue'
import StudentPlanListDialog from '@/layouts/components/StudentPlanListDialog.vue'
+import StudyAnalysis from '@/layouts/components/student/StudyAnalysis.vue'
import { getUnitList, deleteUnit } from '@/api/unit'
import AddUnitDialog from '@/layouts/components/AddUnitDialog.vue'
import { useRouter, onBeforeRouteLeave } from 'vue-router'
@@ -180,6 +186,8 @@ const generatingPercents = ref({})
const pollingTimers = {}
const showPlanListDialog = ref(false)
const planStudentId = ref(null)
+const showAnalysisDialog = ref(false)
+const analysisStudentId = ref(null)
const units = ref([])
const unitPageNo = ref(1)
@@ -275,6 +283,10 @@ function onStudentSelectionChange(rows) {
function onViewStudent(row) {
router.push(`/student/${row.id}`)
}
+function onShowAnalysis(row) {
+ analysisStudentId.value = row.id
+ showAnalysisDialog.value = true
+}
function onClassRowClick(row) {
selectedClassId.value = row.id
selectedClassTitle.value = row.title
diff --git a/enlish-vue/src/pages/student.vue b/enlish-vue/src/pages/student.vue
index 71043fa..87fe949 100644
--- a/enlish-vue/src/pages/student.vue
+++ b/enlish-vue/src/pages/student.vue
@@ -49,26 +49,7 @@
词汇掌握热力图
-