|
@@ -37,10 +37,10 @@
|
|
<view class="flex_auto">{{ item.content }}</view>
|
|
<view class="flex_auto">{{ item.content }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques">
|
|
|
|
|
|
+ <view v-if="bank.ques || allExplain || wrongExplain">
|
|
<view class="pad_8 answer">
|
|
<view class="pad_8 answer">
|
|
<view>正确答案:{{ast[bank.ans-1]}}</view>
|
|
<view>正确答案:{{ast[bank.ans-1]}}</view>
|
|
- <view v-if="!explain">我的答案:{{ast[bank.ques-1]}}</view>
|
|
|
|
|
|
+ <view v-if="!explain">我的答案:{{ast[bank.ques-1] || ''}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="pad_8 answerInfos">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="answerTitle">答案解析</view>
|
|
<view class="answerTitle">答案解析</view>
|
|
@@ -60,7 +60,7 @@
|
|
<view class="flex_auto">{{ item.content }}</view>
|
|
<view class="flex_auto">{{ item.content }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="!bank.ques" class="submit_checkbox" @click="checkboxSubmit(bankIndex)">
|
|
|
|
|
|
+ <view v-if="!bank.ques && !allExplain && !explain && !wrongExplain" class="submit_checkbox" @click="checkboxSubmit(bankIndex)">
|
|
确认答案
|
|
确认答案
|
|
</view>
|
|
</view>
|
|
<view v-if="bank.ques">
|
|
<view v-if="bank.ques">
|
|
@@ -69,7 +69,7 @@
|
|
<view class="flex_auto">{{ item.content }}</view>
|
|
<view class="flex_auto">{{ item.content }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques">
|
|
|
|
|
|
+ <view v-if="bank.ques || allExplain || wrongExplain">
|
|
<view class="pad_8 answer">
|
|
<view class="pad_8 answer">
|
|
<view>正确答案:
|
|
<view>正确答案:
|
|
<text :key="ansItemIndex" v-for="(ansItem,ansItemIndex) in bank.ans">{{ast[ansItem-1]}}</text>
|
|
<text :key="ansItemIndex" v-for="(ansItem,ansItemIndex) in bank.ans">{{ast[ansItem-1]}}</text>
|
|
@@ -102,10 +102,10 @@
|
|
{{ item }}
|
|
{{ item }}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques">
|
|
|
|
|
|
+ <view v-if="bank.ques || allExplain || wrongExplain">
|
|
<view class="pad_8 answer">
|
|
<view class="pad_8 answer">
|
|
<view>正确答案:{{ast[bank.ans]}}</view>
|
|
<view>正确答案:{{ast[bank.ans]}}</view>
|
|
- <view v-if="!explain">我的答案:{{ast[bank.ques]}}</view>
|
|
|
|
|
|
+ <view v-if="!explain">我的答案:{{ast[bank.ques] || ''}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="pad_8 answerInfos">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="answerTitle">答案解析</view>
|
|
<view class="answerTitle">答案解析</view>
|
|
@@ -123,30 +123,30 @@
|
|
<view class="pad_8 titBox">
|
|
<view class="pad_8 titBox">
|
|
<view class="ans">
|
|
<view class="ans">
|
|
<view class="ans_input" v-if="!bank.ques">
|
|
<view class="ans_input" v-if="!bank.ques">
|
|
- <view class="top flex">
|
|
|
|
|
|
+ <view class="top flex" v-if="!allExplain && !explain && !wrongExplain">
|
|
<image :data-index="bankIndex" class="icon" @click="chooseImg(bankIndex)" src="/static/camera.png" mode=""></image>
|
|
<image :data-index="bankIndex" class="icon" @click="chooseImg(bankIndex)" src="/static/camera.png" mode=""></image>
|
|
<view class="progress">{{bank.ansText.imageList.length || '0'}}/4</view>
|
|
<view class="progress">{{bank.ansText.imageList.length || '0'}}/4</view>
|
|
<view class="submit" :class="{disabled:!bank.ansText.text && hasImgs(bank)}" @click="submitAns(bankIndex)" >确认答案</view>
|
|
<view class="submit" :class="{disabled:!bank.ansText.text && hasImgs(bank)}" @click="submitAns(bankIndex)" >确认答案</view>
|
|
</view>
|
|
</view>
|
|
- <view class="textarea">
|
|
|
|
|
|
+ <view class="textarea" v-if="!allExplain && !explain && !wrongExplain">
|
|
<textarea v-model="bank.ansText.text" placeholder="在此输入答案"></textarea>
|
|
<textarea v-model="bank.ansText.text" placeholder="在此输入答案"></textarea>
|
|
</view>
|
|
</view>
|
|
- <view class="imgs">
|
|
|
|
|
|
+ <view class="imgs" v-if="!allExplain && !explain && !wrongExplain">
|
|
<view class="img" v-for="(img,imgIndex) in bank.ansText.imageList" :key="imgIndex">
|
|
<view class="img" v-for="(img,imgIndex) in bank.ansText.imageList" :key="imgIndex">
|
|
<text @click="deleteImg(imgIndex,bankIndex)">x</text>
|
|
<text @click="deleteImg(imgIndex,bankIndex)">x</text>
|
|
<image :src="$method.splitImgHost(img, true)"></image>
|
|
<image :src="$method.splitImgHost(img, true)"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="ans_submit answerInfos" v-if="bank.ques && !explain">
|
|
|
|
|
|
+ <view class="ans_submit answerInfos" v-if="(bank.ques && !explain) || allExplain || wrongExplain">
|
|
<view class="answerTitle">我的答案:</view>
|
|
<view class="answerTitle">我的答案:</view>
|
|
- {{bank.ques.text}}
|
|
|
|
|
|
+ {{bank.ques.text || ''}}
|
|
<view class="imgs">
|
|
<view class="imgs">
|
|
<image class="img" v-for="(ques,quesIndex) in bank.ques.imageList" :key="quesIndex" :src="$method.splitImgHost(ques,true)"></image>
|
|
<image class="img" v-for="(ques,quesIndex) in bank.ques.imageList" :key="quesIndex" :src="$method.splitImgHost(ques,true)"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques">
|
|
|
|
|
|
+ <view v-if="bank.ques || allExplain || explain || wrongExplain">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="answerTitle">答案解析:</view>
|
|
<view class="answerTitle">答案解析:</view>
|
|
<view class="answerContent">
|
|
<view class="answerContent">
|
|
@@ -180,10 +180,10 @@
|
|
<rich-text :nodes="option.content"></rich-text>
|
|
<rich-text :nodes="option.content"></rich-text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques[ansIndex]">
|
|
|
|
|
|
+ <view v-if="bank.ques[ansIndex] || allExplain || wrongExplain">
|
|
<view class="pad_8 answer">
|
|
<view class="pad_8 answer">
|
|
<view>正确答案:{{ast[bank.ans[ansIndex]-1]}}</view>
|
|
<view>正确答案:{{ast[bank.ans[ansIndex]-1]}}</view>
|
|
- <view v-if="!explain">我的答案:{{ast[bank.ques[ansIndex]-1]}}</view>
|
|
|
|
|
|
+ <view v-if="!explain">我的答案:{{ast[bank.ques[ansIndex]-1] || ''}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="pad_8 answerInfos">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="answerTitle">答案解析</view>
|
|
<view class="answerTitle">答案解析</view>
|
|
@@ -201,7 +201,7 @@
|
|
<rich-text :nodes="option.content"></rich-text>
|
|
<rich-text :nodes="option.content"></rich-text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="!bank.ques[ansIndex]" class="submit_checkbox" @click="checkboxSubmitChild(bankIndex,ansIndex)">
|
|
|
|
|
|
+ <view v-if="!bank.ques[ansIndex] && !allExplain && !explain && !wrongExplain" class="submit_checkbox" @click="checkboxSubmitChild(bankIndex,ansIndex)">
|
|
确认答案
|
|
确认答案
|
|
</view>
|
|
</view>
|
|
<view v-if="bank.ques && bank.ques[ansIndex]">
|
|
<view v-if="bank.ques && bank.ques[ansIndex]">
|
|
@@ -210,7 +210,7 @@
|
|
<rich-text :nodes="option.content"></rich-text>
|
|
<rich-text :nodes="option.content"></rich-text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques[ansIndex]">
|
|
|
|
|
|
+ <view v-if="bank.ques[ansIndex] || allExplain || explain || wrongExplain">
|
|
<view class="pad_8 answer">
|
|
<view class="pad_8 answer">
|
|
<view>正确答案:
|
|
<view>正确答案:
|
|
<text :key="ansItemIndex1" v-for="(ansItem1,ansItemIndex1) in bank.ans[ansIndex]">{{ast[ansItem1-1]}}</text>
|
|
<text :key="ansItemIndex1" v-for="(ansItem1,ansItemIndex1) in bank.ans[ansIndex]">{{ast[ansItem1-1]}}</text>
|
|
@@ -241,10 +241,10 @@
|
|
{{ option }}
|
|
{{ option }}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques[ansIndex]">
|
|
|
|
|
|
+ <view v-if="bank.ques[ansIndex] || allExplain || explain || wrongExplain">
|
|
<view class="pad_8 answer">
|
|
<view class="pad_8 answer">
|
|
<view>正确答案:{{ast[bank.ans[ansIndex]]}}</view>
|
|
<view>正确答案:{{ast[bank.ans[ansIndex]]}}</view>
|
|
- <view v-if="!explain">我的答案:{{ast[bank.ques[ansIndex]]}}</view>
|
|
|
|
|
|
+ <view v-if="!explain">我的答案:{{ast[bank.ques[ansIndex]] || ''}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="pad_8 answerInfos">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="answerTitle">答案解析</view>
|
|
<view class="answerTitle">答案解析</view>
|
|
@@ -260,30 +260,30 @@
|
|
<template v-if="ansItem.type == 5">
|
|
<template v-if="ansItem.type == 5">
|
|
<view class="ans">
|
|
<view class="ans">
|
|
<view class="ans_input" v-if="!bank.ques[ansIndex]">
|
|
<view class="ans_input" v-if="!bank.ques[ansIndex]">
|
|
- <view class="top flex">
|
|
|
|
|
|
+ <view class="top flex" v-if="!allExplain && !explain && !wrongExplain">
|
|
<image class="icon" @click="chooseImgChild(bankIndex,ansIndex)" src="/static/08-10_032.jpg" mode=""></image>
|
|
<image class="icon" @click="chooseImgChild(bankIndex,ansIndex)" src="/static/08-10_032.jpg" mode=""></image>
|
|
<view class="progress">{{ansItem.ansText.imageList.length || '0'}}/4</view>
|
|
<view class="progress">{{ansItem.ansText.imageList.length || '0'}}/4</view>
|
|
<view class="submit" :class="{disabled:!ansItem.ansText.text && hasImgs(ansItem)}" @click="submitAnsChild(bankIndex,ansIndex)">确认答案</view>
|
|
<view class="submit" :class="{disabled:!ansItem.ansText.text && hasImgs(ansItem)}" @click="submitAnsChild(bankIndex,ansIndex)">确认答案</view>
|
|
</view>
|
|
</view>
|
|
- <view class="textarea">
|
|
|
|
|
|
+ <view class="textarea" v-if="!allExplain && !explain && !wrongExplain">
|
|
<textarea v-model="ansItem.ansText.text" placeholder="在此输入答案"></textarea>
|
|
<textarea v-model="ansItem.ansText.text" placeholder="在此输入答案"></textarea>
|
|
</view>
|
|
</view>
|
|
- <view class="imgs">
|
|
|
|
|
|
+ <view class="imgs" v-if="!allExplain && !explain && !wrongExplain">
|
|
<view class="img" v-for="(img,imgIndex) in ansItem.ansText.imageList" :key="imgIndex">
|
|
<view class="img" v-for="(img,imgIndex) in ansItem.ansText.imageList" :key="imgIndex">
|
|
<text @click="deleteImgChild(imgIndex,bankIndex,ansIndex)">x</text>
|
|
<text @click="deleteImgChild(imgIndex,bankIndex,ansIndex)">x</text>
|
|
<image :src="$method.splitImgHost(img, true)"></image>
|
|
<image :src="$method.splitImgHost(img, true)"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="ans_submit answerInfos" v-if="bank.ques[ansIndex] && !explain">
|
|
|
|
|
|
+ <view class="ans_submit answerInfos" v-if="(bank.ques[ansIndex] && !explain) || allExplain || wrongExplain">
|
|
<view class="answerTitle">答案我的</view>
|
|
<view class="answerTitle">答案我的</view>
|
|
- {{bank.ques[ansIndex].text}}
|
|
|
|
|
|
+ {{bank.ques[ansIndex].text || ''}}
|
|
<view class="imgs">
|
|
<view class="imgs">
|
|
<image class="img" :key="quesIndex" v-for="(ques,quesIndex) in bank.ques[ansIndex].imageList" :src="$method.splitImgHost(ques,true)"></image>
|
|
<image class="img" :key="quesIndex" v-for="(ques,quesIndex) in bank.ques[ansIndex].imageList" :src="$method.splitImgHost(ques,true)"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="bank.ques[ansIndex]">
|
|
|
|
|
|
+ <view v-if="bank.ques[ansIndex] || allExplain || explain || wrongExplain">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="pad_8 answerInfos">
|
|
<view class="answerTitle">答案解析</view>
|
|
<view class="answerTitle">答案解析</view>
|
|
<view class="answerContent">
|
|
<view class="answerContent">
|
|
@@ -302,7 +302,7 @@
|
|
|
|
|
|
|
|
|
|
<view class="footer_btn" v-if="isContinue || !isHistory">
|
|
<view class="footer_btn" v-if="isContinue || !isHistory">
|
|
- <view class="collect" :class="{ show: goodsId ? true : false }" @click="collect(collectList[bankIndex], bankIndex)">
|
|
|
|
|
|
+ <view class="collect" :class="{ show: goodsId && !allExplain && !wrongExplain ? true : false }" @click="collect(collectList[bankIndex], bankIndex)">
|
|
<view v-if="collectList[bankIndex]">
|
|
<view v-if="collectList[bankIndex]">
|
|
<image src="/static/icon/collected.png" mode=""></image>
|
|
<image src="/static/icon/collected.png" mode=""></image>
|
|
<view>取消收藏</view>
|
|
<view>取消收藏</view>
|
|
@@ -318,7 +318,7 @@
|
|
</view>
|
|
</view>
|
|
答题卡
|
|
答题卡
|
|
</view>
|
|
</view>
|
|
- <view class="collect" :class="{ show: explain ? false : true }" @click="pdsubmit">
|
|
|
|
|
|
+ <view class="collect" :class="{ show: explain || allExplain || wrongExplain ? false : true }" @click="pdsubmit">
|
|
<view>
|
|
<view>
|
|
<image src="/static/jj.png" mode=""></image>
|
|
<image src="/static/jj.png" mode=""></image>
|
|
<view>交卷</view>
|
|
<view>交卷</view>
|
|
@@ -397,7 +397,7 @@ export default {
|
|
collectList:[],
|
|
collectList:[],
|
|
goodsId:'',
|
|
goodsId:'',
|
|
recordId:'',
|
|
recordId:'',
|
|
- explain:'', //是否显示答案
|
|
|
|
|
|
+ explain:'', //是否是解析答案
|
|
isContinue:'', //是否继续做题
|
|
isContinue:'', //是否继续做题
|
|
isLastCount: false, //是否有未答题目
|
|
isLastCount: false, //是否有未答题目
|
|
lastCount: 0, //剩余没有回答的题目数
|
|
lastCount: 0, //剩余没有回答的题目数
|
|
@@ -405,18 +405,22 @@ export default {
|
|
moduleId:'',
|
|
moduleId:'',
|
|
isHistory:'', //是否显示历史答题记录
|
|
isHistory:'', //是否显示历史答题记录
|
|
isSubmit:false,
|
|
isSubmit:false,
|
|
|
|
+ allExplain:'', //是否显示全部解析+错题记录
|
|
|
|
+ wrongExplain:'', //是否是错题解析
|
|
cgType: 0 //对应设计稿弹窗编码
|
|
cgType: 0 //对应设计稿弹窗编码
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad(option){
|
|
onLoad(option){
|
|
- this.id = option.id;
|
|
|
|
- this.explain = option.explain;
|
|
|
|
- this.isContinue = option.continue;
|
|
|
|
- this.goodsId = option.goodsid;
|
|
|
|
- this.chapterId = option.chapterId;
|
|
|
|
- this.moduleId = option.moduleId;
|
|
|
|
- this.recordId = option.recordId;
|
|
|
|
- this.isHistory = option.isHistory;
|
|
|
|
|
|
+ this.allExplain = option.allExplain || '';
|
|
|
|
+ this.id = option.id || '';
|
|
|
|
+ this.explain = option.explain || '';
|
|
|
|
+ this.isContinue = option.continue || '';
|
|
|
|
+ this.goodsId = option.goodsid || '';
|
|
|
|
+ this.chapterId = option.chapterId || '';
|
|
|
|
+ this.moduleId = option.moduleId || '';
|
|
|
|
+ this.recordId = option.recordId || '';
|
|
|
|
+ this.isHistory = option.isHistory || '';
|
|
|
|
+ this.wrongExplain = option.wrongExplain || '';
|
|
|
|
|
|
let showDialog = uni.getStorageSync('showDialog');
|
|
let showDialog = uni.getStorageSync('showDialog');
|
|
|
|
|
|
@@ -587,7 +591,7 @@ export default {
|
|
|
|
|
|
this.questionList = json;
|
|
this.questionList = json;
|
|
})
|
|
})
|
|
- } else { //解析
|
|
|
|
|
|
+ } else if(this.explain){ //解析
|
|
this.$api.goodsQuestionList({
|
|
this.$api.goodsQuestionList({
|
|
examId:this.id
|
|
examId:this.id
|
|
}).then(res => {
|
|
}).then(res => {
|
|
@@ -677,9 +681,38 @@ export default {
|
|
|
|
|
|
this.questionList = res.data.data;
|
|
this.questionList = res.data.data;
|
|
this.getCollectInfo(this.current);
|
|
this.getCollectInfo(this.current);
|
|
- console.log(this.questionList)
|
|
|
|
|
|
|
|
})
|
|
})
|
|
|
|
+ } else if(this.allExplain) { //全部解析(带错题选项)
|
|
|
|
+ this.$api.examReport(this.recordId).then(res => {
|
|
|
|
+ this.questionList = JSON.parse(res.data.data.historyExamJson)
|
|
|
|
+ })
|
|
|
|
+ } else if(this.wrongExplain) {
|
|
|
|
+ this.$api.examReport(this.recordId).then(res => {
|
|
|
|
+ let questionList = JSON.parse(res.data.data.historyExamJson);
|
|
|
|
+
|
|
|
|
+ questionList.forEach(json => { //只获取类型1,2,3 单选,多选,判断 ,主观题灭有对错
|
|
|
|
+ if(json.type == 1 || json.type == 3) { //单选判断
|
|
|
|
+ if(json.ans != json.ques) {
|
|
|
|
+ this.questionList.push(json)
|
|
|
|
+ }
|
|
|
|
+ } else if(json.type == 2) { //判断是否全对
|
|
|
|
+ let isRight =
|
|
|
|
+ json.ans.every((quesItem, quesIndex) => {
|
|
|
|
+ if(json.ques) {
|
|
|
|
+ return json.ques[quesIndex] == json.ans[quesIndex];
|
|
|
|
+ } else {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ if (!isRight) {
|
|
|
|
+ this.questionList.push(json)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
@@ -776,6 +809,10 @@ export default {
|
|
* @param {Object} e单选点击
|
|
* @param {Object} e单选点击
|
|
*/
|
|
*/
|
|
radioSelectChild(optionsId,ansIndex,bindex) {
|
|
radioSelectChild(optionsId,ansIndex,bindex) {
|
|
|
|
+
|
|
|
|
+ if(this.allExplain || this.wrongExplain || this.explain) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if(this.questionList[bindex].ques[ansIndex]) return;
|
|
if(this.questionList[bindex].ques[ansIndex]) return;
|
|
this.$set(this.questionList[bindex].ques,ansIndex,optionsId)
|
|
this.$set(this.questionList[bindex].ques,ansIndex,optionsId)
|
|
|
|
|
|
@@ -786,7 +823,9 @@ export default {
|
|
* @param {Object} 多选点击
|
|
* @param {Object} 多选点击
|
|
*/
|
|
*/
|
|
checkboxSelect(optionsId,bindex,index) {
|
|
checkboxSelect(optionsId,bindex,index) {
|
|
-
|
|
|
|
|
|
+ if(this.allExplain || this.wrongExplain || this.explain) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
this.$set(this.questionList[bindex].jsonStr[index],'checked',!this.questionList[bindex].jsonStr[index].checked)
|
|
this.$set(this.questionList[bindex].jsonStr[index],'checked',!this.questionList[bindex].jsonStr[index].checked)
|
|
},
|
|
},
|
|
|
|
|
|
@@ -794,7 +833,9 @@ export default {
|
|
* @param {Object} 多选点击
|
|
* @param {Object} 多选点击
|
|
*/
|
|
*/
|
|
checkboxSelectChild(bindex,ansIndex,childIndex) {
|
|
checkboxSelectChild(bindex,ansIndex,childIndex) {
|
|
-
|
|
|
|
|
|
+ if(this.allExplain || this.wrongExplain || this.explain) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
this.$set(this.questionList[bindex].jsonStr[ansIndex].optionsList[childIndex],'checked',!this.questionList[bindex].jsonStr[ansIndex].optionsList[childIndex].checked)
|
|
this.$set(this.questionList[bindex].jsonStr[ansIndex].optionsList[childIndex],'checked',!this.questionList[bindex].jsonStr[ansIndex].optionsList[childIndex].checked)
|
|
},
|
|
},
|
|
|
|
|
|
@@ -984,12 +1025,18 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
judgeSelect(index,bindex) {
|
|
judgeSelect(index,bindex) {
|
|
|
|
+ if(this.allExplain || this.wrongExplain || this.explain) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if(this.questionList[bindex].ques) return;
|
|
if(this.questionList[bindex].ques) return;
|
|
this.$set(this.questionList[bindex],'ques',index+'')
|
|
this.$set(this.questionList[bindex],'ques',index+'')
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
judgeSelectChild(ansindex,childindex,bindex) {
|
|
judgeSelectChild(ansindex,childindex,bindex) {
|
|
|
|
+ if(this.allExplain || this.wrongExplain || this.explain) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if(this.questionList[bindex].ques[ansindex]) return;
|
|
if(this.questionList[bindex].ques[ansindex]) return;
|
|
this.$set(this.questionList[bindex].ques,ansindex,childindex+'')
|
|
this.$set(this.questionList[bindex].ques,ansindex,childindex+'')
|
|
},
|
|
},
|