|
|
|
@ -68,30 +68,31 @@ |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="userAnswer" label="学生答案" align="center"> |
|
|
|
|
<el-table-column prop="answer" label="参考答案" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div v-if=' scope.row.lcRuleRecords'> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords"> |
|
|
|
|
<span>{{index+1}}. </span>{{item.userAnswer}} |
|
|
|
|
<span>{{index+1}}. </span>{{item.ruleAnswer}} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
{{scope.row.answer}} |
|
|
|
|
{{scope.row.referenceAnswer}} |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="answer" label="参考答案" align="center"> |
|
|
|
|
<el-table-column prop="userAnswer" label="学生答案" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div v-if=' scope.row.lcRuleRecords'> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords"> |
|
|
|
|
<span>{{index+1}}. </span>{{item.ruleAnswer}} |
|
|
|
|
<span>{{index+1}}. </span>{{item.userAnswer}} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
{{scope.row.referenceAnswer}} |
|
|
|
|
{{scope.row.answer}} |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
<el-table-column prop="score" width="50" label="得分" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|