dev_2022-05-11
e 3 years ago
parent ed867825c7
commit 800efd3dfc
  1. 14
      src/pages/achievement/show/index.vue
  2. 2
      src/pages/assessment/list/index.vue

@ -53,22 +53,22 @@
<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" stripe border header-align="center">
<el-table-column type="index" width="50" label="序号" align="center"> <el-table-column type="index" label="序号" align="center" width="100">
<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" width="150" label="任务名称" align="center"> <el-table-column prop="judgmentName" label="任务名称" align="center">
</el-table-column> </el-table-column>
<el-table-column v-if='project' prop="userAnswer" label="考核点" align="center"> <el-table-column v-if='project' prop="userAnswer" label="考核点" align="center" >
<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.name}} <span>{{index+1}}. </span>{{item.name}}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="answer" label="参考答案" align="center"> <el-table-column prop="answer" label="参考答案" align="center" width="400">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if=' scope.row.lcRuleRecords'> <div v-if=' scope.row.lcRuleRecords'>
<div v-for="(item, index) in scope.row.lcRuleRecords"> <div v-for="(item, index) in scope.row.lcRuleRecords">
@ -80,7 +80,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="userAnswer" label="学生答案" align="center"> <el-table-column prop="userAnswer" label="学生答案" align="center" width="400">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if=' scope.row.lcRuleRecords'> <div v-if=' scope.row.lcRuleRecords'>
<div v-for="(item, index) in scope.row.lcRuleRecords"> <div v-for="(item, index) in scope.row.lcRuleRecords">
@ -93,7 +93,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="score" width="50" label="得分" align="center"> <el-table-column prop="score" label="得分" align="center" width="100">
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>

@ -39,7 +39,7 @@
<div class="tool mul"> <div class="tool mul">
<ul class="filter"> <ul class="filter">
<li> <li>
<el-input placeholder="请输入实验班级/项目名称" prefix-icon="el-icon-search" v-model.trim="keyWord" clearable style="width: 300px"></el-input> <el-input placeholder="请输入实验班级/项目名称/考核名称" prefix-icon="el-icon-search" v-model.trim="keyWord" clearable style="width: 300px"></el-input>
</li> </li>
</ul> </ul>
<div> <div>

Loading…
Cancel
Save