成绩统计改为柱状图

This commit is contained in:
Yuan 2022-12-08 18:39:02 +08:00
parent 8ca90b1003
commit 388803eed5

View File

@ -106,12 +106,6 @@ export default {
});
localStore.set(this.$route.path, { orgId: this.classList[0].value + '' });
this.orgId = this.classList[0].value;
const res = await getExamLessonDetail(this.$route.query.examId);
if (res.data) {
this.fullPoint = res.data.fullPoint;
this.passingPoint = res.data.passingPoint;
this.duration = res.data.duration;
}
var chartDom1 = document.getElementById('mychart1');
this.myChart1 = echarts.init(chartDom1);
// var chartDom2 = document.getElementById('mychart2');
@ -136,7 +130,7 @@ export default {
series: [
{
data:[],
type: 'line'
type: 'bar'
}
]
};