feat(aiot): 告警图片代理 + 告警列表页面

后端:
- IAiAlertService / AiAlertServiceImpl: 新增 proxyAlertImage()
  支持 COS object key(通过 CosUtil 生成 presigned URL)和完整 URL
- AiAlertController: 新增 GET /api/ai/alert/image 图片代理端点
- WebSecurityConfig: 白名单加 /api/ai/alert/image

前端:
- 新建 aiAlert.js API(列表查询、删除、统计、图片 URL 构造)
- 新建 alertList/index.vue 告警列表页面
  · 分页表格 + 类型/时间筛选
  · 缩略图通过 WVP 图片代理显示
  · 详情弹窗 + 删除功能
- router/index.js: 添加告警记录路由

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 20:12:19 +08:00
parent 80f0275216
commit 90e9c1c896
7 changed files with 346 additions and 0 deletions

View File

@@ -233,6 +233,17 @@ export const constantRoutes = [
}
]
},
{
path: '/alertList',
component: Layout,
redirect: '/alertList',
children: [{
path: '',
name: 'AlertList',
component: () => import('@/views/alertList/index'),
meta: { title: '告警记录', icon: 'alarm' }
}]
},
{
path: '/cameraConfig',
component: Layout,