diff --git a/frontend/src/views/MyDashboard.vue b/frontend/src/views/MyDashboard.vue index eed6c939..b206065f 100644 --- a/frontend/src/views/MyDashboard.vue +++ b/frontend/src/views/MyDashboard.vue @@ -70,7 +70,9 @@ {{ k.level === 'green' ? '达标' : k.level === 'yellow' ? '预警' : k.level === 'red' ? '危险' : '未评' }}
-
{{ fmtValue(k.actual_value, k.kpi_code) }}
+
+ {{ k.actual_value == null ? '暂无数据' : periodActual(k) }} +
{{ targetLabel(k) }} {{ k.target_value ?? '-' }}
{ .tag-gray { background: #eee; color: #999; } .kpi-value-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; } .kpi-actual { font-size: 24px; font-weight: 700; } +.kpi-actual-empty { font-size: 15px; font-weight: 500; color: #999; } .kpi-target { font-size: 12px; color: #999; } /* ── 改善行动 ── */