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