|
@@ -1374,15 +1374,15 @@ export default {
|
|
|
return new Promise(resolve => {
|
|
|
let self = this
|
|
|
let questionList = 0;
|
|
|
- if(!hasSpecial) {
|
|
|
+ // if(!hasSpecial) {
|
|
|
this.questionList.forEach((item, index) => {
|
|
|
if(item.type == 1 || item.type == 2 || item.type == 3) {
|
|
|
questionList++;
|
|
|
}
|
|
|
})
|
|
|
- } else {
|
|
|
- questionList = this.questionList.length;
|
|
|
- }
|
|
|
+ // } else {
|
|
|
+ // questionList = this.questionList.length;
|
|
|
+ // }
|
|
|
|
|
|
this.$api
|
|
|
.bankRecord({
|
|
@@ -1391,7 +1391,8 @@ export default {
|
|
|
examId: this.id,
|
|
|
goodsId: this.goodsId,
|
|
|
gradeId:this.gradeId,
|
|
|
- totalQuestionNum: questionList
|
|
|
+ totalQuestionNum: questionList,
|
|
|
+ allQuestionNum:this.questionList.length
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.recordId = res.data.data;
|