成绩统计改为柱状图
This commit is contained in:
parent
8ca90b1003
commit
388803eed5
@ -106,12 +106,6 @@ export default {
|
|||||||
});
|
});
|
||||||
localStore.set(this.$route.path, { orgId: this.classList[0].value + '' });
|
localStore.set(this.$route.path, { orgId: this.classList[0].value + '' });
|
||||||
this.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');
|
var chartDom1 = document.getElementById('mychart1');
|
||||||
this.myChart1 = echarts.init(chartDom1);
|
this.myChart1 = echarts.init(chartDom1);
|
||||||
// var chartDom2 = document.getElementById('mychart2');
|
// var chartDom2 = document.getElementById('mychart2');
|
||||||
@ -136,7 +130,7 @@ export default {
|
|||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
data:[],
|
data:[],
|
||||||
type: 'line'
|
type: 'bar'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user