fix(platform): unify degraded service wording

This commit is contained in:
lingniu
2026-07-04 08:03:24 +08:00
parent 4251ea5235
commit 5fa7858662
10 changed files with 40 additions and 40 deletions

View File

@@ -23,7 +23,7 @@ function vehicleServiceStatus(row: VehicleRealtimeRow) {
return { label: '车辆离线', color: 'red' as const };
}
if (row.onlineSourceCount < row.sourceCount) {
return { label: '来源异常', color: 'orange' as const };
return { label: '来源不完整', color: 'orange' as const };
}
return { label: '服务正常', color: 'green' as const };
}
@@ -93,7 +93,7 @@ export function Realtime({
</Form.Select>
<Form.Select field="serviceStatus" label="服务状态" placeholder="全部" style={{ width: 150 }}>
<Select.Option value="healthy"></Select.Option>
<Select.Option value="degraded"></Select.Option>
<Select.Option value="degraded"></Select.Option>
<Select.Option value="offline">线</Select.Option>
<Select.Option value="identity_required"></Select.Option>
</Form.Select>