题目详情字段更改
This commit is contained in:
parent
68cd027a59
commit
8d3a51a604
|
@ -40,7 +40,7 @@
|
|||
<a-textarea placeholder="" :rows="6" v-model="radio.answerD" style="width: 100%" />
|
||||
</a-card>
|
||||
<a-card title="答案解析" :bordered="false">
|
||||
<a-textarea placeholder="" :rows="6" v-model="radio.asnwerParse" style="width: 100%" />
|
||||
<a-textarea placeholder="" :rows="6" v-model="radio.answerParse" style="width: 100%" />
|
||||
</a-card>
|
||||
</a-radio-group>
|
||||
</a-tab-pane>
|
||||
|
@ -95,7 +95,7 @@
|
|||
</a-card>
|
||||
</a-checkbox-group>
|
||||
<a-card title="答案解析" :bordered="false">
|
||||
<a-textarea placeholder="" :rows="6" v-model="multiselect.asnwerParse" style="width: 100%" />
|
||||
<a-textarea placeholder="" :rows="6" v-model="multiselect.answerParse" style="width: 100%" />
|
||||
</a-card>
|
||||
</a-tab-pane>
|
||||
|
||||
|
@ -113,7 +113,7 @@
|
|||
</template>
|
||||
</a-card>
|
||||
<a-card title="答案解析" :bordered="false">
|
||||
<a-textarea placeholder="" :rows="6" v-model="estimate.asnwerParse" style="width: 100%" />
|
||||
<a-textarea placeholder="" :rows="6" v-model="estimate.answerParse" style="width: 100%" />
|
||||
</a-card>
|
||||
</a-radio-group>
|
||||
</a-tab-pane>
|
||||
|
@ -128,7 +128,7 @@
|
|||
<a-textarea placeholder="" :rows="6" v-model="shortAnswer.rightAnswers" style="width: 100%" />
|
||||
</a-card>
|
||||
<a-card title="答案解析" :bordered="false">
|
||||
<a-textarea placeholder="" :rows="6" v-model="shortAnswer.asnwerParse" style="width: 100%" />
|
||||
<a-textarea placeholder="" :rows="6" v-model="shortAnswer.answerParse" style="width: 100%" />
|
||||
</a-card>
|
||||
</a-tab-pane>
|
||||
|
||||
|
@ -151,7 +151,7 @@
|
|||
</div>
|
||||
</a-card>
|
||||
<a-card title="答案解析" :bordered="false">
|
||||
<a-textarea placeholder="" :rows="6" v-model="Completion.asnwerParse" style="width: 100%" />
|
||||
<a-textarea placeholder="" :rows="6" v-model="Completion.answerParse" style="width: 100%" />
|
||||
</a-card>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
</div>
|
||||
|
||||
<!-- 显示简答题 -->
|
||||
<div v-if="questionDetail.questionType == 4">
|
||||
<div v-if="questionDetail.questionType == 4 || questionDetail.questionType == 3">
|
||||
<div class="answer">正确答案: {{ questionDetail.rightAnswers }}</div>
|
||||
</div>
|
||||
|
||||
|
@ -64,7 +64,7 @@
|
|||
<div class="info_parent" v-if="quesitonList != null && quesitonList.length != 0">
|
||||
<div class="info">解析</div>
|
||||
<div class="info_main">
|
||||
{{ questionDetail.asnwerParse }}
|
||||
{{ questionDetail.answerParse }}
|
||||
</div>
|
||||
</div>
|
||||
<a-divider :style="{ backgroundColor: '#000' }" />
|
||||
|
@ -143,6 +143,13 @@ export default {
|
|||
if (this.questionDetail.questionType == '3') this.questionDetail.questionTypeName = '判断题'
|
||||
if (this.questionDetail.questionType == '4') this.questionDetail.questionTypeName = '简答题'
|
||||
if (this.questionDetail.questionType == '5') this.questionDetail.questionTypeName = '填空题'
|
||||
|
||||
if(this.questionDetail.questionType == 3 && this.questionDetail.rightAnswers == 1) {
|
||||
this.questionDetail.rightAnswers = '正确'
|
||||
} else {
|
||||
this.questionDetail.rightAnswers = '错误'
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue