|
@@ -245,7 +245,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.$api.reportStudent.queryHistoryExamData({...param}).then((res) => {
|
|
this.$api.reportStudent.queryHistoryExamData({...param}).then((res) => {
|
|
|
if (res.code == 200 && res.data) {
|
|
if (res.code == 200 && res.data) {
|
|
|
- const detailData = res.data?.detailData || [];
|
|
|
|
|
|
|
+ const detailData = (res.data?.detailData || []).reverse();
|
|
|
this.historyExamData.chartData = detailData;
|
|
this.historyExamData.chartData = detailData;
|
|
|
this.historyExamData.selectNames = res.data.selectNames || [];
|
|
this.historyExamData.selectNames = res.data.selectNames || [];
|
|
|
this.historyExamData.selectVal = this.historyExamData?.selectNames?.[0]?.prop ?? '';
|
|
this.historyExamData.selectVal = this.historyExamData?.selectNames?.[0]?.prop ?? '';
|