fix: 全局因果网络图节点显示中文名

This commit is contained in:
Hermes CI Fix
2026-07-20 09:51:51 +08:00
parent 420f664b57
commit c7e187bb00
+1 -1
View File
@@ -466,7 +466,7 @@ const fullNetworkChartOption = computed(() => {
} }
const nodes = fullNetworkNodes.value.map(n => ({ const nodes = fullNetworkNodes.value.map(n => ({
id: String(n.id), id: String(n.id),
name: n.kpi_code, name: n.kpi_name,
symbolSize: 25, symbolSize: 25,
itemStyle: { color: dimColors[n.dimension] || '#999' }, itemStyle: { color: dimColors[n.dimension] || '#999' },
category: n.dimension === 'finance' ? 0 : n.dimension === 'customer' ? 1 : n.dimension === 'process' ? 2 : 3, category: n.dimension === 'finance' ? 0 : n.dimension === 'customer' ? 1 : n.dimension === 'process' ? 2 : 3,