|
@@ -257,7 +257,7 @@ export default {
|
|
|
];
|
|
];
|
|
|
data.push(outPutInfo);
|
|
data.push(outPutInfo);
|
|
|
}
|
|
}
|
|
|
- console.log(data);
|
|
|
|
|
|
|
+ // console.log(data);
|
|
|
const [fileName, fileType, sheetName] = ["学生成绩", "xlsx", "成绩"];
|
|
const [fileName, fileType, sheetName] = ["学生成绩", "xlsx", "成绩"];
|
|
|
toExcel({ th, data, fileName, fileType, sheetName });
|
|
toExcel({ th, data, fileName, fileType, sheetName });
|
|
|
},
|
|
},
|
|
@@ -303,7 +303,7 @@ export default {
|
|
|
resultPercentList.push(reviewHw);
|
|
resultPercentList.push(reviewHw);
|
|
|
}
|
|
}
|
|
|
this.resultPercentList = resultPercentList;
|
|
this.resultPercentList = resultPercentList;
|
|
|
- console.log(resultPercentList);
|
|
|
|
|
|
|
+ // console.log(resultPercentList);
|
|
|
},
|
|
},
|
|
|
//统计学生成绩分段
|
|
//统计学生成绩分段
|
|
|
studenResultStatistics(studentResults) {
|
|
studenResultStatistics(studentResults) {
|
|
@@ -430,8 +430,8 @@ export default {
|
|
|
codePercentList,
|
|
codePercentList,
|
|
|
reviewPercentList
|
|
reviewPercentList
|
|
|
)
|
|
)
|
|
|
- .then(res => {
|
|
|
|
|
- console.log(res);
|
|
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ // console.log(res);
|
|
|
this.$toast.open({
|
|
this.$toast.open({
|
|
|
message: "成绩比例调整成功",
|
|
message: "成绩比例调整成功",
|
|
|
type: "is-success"
|
|
type: "is-success"
|
|
@@ -442,7 +442,7 @@ export default {
|
|
|
this.getFinalResult(this.data);
|
|
this.getFinalResult(this.data);
|
|
|
this.studenResultStatistics(this.studentFinalResultList);
|
|
this.studenResultStatistics(this.studentFinalResultList);
|
|
|
let myChart2 = this.myChart2;
|
|
let myChart2 = this.myChart2;
|
|
|
- console.log(myChart2);
|
|
|
|
|
|
|
+ // console.log(myChart2);
|
|
|
myChart2.data.datasets[0].data = this.studentResultChartData;
|
|
myChart2.data.datasets[0].data = this.studentResultChartData;
|
|
|
myChart2.update();
|
|
myChart2.update();
|
|
|
})
|
|
})
|