feat: 考试报告细节调整

This commit is contained in:
cgd_mac 2022-02-23 15:27:05 +08:00
parent 39e1a221e3
commit 2eab206ee2
2 changed files with 3 additions and 3 deletions

View File

@ -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">

View File

@ -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 } })
}
}
}