fix(aiot): 修复摄像头保存失败 + 标题改为摄像头管理系统
- saveCamera 拆分为 addCamera/updateCamera 匹配WVP实际接口 - .env 标题改为"摄像头管理系统" - 告警列表字段适配新三表结构 - preferences 配置调整 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -75,7 +75,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||
{
|
||||
field: 'alertNo',
|
||||
title: '告警编号',
|
||||
minWidth: 160,
|
||||
width: 210,
|
||||
},
|
||||
{
|
||||
field: 'cameraId',
|
||||
@@ -98,7 +98,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||
{
|
||||
field: 'durationMinutes',
|
||||
title: '持续时长',
|
||||
minWidth: 100,
|
||||
width: 125,
|
||||
slots: { default: 'duration' },
|
||||
},
|
||||
{
|
||||
@@ -127,7 +127,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
width: 150,
|
||||
width: 180,
|
||||
fixed: 'right',
|
||||
slots: { default: 'actions' },
|
||||
},
|
||||
|
||||
@@ -176,7 +176,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
|
||||
<template>
|
||||
<Page auto-content-height>
|
||||
<Grid table-title="AI告警列表">
|
||||
<Grid table-title="告警列表">
|
||||
<!-- 摄像头列 -->
|
||||
<template #camera="{ row }">
|
||||
<span class="font-medium">{{ row.cameraId || '-' }}</span>
|
||||
|
||||
Reference in New Issue
Block a user