|
@@ -735,9 +735,9 @@ async function handleViewCamera(row: CameraInfoDTO) {
|
|
|
// 格式化品牌
|
|
// 格式化品牌
|
|
|
function formatBrand(brand: string | undefined): string {
|
|
function formatBrand(brand: string | undefined): string {
|
|
|
const brandMap: Record<string, string> = {
|
|
const brandMap: Record<string, string> = {
|
|
|
- hikvision: 'HIKVISION',
|
|
|
|
|
- dahua: 'DAHUA',
|
|
|
|
|
- uniview: 'UNIVIEW',
|
|
|
|
|
|
|
+ hikvision: '海康威视',
|
|
|
|
|
+ dahua: '大华',
|
|
|
|
|
+ uniview: '宇视',
|
|
|
other: '其他'
|
|
other: '其他'
|
|
|
}
|
|
}
|
|
|
return brand ? brandMap[brand] || brand.toUpperCase() : '-'
|
|
return brand ? brandMap[brand] || brand.toUpperCase() : '-'
|