From e1869c67a48da088650b0a1238ff718e5fc4138c Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 29 九月 2026 09:15:21 +0800
Subject: [PATCH] refactor(data): 优化参数维护和报表数据显示格式
---
src/views/reportAnalysis/reportManagement/index.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/views/reportAnalysis/reportManagement/index.vue b/src/views/reportAnalysis/reportManagement/index.vue
index cd8ddd5..d0296ab 100644
--- a/src/views/reportAnalysis/reportManagement/index.vue
+++ b/src/views/reportAnalysis/reportManagement/index.vue
@@ -27,12 +27,12 @@
<div class="typeNum-right-top">
<div class="typeNum-right-top-name">鎬绘暟閲�</div>
<div class="typeNum-right-top-text">{{ getInspectStatValue(0, 'totalCount') }} <span
- class="unit">涓�</span></div>
+ class="unit">鍚�</span></div>
</div>
<div class="typeNum-right-bottom">
<div class="typeNum-right-top-name">宸插畬鎴愭暟</div>
<div class="typeNum-right-top-text">{{ getInspectStatValue(0, 'completedCount') }} <span
- class="unit">涓�</span>
+ class="unit">鍚�</span>
</div>
</div>
</div>
@@ -51,12 +51,12 @@
<div class="typeNum-right-top">
<div class="typeNum-right-top-name">鎬绘暟閲�</div>
<div class="typeNum-right-top-text">{{ getInspectStatValue(1, 'totalCount') }} <span
- class="unit">涓�</span></div>
+ class="unit">鍚�</span></div>
</div>
<div class="typeNum-right-bottom">
<div class="typeNum-right-top-name">宸插畬鎴愭暟</div>
<div class="typeNum-right-top-text">{{ getInspectStatValue(1, 'completedCount') }} <span
- class="unit">涓�</span>
+ class="unit">鍚�</span>
</div>
</div>
</div>
@@ -75,12 +75,12 @@
<div class="typeNum-right-top">
<div class="typeNum-right-top-name">鎬绘暟閲�</div>
<div class="typeNum-right-top-text">{{ getInspectStatValue(2, 'totalCount') }} <span
- class="unit">涓�</span></div>
+ class="unit">鍚�</span></div>
</div>
<div class="typeNum-right-bottom">
<div class="typeNum-right-top-name">宸插畬鎴愭暟</div>
<div class="typeNum-right-top-text">{{ getInspectStatValue(2, 'completedCount') }} <span
- class="unit">涓�</span>
+ class="unit">鍚�</span>
</div>
</div>
</div>
@@ -315,7 +315,7 @@
const stat = passRateStatisticsData.value.find(item => item.modelType === type);
if (stat) {
if (field === 'completionRate' || field === 'passRate') {
- return stat[field] ? Number(stat[field]).toFixed(0) + '%' : '0%';
+ return stat[field] ? Number(stat[field]).toFixed(2) + '%' : '0%';
}
return stat[field];
}
@@ -552,7 +552,7 @@
},
yAxis: {
type: "value",
- name: "鏁�(涓�)",
+ name: "鏁�(鍚�)",
},
series: [
{
--
Gitblit v1.9.3