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 @@