|
|
@ -21,7 +21,7 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="workNumber" label="学生学号" align="center"> |
|
|
|
<el-table-column prop="workNumber" label="学生学号" align="center"> |
|
|
|
</el-table-column> |
|
|
|
</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> |
|
|
|
<el-table-column prop="instructor" label="指导老师" align="center"> |
|
|
|
<el-table-column prop="instructor" label="指导老师" align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
@ -38,7 +38,7 @@ |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<div class="meta-title-wrap"> |
|
|
|
<p class="meta-title"><img src="@/assets/img/cup.png" alt=""> 实验项目名称</p> |
|
|
|
<p class="meta-title"><img src="@/assets/img/cup.png" alt=""> 实验项目名称</p> |
|
|
|
</div> |
|
|
|
</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> |
|
|
|
|
|
|
|
|
|
|
|
<div class="m-b-20"> |
|
|
|
<div class="m-b-20"> |
|
|
@ -59,19 +59,23 @@ |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</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> |
|
|
|
<el-table-column prop="userAnswer" label="学生答案" align="center"> |
|
|
|
<el-table-column prop="userAnswer" label="学生答案" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<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> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="answer" label="参考答案" align="center"> |
|
|
|
<el-table-column prop="answer" label="参考答案" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<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> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="codeScore" label="得分" align="center"> |
|
|
|
<el-table-column prop="score" label="得分" align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -157,9 +161,9 @@ export default { |
|
|
|
let data = { |
|
|
|
let data = { |
|
|
|
recordId: this.id |
|
|
|
recordId: this.id |
|
|
|
}; |
|
|
|
}; |
|
|
|
this.$get(this.api.queryVirtualReport, data).then(res => { |
|
|
|
this.$get(this.api.experimentOverview, data).then(res => { |
|
|
|
this.form = res.data.report; |
|
|
|
this.form = res.report; |
|
|
|
let expData = res.data.data; |
|
|
|
let expData = res.userScores; |
|
|
|
let form = this.form; |
|
|
|
let form = this.form; |
|
|
|
let score = form.score; |
|
|
|
let score = form.score; |
|
|
|
|
|
|
|
|
|
|
@ -193,12 +197,13 @@ export default { |
|
|
|
let data = { |
|
|
|
let data = { |
|
|
|
studentId: this.studentId, |
|
|
|
studentId: this.studentId, |
|
|
|
projectId: this.projectId, |
|
|
|
projectId: this.projectId, |
|
|
|
recordId: this.id, |
|
|
|
// recordId: this.id, |
|
|
|
reportId: this.reportId |
|
|
|
reportId: this.reportId |
|
|
|
}; |
|
|
|
}; |
|
|
|
this.$get(this.api.queryArchievement, data).then(res => { |
|
|
|
this.$get(this.api.experimentOverview, data).then(res => { |
|
|
|
this.form = res.data.report ? res.data.report : {}; |
|
|
|
console.log(res) |
|
|
|
let expData = res.data.data; |
|
|
|
this.form = res.report ? res.report : {}; |
|
|
|
|
|
|
|
let expData = res.userScores; |
|
|
|
let form = this.form; |
|
|
|
let form = this.form; |
|
|
|
let score = form.score; |
|
|
|
let score = form.score; |
|
|
|
|
|
|
|
|
|
|
|