feat(platform): add map situation workspace
This commit is contained in:
@@ -178,12 +178,16 @@ async function copyText(value: string, label: string) {
|
||||
}
|
||||
|
||||
export function Realtime({
|
||||
title = '实时监控',
|
||||
description = '以车辆为主对象查看最新位置、在线来源、核心实时数据和地图作业状态',
|
||||
onOpenVehicle,
|
||||
onOpenHistory,
|
||||
onOpenQuality,
|
||||
onFiltersChange,
|
||||
initialFilters = {}
|
||||
}: {
|
||||
title?: string;
|
||||
description?: string;
|
||||
onOpenVehicle: (vin: string, protocol?: string) => void;
|
||||
onOpenHistory?: (vin: string, protocol?: string) => void;
|
||||
onOpenQuality?: (filters: Record<string, string>) => void;
|
||||
@@ -334,7 +338,7 @@ export function Realtime({
|
||||
|
||||
return (
|
||||
<div className="vp-page">
|
||||
<PageHeader title="实时监控" description="以车辆为主对象查看最新位置、在线来源、核心实时数据和地图作业状态" />
|
||||
<PageHeader title={title} description={description} />
|
||||
<Card bordered>
|
||||
<Form key={JSON.stringify(filters)} initValues={filters} layout="horizontal" onSubmit={(values) => {
|
||||
const nextFilters = values as Record<string, string>;
|
||||
|
||||
Reference in New Issue
Block a user