|
@@ -249,12 +249,8 @@
|
|
|
this.$router.push({path:`/center/exam/${courseId}`, query:{groupId}});
|
|
|
},
|
|
|
printCert( ){
|
|
|
- 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)
|
|
|
+ if( this.info.isPass ==0 ){
|
|
|
+ this.$message.errorMsg("课程未完成", 2)
|
|
|
return;
|
|
|
}
|
|
|
let {id, rzCode} = this.info
|