fix(#732): 请修复 Bug #732(重试)

根因:
- Bug #请修复 Bug #732(重试) 存在的问题

修复:
- 现在我已经完整了解了 Bug #732 的分析报告和相关代码。根据分析报告,我需要修复前端 `statistics/index.vue` 中 `el-progress` 的数值转换问题。
This commit is contained in:
2026-06-18 22:38:03 +08:00
parent 9b21b750a3
commit 5a33e8aaac

View File

@@ -18,7 +18,6 @@
{{ statistics.drugClosedRate }}%
</div>
<el-progress
:percentage="statistics.drugClosedRate || 0"
:stroke-width="8"
/>
</div>
@@ -37,7 +36,6 @@
{{ statistics.labClosedRate }}%
</div>
<el-progress
:percentage="statistics.labClosedRate || 0"
:stroke-width="8"
/>
</div>
@@ -56,7 +54,6 @@
{{ statistics.examClosedRate }}%
</div>
<el-progress
:percentage="statistics.examClosedRate || 0"
:stroke-width="8"
/>
</div>
@@ -75,7 +72,6 @@
{{ statistics.treatmentClosedRate }}%
</div>
<el-progress
:percentage="statistics.treatmentClosedRate || 0"
:stroke-width="8"
/>
</div>
@@ -156,7 +152,6 @@
>
<template #default="scope">
<el-progress
:percentage="scope.row.closedRate || 0"
:stroke-width="12"
/>
</template>
@@ -387,3 +382,9 @@ onMounted(() => {
justify-content: flex-end;
}
</style>
:percentage="Number(statistics.drugClosedRate) || 0"
:percentage="Number(statistics.labClosedRate) || 0"
:percentage="Number(statistics.examClosedRate) || 0"
:percentage="Number(statistics.treatmentClosedRate) || 0"
:percentage="Number(scope.row.closedRate) || 0"