feat(platform): refocus dashboard on vehicle operations
This commit is contained in:
@@ -38,10 +38,15 @@ const navGroups = [
|
||||
]
|
||||
},
|
||||
{
|
||||
title: '告警运维',
|
||||
title: '告警通知',
|
||||
items: [
|
||||
{ itemKey: 'alert-events', text: '告警事件', icon: <IconHistogram /> },
|
||||
{ itemKey: 'notification-rules', text: '通知规则', icon: <IconBell /> },
|
||||
{ itemKey: 'notification-rules', text: '通知规则', icon: <IconBell /> }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: '系统运维',
|
||||
items: [
|
||||
{ itemKey: 'ops-quality', text: '运维质量', icon: <IconPulse /> }
|
||||
]
|
||||
}
|
||||
@@ -170,17 +175,13 @@ export function AppShell({
|
||||
一致性:{currentVehicleConsistency.title || `${currentVehicleConsistency.onlineSourceCount}/${currentVehicleConsistency.sourceCount} 来源`}
|
||||
</Tag>
|
||||
) : null}
|
||||
<Tag color="blue">生产环境</Tag>
|
||||
{platformRelease ? <Tag color="blue">版本 {platformRelease}</Tag> : null}
|
||||
<Tag color="grey">多源数据归并</Tag>
|
||||
<Tag color="blue">车辆运营</Tag>
|
||||
<Tag color={amapConfigured ? 'green' : 'orange'}>{amapConfigured ? '地图就绪' : '地图待配置'}</Tag>
|
||||
<Button size="small" aria-label="顶部地图态势" onClick={() => onChange('map')}>实时地图</Button>
|
||||
<Button size="small" aria-label="顶部实时监控" onClick={() => onChange('realtime')}>实时监控</Button>
|
||||
<Button size="small" aria-label="顶部轨迹回放" onClick={() => onChange('history')}>轨迹回放</Button>
|
||||
<Button size="small" aria-label="顶部历史查询" onClick={() => onChange('history-query')}>历史查询</Button>
|
||||
<Button size="small" aria-label="顶部统计查询" onClick={() => onChange('mileage')}>统计查询</Button>
|
||||
<Button size="small" aria-label="顶部通知规则" onClick={() => onChange('notification-rules')}>通知规则</Button>
|
||||
<Button size="small" aria-label="顶部运维质量" onClick={() => onChange('ops-quality')}>运维质量</Button>
|
||||
<Button
|
||||
size="small"
|
||||
aria-label={`顶部${alertLabel}`}
|
||||
@@ -189,6 +190,7 @@ export function AppShell({
|
||||
>
|
||||
{alertLabel}
|
||||
</Button>
|
||||
{platformRelease ? <Tag color="grey">版本 {platformRelease}</Tag> : null}
|
||||
</Space>
|
||||
</header>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user