fix(platform): unify degraded service wording
This commit is contained in:
@@ -25,7 +25,7 @@ function vehicleServiceStatus(row: VehicleCoverageRow) {
|
||||
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 };
|
||||
}
|
||||
@@ -227,7 +227,7 @@ export function Vehicles({
|
||||
</Form.Select>
|
||||
<Form.Select field="serviceStatus" label="服务状态" placeholder="全部" style={{ width: 150 }} data-testid="service-status-filter">
|
||||
<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="no_data">暂无数据来源</Select.Option>
|
||||
<Select.Option value="identity_required">身份未绑定</Select.Option>
|
||||
|
||||
Reference in New Issue
Block a user