|
@@ -354,6 +354,7 @@ export default {
|
|
|
return b.value - a.value;
|
|
|
});
|
|
|
this.cEvaScore = yzArray;
|
|
|
+
|
|
|
var ctArray = [];
|
|
|
var cxtArray = [];
|
|
|
for (var i = 0; i < cTypeList.length; i++) {
|
|
@@ -447,6 +448,11 @@ export default {
|
|
|
overPer.studyTime = `${sTime}秒`;
|
|
|
}
|
|
|
overPer.sName = this.stuMessage.name;
|
|
|
+ var courseNum = 0;
|
|
|
+ for (var i = 0; i < yzArray.length; i++) {
|
|
|
+ courseNum += yzArray[i].value;
|
|
|
+ }
|
|
|
+ overPer.courseaScore = Math.floor(courseNum / yzArray.length);
|
|
|
this.overPer = overPer;
|
|
|
this.$forceUpdate();
|
|
|
})
|