|
|
|
@ -106,7 +106,7 @@ |
|
|
|
|
<el-table-column prop="judgmentName" label="判分点" width="270" align="center"></el-table-column> |
|
|
|
|
<el-table-column v-if='project' prop="judgmentName" label="考核点" align="center" width="150"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords"> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords" :key="index"> |
|
|
|
|
<span> |
|
|
|
|
<span>{{index+1}}. </span>{{item.name}} |
|
|
|
|
</span> |
|
|
|
@ -116,21 +116,19 @@ |
|
|
|
|
<el-table-column prop="ruleAnswer" label="参考答案" style='word-wrap: break-word' align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<div v-if='scope.row.lcRuleRecords'> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords"> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords" :key="index"> |
|
|
|
|
<span> |
|
|
|
|
<span>{{index+1}}. </span>{{item.ruleAnswer}} |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-else v-html="scope.row.referenceAnswer"> |
|
|
|
|
<!-- {{}}--> |
|
|
|
|
</div> |
|
|
|
|
<div v-else v-html="scope.row.referenceAnswer"></div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<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"> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords" :key="index"> |
|
|
|
|
<span v-if='item.userAnswer'> |
|
|
|
|
<span>{{index+1}}. </span>{{item.userAnswer}} |
|
|
|
|
</span> |
|
|
|
@ -295,13 +293,22 @@ export default { |
|
|
|
|
.wrap { |
|
|
|
|
padding: 12px 300px 20px; |
|
|
|
|
} |
|
|
|
|
/deep/ pre, code, kbd, samp{ |
|
|
|
|
code, kbd, samp{ |
|
|
|
|
font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif; |
|
|
|
|
word-wrap: break-word; |
|
|
|
|
white-space: pre-wrap; |
|
|
|
|
} |
|
|
|
|
/deep/ pre{ |
|
|
|
|
white-space: pre-wrap; |
|
|
|
|
white-space: pre-wrap; /* css-3 */ |
|
|
|
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ |
|
|
|
|
white-space: pre-wrap; /* Opera 4-6 */ |
|
|
|
|
white-space: -o-pre-wrap; /* Opera 7 */ |
|
|
|
|
word-wrap: break-word; /* Internet Explorer 5.5+ */ |
|
|
|
|
word-break:break-all; |
|
|
|
|
overflow:hidden; |
|
|
|
|
font-size: 12px; |
|
|
|
|
font-weight:400; |
|
|
|
|
font-family:'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif |
|
|
|
|
} |
|
|
|
|
.content { |
|
|
|
|
padding: 16px 40px; |
|
|
|
@ -391,18 +398,6 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
pre { |
|
|
|
|
white-space: pre-wrap; /* css-3 */ |
|
|
|
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ |
|
|
|
|
white-space: pre-wrap; /* Opera 4-6 */ |
|
|
|
|
white-space: -o-pre-wrap; /* Opera 7 */ |
|
|
|
|
word-wrap: break-word; /* Internet Explorer 5.5+ */ |
|
|
|
|
word-break:break-all; |
|
|
|
|
overflow:hidden; |
|
|
|
|
font-size: 12px; |
|
|
|
|
font-weight:400; |
|
|
|
|
font-family:'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif |
|
|
|
|
} |
|
|
|
|
@media (max-width: 1650px) { |
|
|
|
|
.wrap { |
|
|
|
|
padding: 12px 200px 20px; |
|
|
|
|