fix: 全局因果网络图节点显示中文名
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user