|
@@ -257,10 +257,14 @@
|
|
|
this.$router.push(`/center/exam/${courseId}`);
|
|
|
},
|
|
|
printCert( ){
|
|
|
- if( this.info.percent < 100 || this.info.score < 60){
|
|
|
+ if( this.info.getXs < this.info.totalXs ){
|
|
|
this.$message.errorMsg("课程还未完成", 2)
|
|
|
return;
|
|
|
}
|
|
|
+ if( this.tpl.examGroupId >0 && this.info.score < 60){
|
|
|
+ this.$message.errorMsg("考试未通过", 2)
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.info.tmpRzCode = this.info.rzCode
|
|
|
this.editRzcode = true
|
|
|
},
|