feat(int-agent): 添加日志elligent与监测功能

- 新增日志与监测页面组件
- 实现日志列表和图表展示- 添加日志搜索和筛选功能
- 优化智能体列表界面,增加日志与监测按钮- 调整路由配置,支持新的日志与监测页面
This commit is contained in:
陈昱达
2025-05-06 11:34:07 +08:00
parent 6e77ecd5c5
commit 4cd81dfb3b
10 changed files with 356 additions and 52 deletions

View File

@@ -172,23 +172,24 @@ export default [
}
]
},
// 智能体详情
{
path: '/dify',
name: 'dify',
path: '/agent',
name: 'agent',
component: layout,
redirect: '/dify/workflow',
redirect: '/agent/:thirdAppId/workflow',
meta: {
title: 'Dify',
title: '智能体',
icon: 'icon-notebook',
affix: true
},
children: [
{
path: '/dify/workflow',
name: 'dify-workflow',
path: '/agent/:thirdAppId/workflow',
name: 'agent-workflow',
component: () => import('@/views/agent/views/workflow/index.vue'),
meta: {
title: 'Dify',
title: 'agent',
icon: 'icon-notebook'
}
}
@@ -255,6 +256,19 @@ export default [
accessToken: '',
refreshToken: ''
}
},
{
path: '/intelligentAgent/logs-overview',
name: 'intelligentAgent-logs-overview',
component: () =>
import('@/views/intelligent-agent/children/Logs&overview/index.vue'),
hidden: true,
meta: {
title: '日志与监测',
icon: 'icon-notebook',
accessToken: '',
refreshToken: ''
}
}
]
}