From e5240b10cac48af3b26f7942794ed6faaa5330c6 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Fri, 15 Apr 2022 15:26:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/management/userexam.js | 9 ++
src/layout/components/Logout.vue | 2 +-
.../examManage/gradeStatistics.vue | 1 +
.../organization/studentStatistics/index.vue | 100 ++++++++++--------
4 files changed, 64 insertions(+), 48 deletions(-)
diff --git a/src/api/management/userexam.js b/src/api/management/userexam.js
index 36908ee4c..b19683b4d 100644
--- a/src/api/management/userexam.js
+++ b/src/api/management/userexam.js
@@ -74,3 +74,12 @@ export function getClassGradeStatistic(orgId, examId) {
method: 'get'
});
}
+
+/** 查询组织学生单次考试成绩曲线 */
+export function getStuGradeStatistic() {
+ return request({
+ url: `/api/userExam/curve/personal`,
+ method: 'get'
+ });
+}
+
diff --git a/src/layout/components/Logout.vue b/src/layout/components/Logout.vue
index 27f5818c2..4e39503e7 100644
--- a/src/layout/components/Logout.vue
+++ b/src/layout/components/Logout.vue
@@ -73,7 +73,7 @@ export default {
this.$router.push({ path: `/info/organization` });
},
handleStatistics(){
- this.$router.push({ path: `/info/gradeStatistics` });
+ this.$router.push({ path: `/info/studentStatistics` });
}
}
};
diff --git a/src/views/organization/examManage/gradeStatistics.vue b/src/views/organization/examManage/gradeStatistics.vue
index c27096a8d..39853811d 100644
--- a/src/views/organization/examManage/gradeStatistics.vue
+++ b/src/views/organization/examManage/gradeStatistics.vue
@@ -45,6 +45,7 @@ export default {
return {
orgId:'',
myChart1:null,
+ myChart2:null,
userNameList:[],
gradeList:[],
classList:[],
diff --git a/src/views/organization/studentStatistics/index.vue b/src/views/organization/studentStatistics/index.vue
index eb3cbfbb4..818324afb 100644
--- a/src/views/organization/studentStatistics/index.vue
+++ b/src/views/organization/studentStatistics/index.vue
@@ -1,41 +1,16 @@