feat(platform): center navigation on vehicle service
This commit is contained in:
@@ -101,11 +101,11 @@ export function History({ initialVin, onOpenVehicle }: { initialVin: string; onO
|
||||
|
||||
return (
|
||||
<div className="vp-page">
|
||||
<PageHeader title="历史查询" description="按车辆查询位置历史和 RAW 帧历史,协议作为来源过滤和诊断维度" />
|
||||
<PageHeader title="历史数据" description="按车辆查询位置历史和 RAW 帧历史,数据来源只作为过滤和诊断维度" />
|
||||
<Card bordered>
|
||||
<Form key={`${filters.vin ?? ''}-${filters.protocol ?? ''}-${filters.includeFields ? 'fields' : 'light'}`} initValues={filters} layout="horizontal" onSubmit={(values) => submit(values)}>
|
||||
<Form.Input field="vin" label="VIN" placeholder="输入 VIN" style={{ width: 260 }} />
|
||||
<Form.Select field="protocol" label="协议" placeholder="全部协议" style={{ width: 190 }}>
|
||||
<Form.Select field="protocol" label="数据来源" placeholder="全部来源" style={{ width: 190 }}>
|
||||
<Select.Option value="GB32960">GB32960</Select.Option>
|
||||
<Select.Option value="JT808">JT808</Select.Option>
|
||||
<Select.Option value="YUTONG_MQTT">YUTONG_MQTT</Select.Option>
|
||||
@@ -145,7 +145,7 @@ export function History({ initialVin, onOpenVehicle }: { initialVin: string; onO
|
||||
}}
|
||||
columns={[
|
||||
{ title: 'VIN', dataIndex: 'vin', width: 190 },
|
||||
{ title: '协议', dataIndex: 'protocol', width: 120 },
|
||||
{ title: '数据来源', dataIndex: 'protocol', width: 120 },
|
||||
{ title: '经度', dataIndex: 'longitude', width: 120 },
|
||||
{ title: '纬度', dataIndex: 'latitude', width: 120 },
|
||||
{ title: '速度 km/h', dataIndex: 'speedKmh', width: 120 },
|
||||
@@ -179,7 +179,7 @@ export function History({ initialVin, onOpenVehicle }: { initialVin: string; onO
|
||||
{ title: 'ID', dataIndex: 'id', width: 260 },
|
||||
{ title: 'VIN', dataIndex: 'vin', width: 190 },
|
||||
{ title: '车牌', dataIndex: 'plate', width: 120 },
|
||||
{ title: '协议', dataIndex: 'protocol', width: 120 },
|
||||
{ title: '数据来源', dataIndex: 'protocol', width: 120 },
|
||||
{ title: '帧类型', dataIndex: 'frameType', width: 190 },
|
||||
{ title: '大小 B', dataIndex: 'rawSizeBytes', width: 100 },
|
||||
{ title: '设备时间', dataIndex: 'deviceTime', width: 190 },
|
||||
|
||||
Reference in New Issue
Block a user