diff --git a/frontend/src/components/strategy-map/MapEditBar.vue b/frontend/src/components/strategy-map/MapEditBar.vue index 7f3c84d8..0e7f4b61 100644 --- a/frontend/src/components/strategy-map/MapEditBar.vue +++ b/frontend/src/components/strategy-map/MapEditBar.vue @@ -90,9 +90,32 @@ 回全景 - + {{ treeOpen ? '收起目标树' : '展开目标树' }} + + +
+ + +
@@ -105,6 +128,8 @@ defineProps<{ layerConfigs: { key: string; label: string; short: string; color: string }[] canUndo: boolean treeOpen: boolean + /** C 方案聚焦层:null = 四层全景 */ + focusLayer?: string | null }>() const emit = defineEmits<{ @@ -117,6 +142,7 @@ const emit = defineEmits<{ (e: 'fit'): void (e: 'toggle-tree'): void (e: 'completeness'): void + (e: 'focus-layer', key: string | null): void }>() const filterOptions: { value: 'all' | 'risk' | 'nodata'; label: string }[] = [ diff --git a/frontend/src/components/strategy-map/MapSummaryBar.vue b/frontend/src/components/strategy-map/MapSummaryBar.vue index efe683fa..3a1ce6d7 100644 --- a/frontend/src/components/strategy-map/MapSummaryBar.vue +++ b/frontend/src/components/strategy-map/MapSummaryBar.vue @@ -1,89 +1,150 @@ diff --git a/frontend/src/components/strategy-map/StrategyLayer.vue b/frontend/src/components/strategy-map/StrategyLayer.vue index 3eaafb82..8f5b7de1 100644 --- a/frontend/src/components/strategy-map/StrategyLayer.vue +++ b/frontend/src/components/strategy-map/StrategyLayer.vue @@ -1,6 +1,17 @@