|
|
@@ -1266,6 +1266,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if (res.data.erJianErZao) {
|
|
|
+ self.needPhoto = true;
|
|
|
+ }
|
|
|
+
|
|
|
resolve();
|
|
|
});
|
|
|
});
|
|
|
@@ -1721,7 +1725,7 @@ export default {
|
|
|
showClose: false
|
|
|
}
|
|
|
).then(() => {
|
|
|
- this.mustBack = true
|
|
|
+ this.mustBack = true;
|
|
|
this.$router.go(-1);
|
|
|
});
|
|
|
},
|
|
|
@@ -1747,7 +1751,7 @@ export default {
|
|
|
distinguishCancelAndClose: false,
|
|
|
showClose: false
|
|
|
}).then(() => {
|
|
|
- this.mustBack = true
|
|
|
+ this.mustBack = true;
|
|
|
this.$router.go(-1);
|
|
|
});
|
|
|
}
|
|
|
@@ -1788,7 +1792,7 @@ export default {
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.recordId = res.data;
|
|
|
- console.error(self.needPhoto , this.type , this.learning)
|
|
|
+ console.error(self.needPhoto, this.type, this.learning);
|
|
|
// 节不需要拍照
|
|
|
if (self.needPhoto && this.type != 2 && !this.learning) {
|
|
|
this.openPhoto();
|
|
|
@@ -2609,7 +2613,7 @@ export default {
|
|
|
moduleId: this.moduleId,
|
|
|
type: this.type,
|
|
|
examId: this.examId,
|
|
|
- orderGoodsId: this.orderGoodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.learning = res.data;
|
|
|
@@ -2761,7 +2765,7 @@ export default {
|
|
|
//交卷
|
|
|
next();
|
|
|
} else {
|
|
|
- next(false)
|
|
|
+ next(false);
|
|
|
//离开
|
|
|
let ansCount = this.questionOverNum(true); //已答题数
|
|
|
this.lastCount = this.questionList.length - ansCount; //统计未答完的题数
|