// 发布成绩
publishedResults(item) {
// console.log(item);
console.log(item.subjects);
let bool = true;
item.subjects.forEach((item, i) => {
// console.log(item.ifEndMark);
if (item.ifEndMark == 0) {
this.$message("当前考试有科目未结束阅卷!");
bool = false;
return;
}
});
if (bool) {
item.ifRelease = 1;
}
console.log(item);
},
网友评论