feat(intelligent-agent): 添加智能体可见权限功能

- 在智能体列表和详情页面添加可见权限相关功能
- 实现可见权限的 cascader 选择组件
- 添加用户选择功能,支持多选- 优化智能体创建和编辑页面,增加可见权限相关字段- 调整首页布局,移除不必要的元素
This commit is contained in:
陈昱达
2025-05-09 17:56:55 +08:00
parent 5fde533a6d
commit dd71e1c818
9 changed files with 60 additions and 50 deletions

View File

@@ -692,21 +692,21 @@ export default {
},
'删除'
),
h(
'el-button',
{
class: 'normal-button',
props: {
type: 'primary',
size: 'mini',
disabled: true,
icon: 'el-icon-edit-outline',
title: '编辑'
},
on: {}
},
'编辑'
),
// h(
// 'el-button',
// {
// class: 'normal-button',
// props: {
// type: 'primary',
// size: 'mini',
// disabled: true,
// icon: 'el-icon-edit-outline',
// title: '编辑'
// },
// on: {}
// },
// '编辑'
// ),
h(
'el-button',
@@ -716,7 +716,8 @@ export default {
type: 'primary',
size: 'mini',
icon: 'el-icon-tickets',
title: '添加元数据'
title: '添加元数据',
disabled: params.row.documentStatus !== 1
},
on: {
click: () => this.handleAddMetadata(params.row)