feat: 战略地图贝塞尔因果链+节点KPI可视化(P0+P1)

This commit is contained in:
Hermes CI Fix
2026-08-15 22:08:09 +08:00
parent 778a5d9c79
commit 603d6ae5cf
8 changed files with 645 additions and 183 deletions
@@ -43,6 +43,7 @@
:icon-map="iconMap"
:kpi-name-map="kpiNameMap"
:all-kpis="allKpis"
:chain-dimmed="chainNodeKeys.length > 0 && !chainNodeKeys.includes(`${layerKey}-${index}`)"
@click="onNodeClick(layerKey, index, element)"
@edit="$emit('edit-objective', { dimKey: layerKey, idx: index, obj: element })"
@delete="$emit('delete-objective', { dimKey: layerKey, idx: index })"
@@ -91,6 +92,8 @@ const props = defineProps<{
iconMap?: Record<string, string>
kpiNameMap?: Record<string, string>
allKpis?: any[]
/** 因果链查看模式下,不在链上的节点变淡 */
chainNodeKeys?: string[]
getNodeLevel: (key: string) => string
getNodeProgress: (key: string) => any
}>()