feat: 考试报告细节调整
This commit is contained in:
parent
39e1a221e3
commit
2eab206ee2
|
@ -7,8 +7,8 @@
|
|||
<a-col :span="12" class="flex-center">
|
||||
<a-progress
|
||||
type="circle"
|
||||
:percent="data.score / (data.totalScore * 100)"
|
||||
:format="percent => `${percent} 分`"
|
||||
:percent="(data.score / data.totalScore) * 100"
|
||||
:format="percent => `${data.score }分`"
|
||||
/>
|
||||
</a-col>
|
||||
<a-col class="count-info" :span="12">
|
||||
|
|
|
@ -225,7 +225,7 @@ export default {
|
|||
this.$router.push({ path: '/myexamDetail', query: { type: 'exam', projectId: row.id } })
|
||||
},
|
||||
handlerGoReport (row) {
|
||||
this.$router.push({ path: '/myreport', query: { type: 'exam', reportId: row.id } })
|
||||
this.$router.push({ path: '/myreport', query: { type: 'exam', reportId: row.report.id } })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue