feat(platform): frame realtime sources as evidence
This commit is contained in:
@@ -2689,7 +2689,7 @@ export function Realtime({
|
||||
applyFilters(nextFilters);
|
||||
}} style={{ marginBottom: 12 }}>
|
||||
<Form.Input field="keyword" label="车辆关键词" placeholder="VIN / 车牌 / 手机号 / OEM" style={{ width: 260 }} />
|
||||
<Form.Select field="protocol" label="数据通道" placeholder="全部数据通道" style={{ width: 180 }}>
|
||||
<Form.Select field="protocol" label="来源证据筛选" placeholder="全部来源证据" style={{ width: 180 }}>
|
||||
<Select.Option value="GB32960">GB32960</Select.Option>
|
||||
<Select.Option value="JT808">JT808</Select.Option>
|
||||
<Select.Option value="YUTONG_MQTT">YUTONG_MQTT</Select.Option>
|
||||
@@ -2743,7 +2743,7 @@ export function Realtime({
|
||||
{ label: '定位有效', value: locatedCount, color: locatedCount > 0 ? 'blue' as const : 'orange' as const },
|
||||
{ label: '需要关注', value: degradedCount, color: degradedCount > 0 ? 'orange' as const : 'green' as const, action: () => applyFilters({ ...filters, serviceStatus: 'degraded' }) },
|
||||
{ label: '更新超时', value: staleCount, color: staleCount > 0 ? 'red' as const : 'green' as const },
|
||||
{ label: '数据通道', value: primaryProtocols.size, color: 'blue' as const }
|
||||
{ label: '来源证据', value: primaryProtocols.size, color: 'blue' as const }
|
||||
].map((item) => (
|
||||
item.action ? (
|
||||
<button
|
||||
@@ -2783,7 +2783,7 @@ export function Realtime({
|
||||
</div>
|
||||
</div>
|
||||
<div className="vp-source-coverage-board">
|
||||
<div className="vp-current-service-title">车辆覆盖概览</div>
|
||||
<div className="vp-current-service-title">车辆来源证据覆盖</div>
|
||||
<div className="vp-source-coverage-grid">
|
||||
{sourceCoverageRows.length === 0 ? (
|
||||
<Typography.Text type="tertiary">当前页暂无车辆实时数据。</Typography.Text>
|
||||
@@ -2792,7 +2792,7 @@ export function Realtime({
|
||||
key={item.protocol}
|
||||
type="button"
|
||||
className="vp-source-coverage-item"
|
||||
aria-label={`筛选数据通道 ${item.protocol}`}
|
||||
aria-label={`筛选来源证据 ${item.protocol}`}
|
||||
onClick={() => applyFilters({ ...filters, protocol: item.protocol })}
|
||||
>
|
||||
<div className="vp-source-coverage-item-head">
|
||||
|
||||
Reference in New Issue
Block a user