|
@@ -37,35 +37,35 @@
|
|
|
:key="examQuestion.order"
|
|
|
>
|
|
|
<div style="margin-bottom: -45px;">{{examQuestion.groupOrder}}、</div>
|
|
|
- <template v-if="question && examQuestion.questionType === 'SINGLE_CHOICE'">
|
|
|
+ <template v-if="question && question.questionType === 'SINGLE_CHOICE' && examQuestion.questionType === 'SINGLE_CHOICE'">
|
|
|
<single-question-view
|
|
|
:question="question"
|
|
|
:examQuestion="examQuestion"
|
|
|
:key="examQuestion.order"
|
|
|
/>
|
|
|
</template>
|
|
|
- <template v-if="question && examQuestion.questionType === 'MULTIPLE_CHOICE'">
|
|
|
+ <template v-if="question && question.questionType === 'MULTIPLE_CHOICE' && examQuestion.questionType === 'MULTIPLE_CHOICE'">
|
|
|
<multiple-question-view
|
|
|
:question="question"
|
|
|
:examQuestion="examQuestion"
|
|
|
:key="examQuestion.order"
|
|
|
/>
|
|
|
</template>
|
|
|
- <template v-if="question && examQuestion.questionType === 'TRUE_OR_FALSE'">
|
|
|
+ <template v-if="question && question.questionType === 'TRUE_OR_FALSE' && examQuestion.questionType === 'TRUE_OR_FALSE'">
|
|
|
<boolean-question-view
|
|
|
:question="question"
|
|
|
:examQuestion="examQuestion"
|
|
|
:key="examQuestion.order"
|
|
|
/>
|
|
|
</template>
|
|
|
- <template v-if="question && examQuestion.questionType === 'FILL_UP'">
|
|
|
+ <template v-if="question && question.questionType === 'FILL_UP' && examQuestion.questionType === 'FILL_UP'">
|
|
|
<fill-blank-question-view
|
|
|
:question="question"
|
|
|
:examQuestion="examQuestion"
|
|
|
:key="examQuestion.order"
|
|
|
/>
|
|
|
</template>
|
|
|
- <template v-if="question && examQuestion.questionType === 'ESSAY'">
|
|
|
+ <template v-if="question && question.questionType === 'ESSAY' && examQuestion.questionType === 'ESSAY'">
|
|
|
<text-question-view
|
|
|
:question="question"
|
|
|
:examQuestion="examQuestion"
|