diff --git a/src/components/hazard_inspect/ItemList.vue b/src/components/hazard_inspect/ItemList.vue index 7169cc0..a45bc8c 100644 --- a/src/components/hazard_inspect/ItemList.vue +++ b/src/components/hazard_inspect/ItemList.vue @@ -28,7 +28,7 @@ function handleItemClick(item: string, index: number) { - {{ props.title }} + {{ props.title }} (共 {{ props.data.length }} 项) diff --git a/src/components/hazard_inspect/timeline.vue b/src/components/hazard_inspect/timeline.vue index 485952f..dbc8026 100644 --- a/src/components/hazard_inspect/timeline.vue +++ b/src/components/hazard_inspect/timeline.vue @@ -1,6 +1,6 @@ - - - - - - - - - - 轨道视图 + + + 隐患时间线 (共 {{ Object.keys(hazardRanges).length }} 个隐患) + + + − + + + + + + - - - + - - + + + + + {{ tick.label }} + + - - - - - - - - + + - - {{ obj.name }} - - - - - + {{ parseInt(hazard.id) + 1 }} @@ -182,29 +346,189 @@ onMounted(() => {