feat(platform): include plates in raw history
This commit is contained in:
@@ -163,6 +163,7 @@ export function History() {
|
||||
columns={[
|
||||
{ title: 'ID', dataIndex: 'id', width: 260 },
|
||||
{ title: 'VIN', dataIndex: 'vin', width: 190 },
|
||||
{ title: '车牌', dataIndex: 'plate', width: 120 },
|
||||
{ title: '协议', dataIndex: 'protocol', width: 120 },
|
||||
{ title: '帧类型', dataIndex: 'frameType', width: 190 },
|
||||
{ title: '大小 B', dataIndex: 'rawSizeBytes', width: 100 },
|
||||
@@ -177,7 +178,7 @@ export function History() {
|
||||
<SideSheet title="RAW 解析字段" visible={Boolean(selectedRaw)} onCancel={() => setSelectedRaw(null)} width={720}>
|
||||
<Space vertical align="start" spacing={12} style={{ width: '100%' }}>
|
||||
<Typography.Text type="tertiary">
|
||||
{selectedRaw?.protocol ?? '-'} / {selectedRaw?.vin ?? '-'} / {rawFieldCount} 个字段
|
||||
{selectedRaw?.protocol ?? '-'} / {selectedRaw?.plate || selectedRaw?.vin || '-'} / {rawFieldCount} 个字段
|
||||
</Typography.Text>
|
||||
{rawFieldCount === 0 ? (
|
||||
<Typography.Text type="secondary">当前查询未返回解析字段,请勾选“返回解析字段”或配置字段裁剪后重新查询。</Typography.Text>
|
||||
|
||||
Reference in New Issue
Block a user