|
|
@@ -154,7 +154,7 @@
|
|
|
this.getClassUserRank();
|
|
|
},
|
|
|
// 分队展示
|
|
|
- UniteBreak(Rs,PlanId) {
|
|
|
+ UniteBreak(Rs, PlanId) {
|
|
|
let that = this;
|
|
|
that.students.redUnite = [];
|
|
|
that.students.blueUnite = [];
|
|
|
@@ -175,7 +175,7 @@
|
|
|
// return b.Cle - a.Cle;
|
|
|
return b.Ck - a.Ck;
|
|
|
});
|
|
|
- that.calcSumCK(that.students,PlanId);
|
|
|
+ that.calcSumCK(that.students, PlanId);
|
|
|
},
|
|
|
jumpWait(totalTime) {
|
|
|
// 倒计时60秒自动关闭
|
|
|
@@ -193,7 +193,7 @@
|
|
|
}, 1000)
|
|
|
},
|
|
|
// 计算各队总分
|
|
|
- calcSumCK(Rs,PlanId) {
|
|
|
+ calcSumCK(Rs, PlanId) {
|
|
|
let that = this;
|
|
|
let redSum = 0;
|
|
|
let blueSum = 0;
|
|
|
@@ -221,7 +221,7 @@
|
|
|
that.students.redUnite = [];
|
|
|
that.students.blueUnite = [];
|
|
|
if (json.Code == 0) {
|
|
|
- that.UniteBreak(json.Rs,json.Dp.PlanId);
|
|
|
+ that.UniteBreak(json.Rs, json.Dp.PlanId);
|
|
|
let totalTime = 40;
|
|
|
let Studenlength = 0;
|
|
|
if (json.Rs) {
|
|
|
@@ -262,7 +262,8 @@
|
|
|
if (json.Code == 0) {
|
|
|
console.log('竞技课程结果上传成功dpid:' + dpId + ' groupNo:' + groupNo);
|
|
|
} else {
|
|
|
- that.$message.error(json.Memo);
|
|
|
+ console.log('code:' + json.Code + 'memo:' + json.Memo);
|
|
|
+ // that.$message.error(json.Memo);
|
|
|
}
|
|
|
})
|
|
|
}
|