|
|
|
@ -21,7 +21,7 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="workNumber" label="学生学号" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="experimentalClassName" label="学生班级" align="center"> |
|
|
|
|
<el-table-column prop="className" label="学生班级" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="instructor" label="指导老师" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
@ -38,7 +38,7 @@ |
|
|
|
|
<div class="meta-title-wrap"> |
|
|
|
|
<p class="meta-title"><img src="@/assets/img/cup.png" alt=""> 实验项目名称</p> |
|
|
|
|
</div> |
|
|
|
|
<el-input v-model="form.proName" type="textarea" :disabled="true" rows="5"></el-input> |
|
|
|
|
<el-input v-model="form.projectName" type="textarea" :disabled="true" rows="5"></el-input> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="m-b-20"> |
|
|
|
@ -59,19 +59,23 @@ |
|
|
|
|
{{ scope.$index + 1 }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="judgmentPointsName" label="任务名称" align="center"> |
|
|
|
|
<el-table-column prop="judgmentName" label="任务名称" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="userAnswer" label="学生答案" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<pre v-html="scope.row.userAnswer" style="white-space: pre-wrap"></pre> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords"> |
|
|
|
|
<span>{{index+1}}. </span>{{item.userAnswer}} |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="answer" label="参考答案" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<pre v-html="scope.row.answer" style="white-space: pre-wrap"></pre> |
|
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords"> |
|
|
|
|
<span>{{index+1}}. </span>{{item.ruleAnswer}} |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="codeScore" label="得分" align="center"> |
|
|
|
|
<el-table-column prop="score" label="得分" align="center"> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
</div> |
|
|
|
@ -157,9 +161,9 @@ export default { |
|
|
|
|
let data = { |
|
|
|
|
recordId: this.id |
|
|
|
|
}; |
|
|
|
|
this.$get(this.api.queryVirtualReport, data).then(res => { |
|
|
|
|
this.form = res.data.report; |
|
|
|
|
let expData = res.data.data; |
|
|
|
|
this.$get(this.api.experimentOverview, data).then(res => { |
|
|
|
|
this.form = res.report; |
|
|
|
|
let expData = res.userScores; |
|
|
|
|
let form = this.form; |
|
|
|
|
let score = form.score; |
|
|
|
|
|
|
|
|
@ -193,12 +197,13 @@ export default { |
|
|
|
|
let data = { |
|
|
|
|
studentId: this.studentId, |
|
|
|
|
projectId: this.projectId, |
|
|
|
|
recordId: this.id, |
|
|
|
|
// recordId: this.id, |
|
|
|
|
reportId: this.reportId |
|
|
|
|
}; |
|
|
|
|
this.$get(this.api.queryArchievement, data).then(res => { |
|
|
|
|
this.form = res.data.report ? res.data.report : {}; |
|
|
|
|
let expData = res.data.data; |
|
|
|
|
this.$get(this.api.experimentOverview, data).then(res => { |
|
|
|
|
console.log(res) |
|
|
|
|
this.form = res.report ? res.report : {}; |
|
|
|
|
let expData = res.userScores; |
|
|
|
|
let form = this.form; |
|
|
|
|
let score = form.score; |
|
|
|
|
|
|
|
|
|