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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user