From 8d3e9c9480ebc4ae95bdb5854de80d068c467343 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期二, 29 九月 2026 22:45:32 +0800
Subject: [PATCH] Merge branch 'fix-home-logo'
---
src/modules/report/views/screen/carbon.vue | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/modules/report/views/screen/carbon.vue b/src/modules/report/views/screen/carbon.vue
index 17e6a2e..09763ed 100644
--- a/src/modules/report/views/screen/carbon.vue
+++ b/src/modules/report/views/screen/carbon.vue
@@ -1,6 +1,6 @@
<template>
<div class="screen-page">
- <div class="kpi-grid" style="--kpi-cols: 5">
+ <div class="kpi-grid" style="--kpi-cols: 3">
<kpi-card v-for="item in kpis" :key="item.label" v-bind="item" />
</div>
@@ -58,11 +58,9 @@
);
const kpis = computed(() => [
- { field: 'kpis.totalCarbonTon', label: '绱纰冲噺鎺�', value: data.value.kpis.totalCarbonTon, suffix: '鍚–O鈧俥', fixed: 1 },
- { field: 'kpis.periodCarbonTon', label: `${rangeLabel.value}纰冲噺鎺抈, value: data.value.kpis.periodCarbonTon, suffix: '鍚–O鈧俥', fixed: 2 },
- { field: 'kpis.totalWeightTon', label: '绱璧勬簮鍥炴敹', value: data.value.kpis.totalWeightTon, suffix: '鍚�', fixed: 1 },
- { field: 'kpis.totalParticipants', label: '绱鍙備笌甯堢敓', value: data.value.kpis.totalParticipants, suffix: '浜�', fixed: 0 },
- { field: 'kpis.greenActions', label: '绱鐜繚琛屼负', value: data.value.kpis.greenActions, suffix: '娆�', fixed: 0 }
+ { field: 'kpis.periodWeightTon', label: `${rangeLabel.value}璧勬簮鍥炴敹`, value: data.value.kpis.periodWeightTon, suffix: '鍚�', fixed: 2, hint: '褰撳墠鏃堕棿鑼冨洿' },
+ { field: 'kpis.newParticipants', label: `${rangeLabel.value}鍙備笌甯堢敓`, value: data.value.kpis.newParticipants, suffix: '浜�', fixed: 0, hint: '鍖洪棿鍐呭嚭鐜拌繃鐨勫幓閲嶇敤鎴�' },
+ { field: 'kpis.greenActions', label: `${rangeLabel.value}鐜繚琛屼负`, value: data.value.kpis.greenActions, suffix: '娆�', fixed: 0, hint: '鍖洪棿鍐呭凡瀹屾垚璁㈠崟鏁�' }
]);
const carbonTrendDemo = computed(() =>
@@ -81,7 +79,7 @@
},
yAxis: {
type: 'value',
- name: '鍚–O鈧俥',
+ name: 'tCO鈧俥',
nameTextStyle: { color: mutedColor.value },
splitLine: { lineStyle: { color: splitColor.value, type: 'dashed' } },
axisLabel: { color: mutedColor.value },
@@ -112,7 +110,7 @@
},
yAxis: {
type: 'value',
- name: '鍚–O鈧俥',
+ name: 'tCO鈧俥',
nameTextStyle: { color: mutedColor.value },
splitLine: { lineStyle: { color: splitColor.value, type: 'dashed' } },
axisLabel: { color: mutedColor.value },
--
Gitblit v1.9.1