|
|
@@ -13,20 +13,18 @@
|
|
|
<view>
|
|
|
<!-- 练习 -->
|
|
|
<template v-if="examData.doType == 1">
|
|
|
- {{
|
|
|
- ((reportdata.rightQuestionNum /
|
|
|
+ <!-- ((reportdata.rightQuestionNum /
|
|
|
reportdata.doQuestionNum || 0).toFixed(0) *
|
|
|
- 100)
|
|
|
-
|
|
|
+ 100) -->
|
|
|
+ {{ (((reportdata.rightQuestionNum / reportdata.doQuestionNum )|| 0) * 100).toFixed(0)
|
|
|
}}%
|
|
|
</template>
|
|
|
<!-- 考试 -->
|
|
|
<template v-if="examData.doType == 2">
|
|
|
- {{
|
|
|
- ((reportdata.rightQuestionNum /
|
|
|
+ <!-- ((reportdata.rightQuestionNum /
|
|
|
reportdata.totalQuestionNum || 0).toFixed(0) *
|
|
|
- 100)
|
|
|
-
|
|
|
+ 100) -->
|
|
|
+ {{ (((reportdata.rightQuestionNum / reportdata.totalQuestionNum )|| 0) * 100).toFixed(0)
|
|
|
}}%
|
|
|
</template>
|
|
|
<!-- {{ (((reportdata.rightQuestionNum / (reportdata.rightQuestionNum + wrongRecordWrongNum)) || 0) * 100).toFixed(0)}}% -->
|