|
@@ -1101,7 +1101,6 @@ export default {
|
|
|
}
|
|
|
} else if (item.type == 4) {
|
|
|
//案例题
|
|
|
- console.log(item.jsonStr);
|
|
|
item.ques = [];
|
|
|
item.tabIndex = "0";
|
|
|
let ansArr = [];
|
|
@@ -1326,7 +1325,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
judgeSelectChild(questionIndex, jsonIndex, index) {
|
|
|
- console.log(this.questionList[questionIndex].ques[jsonIndex]);
|
|
|
if (this.questionList[questionIndex].ques[jsonIndex]) return;
|
|
|
this.$set(
|
|
|
this.questionList[questionIndex].ques,
|
|
@@ -1408,7 +1406,6 @@ export default {
|
|
|
item.ques[indexs] &&
|
|
|
(item.ques[indexs].text || item.ques[indexs].imageList.length)
|
|
|
) {
|
|
|
- console.log("chil");
|
|
|
return true;
|
|
|
} else {
|
|
|
return false;
|
|
@@ -1446,8 +1443,6 @@ export default {
|
|
|
|
|
|
question.ques.imageList = question.ansText.imageList;
|
|
|
question.ques.text = question.ansText.text;
|
|
|
-
|
|
|
- console.log(question.ques);
|
|
|
},
|
|
|
ansSubmitChild(question, questionIndex, jsonIndex) {
|
|
|
if (
|
|
@@ -1497,13 +1492,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
isRight(item, index) {
|
|
|
- console.log(item);
|
|
|
//单选
|
|
|
if (this.questionList[index].ques) {
|
|
|
if (item.type == 1) {
|
|
|
- console.log(
|
|
|
- this.questionList[index].ques == this.questionList[index].ans
|
|
|
- );
|
|
|
return this.questionList[index].ques == this.questionList[index].ans;
|
|
|
//多选
|
|
|
} else if (item.type == 2) {
|
|
@@ -1651,7 +1642,6 @@ export default {
|
|
|
//简答题
|
|
|
if (hasSpecail) {
|
|
|
if (item.ques && (item.ques.text || item.ques.imageList.length)) {
|
|
|
- console.log(5, item);
|
|
|
count++;
|
|
|
}
|
|
|
}
|