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