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

页面修改

parent f49dff97
...@@ -46,8 +46,18 @@ ...@@ -46,8 +46,18 @@
<tr> <tr>
<td> <td>
</td> </td>
<td v-if="isShowAnswer"> <td>
答案: {{data.QuestionContentObj[1][index].Name}} <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> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -64,7 +74,12 @@ ...@@ -64,7 +74,12 @@
isShowAnswer: { isShowAnswer: {
type: Boolean, type: Boolean,
default: false, default: false,
} },
//是否可操作(PC端考试使用【可以点击选中】)
isOperate: {
type: Boolean,
default: false,
},
}, },
components: { components: {
...@@ -89,4 +104,5 @@ ...@@ -89,4 +104,5 @@
}, },
} }
}; };
</script>
\ No newline at end of file </script>
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
<!--共用选择题--> <!--共用选择题-->
<v-sharingchoose v-if="dItem.QuestionTypeKey=='sharing-choose'" :questionObj="dItem" <v-sharingchoose v-if="dItem.QuestionTypeKey=='sharing-choose'" :questionObj="dItem"
:isShowAnswer="isShowAnswer"> :isShowAnswer="isShowAnswer" :isOperate="isOperate">
</v-sharingchoose> </v-sharingchoose>
</div> </div>
</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