forked from integrated_whb/integrated_whb_vue
🐜 教育培训-平台资源库-试卷管理-调整题目
parent
eb5cd17c49
commit
dccf6f8d49
|
@ -36,67 +36,58 @@
|
|||
{{ data.paperInfo.PANDUITINUMBER }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<div class="study-papg">
|
||||
<dl v-for="(row, i) in data.questionList" :key="row.QUESTION_ID">
|
||||
<dt>
|
||||
{{ i + 1 }}.<span v-if="row.QUESTIONTYPE === '1'" class="mark"
|
||||
>(单选题)</span
|
||||
>
|
||||
<span v-if="row.QUESTIONTYPE === '2'" class="mark">(多选题)</span>
|
||||
<span v-if="row.QUESTIONTYPE === '3'" class="mark">(判断题)</span>
|
||||
|
||||
<template v-for="(row, index) in data.questionList" :key="row.QUESTION_ID">
|
||||
<div>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
{{ index + 1 }}.
|
||||
<el-text v-if="row.QUESTIONTYPE === '1'" type="info">
|
||||
(单选题)
|
||||
</el-text>
|
||||
<el-text v-if="row.QUESTIONTYPE === '2'" type="info">
|
||||
(多选题)
|
||||
</el-text>
|
||||
<el-text v-if="row.QUESTIONTYPE === '3'" type="info">
|
||||
(判断题)
|
||||
</el-text>
|
||||
{{ row.QUESTIONDRY }}
|
||||
</dt>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-space wrap>
|
||||
<el-radio-group
|
||||
v-if="row.QUESTIONTYPE === '1'"
|
||||
:disabled="true"
|
||||
v-model="row.ANSWER"
|
||||
>
|
||||
<dd>
|
||||
<el-radio label="A">A.{{ row.OPTIONA }}</el-radio>
|
||||
</dd>
|
||||
<dd>
|
||||
<el-radio label="B">B.{{ row.OPTIONB }}</el-radio>
|
||||
</dd>
|
||||
<dd>
|
||||
<el-radio label="C">C.{{ row.OPTIONC }}</el-radio>
|
||||
</dd>
|
||||
<dd>
|
||||
<el-radio label="D">D.{{ row.OPTIOND }}</el-radio>
|
||||
</dd>
|
||||
</el-radio-group>
|
||||
<el-checkbox-group
|
||||
v-if="row.QUESTIONTYPE === '2'"
|
||||
:disabled="true"
|
||||
v-model="row.checkList"
|
||||
:model-value="row.ANSWER.split('')"
|
||||
>
|
||||
<dd>
|
||||
<el-checkbox label="A">A.{{ row.OPTIONA }}</el-checkbox>
|
||||
</dd>
|
||||
<dd>
|
||||
<el-checkbox label="B">B.{{ row.OPTIONB }}</el-checkbox>
|
||||
</dd>
|
||||
<dd>
|
||||
<el-checkbox label="C">C.{{ row.OPTIONC }}</el-checkbox>
|
||||
</dd>
|
||||
<dd>
|
||||
<el-checkbox label="D">D.{{ row.OPTIOND }}</el-checkbox>
|
||||
</dd>
|
||||
</el-checkbox-group>
|
||||
<el-radio-group
|
||||
v-if="row.QUESTIONTYPE === '3'"
|
||||
:disabled="true"
|
||||
v-model="row.ANSWER"
|
||||
>
|
||||
<dd>
|
||||
<el-radio label="A">A.{{ row.OPTIONA }}</el-radio>
|
||||
</dd>
|
||||
<dd>
|
||||
<el-radio label="B">B.{{ row.OPTIONB }}</el-radio>
|
||||
</dd>
|
||||
</el-radio-group>
|
||||
<div class="proper">答案:{{ row.ANSWER }}</div>
|
||||
</dl>
|
||||
</el-space>
|
||||
<div>答案:{{ row.ANSWER }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</layout-card>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue