样式调整

UI_2022-02-10
yujialong 3 years ago
parent 5b28450838
commit 9657b86a47
  1. 16
      src/pages/record/show/index.vue

@ -74,38 +74,38 @@
<div class="meta-title-wrap"> <div class="meta-title-wrap">
<p class="meta-title">实验数据</p> <p class="meta-title">实验数据</p>
</div> </div>
<el-table :data="expData" class="table" stripe header-align="center"> <el-table :data="expData" class="table" border stripe header-align="center">
<el-table-column type="index" width="100" label="序号" align="center"> <el-table-column type="index" width="100" label="序号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.$index + 1 }} {{ scope.$index + 1 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="judgmentName" label="任务名称"></el-table-column> <el-table-column prop="judgmentName" label="任务名称"></el-table-column>
<el-table-column prop="userAnswer" label="学生答案"> <el-table-column prop="ruleAnswer" label="参考答案">
<!-- <!--
<template slot-scope="scope"> <template slot-scope="scope">
<pre v-html="scope.row.userAnswer" style="white-space: pre-wrap"></pre> <pre v-html="scope.row.answer" style="white-space: pre-wrap"></pre>
</template> </template>
--> -->
<template slot-scope="scope"> <template slot-scope="scope">
<div v-for="(item, index) in 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>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="ruleAnswer" label="参考答案"> <el-table-column prop="userAnswer" label="学生答案">
<!-- <!--
<template slot-scope="scope"> <template slot-scope="scope">
<pre v-html="scope.row.answer" style="white-space: pre-wrap"></pre> <pre v-html="scope.row.userAnswer" style="white-space: pre-wrap"></pre>
</template> </template>
--> -->
<template slot-scope="scope"> <template slot-scope="scope">
<div v-for="(item, index) in 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>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="score" label="得分" align="center"></el-table-column> <el-table-column prop="score" label="得分" align="center" width="100"></el-table-column>
</el-table> </el-table>
</div> </div>

Loading…
Cancel
Save