|
@@ -430,6 +430,20 @@ export default {
|
|
|
open() {
|
|
|
this.modalIsShow = true;
|
|
|
},
|
|
|
+ resetData() {
|
|
|
+ this.commonInfo = {};
|
|
|
+ this.courseBasicInfo = {};
|
|
|
+ this.paperStructs = [];
|
|
|
+ this.questionInfoTable = [];
|
|
|
+ this.courseTargetList = [];
|
|
|
+ this.courseTargetValue = 0.67;
|
|
|
+ this.questionInfoChartOption = null;
|
|
|
+ this.courseTargetListChartOption = null;
|
|
|
+ this.courseTargets = [];
|
|
|
+ this.targetColumnCounts = [];
|
|
|
+ this.studentScoreTable = [];
|
|
|
+ this.downloading = false;
|
|
|
+ },
|
|
|
buildData(data) {
|
|
|
this.commonInfo = data.commonInfo;
|
|
|
this.courseBasicInfo = data.courseBasicInfo;
|
|
@@ -462,6 +476,8 @@ export default {
|
|
|
this.parseStudentScoreTable(examStudentList);
|
|
|
},
|
|
|
async initData() {
|
|
|
+ this.resetData();
|
|
|
+
|
|
|
await this.checkChange();
|
|
|
const data = await targetReportDetail({
|
|
|
examId: this.course.examId,
|