Commit 89c87563 authored by 黄奎's avatar 黄奎

页面修改

parent f49dff97
......@@ -46,8 +46,18 @@
<tr>
<td>
</td>
<td v-if="isShowAnswer">
答案: {{data.QuestionContentObj[1][index].Name}}
<td>
<template v-if="isShowAnswer">
答案: {{data.QuestionContentObj[1][index].Name}}
</template>
<template v-if="isOperate">
<select v-model="item.Name" class="selectBox" style="margin:10px 0 0 0;outline:none;">
<template v-for="(cItem,cIndex) in data.QuestionContentObj[0]">
<option :key="cIndex" :label="cItem.Name" :value="cItem.Name">
</option>
</template>
</select>
</template>
</td>
</tr>
</tbody>
......@@ -64,7 +74,12 @@
isShowAnswer: {
type: Boolean,
default: false,
}
},
//是否可操作(PC端考试使用【可以点击选中】)
isOperate: {
type: Boolean,
default: false,
},
},
components: {
......@@ -89,4 +104,5 @@
},
}
};
</script>
\ No newline at end of file
</script>
......@@ -307,7 +307,7 @@
<!--共用选择题-->
<v-sharingchoose v-if="dItem.QuestionTypeKey=='sharing-choose'" :questionObj="dItem"
:isShowAnswer="isShowAnswer">
:isShowAnswer="isShowAnswer" :isOperate="isOperate">
</v-sharingchoose>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment