feat(knowledge): 实现知识库上传功能并优化相关页面

- 新增上传到知识库的 API 接口和相关页面组件- 实现分段查看页面功能
- 优化文档详情页面布局和样式
- 调整知识库创建流程,支持直接上传至知识库
This commit is contained in:
陈昱达
2025-04-22 19:49:42 +08:00
parent 5637496340
commit 26e7ccac12
11 changed files with 125 additions and 37 deletions

View File

@@ -74,6 +74,15 @@ export default [
title: '知识库新增',
icon: 'el-icon-s-home'
}
},
{
path: '/knowledge/detail/segments',
name: 'knowledge-segments',
component: () => import('@/views/knowledge/detail/components/viewSegments/index.vue'),
meta: {
title: '分段查看',
icon: 'el-icon-s-home'
}
}
]
}
@@ -135,7 +144,7 @@ export default [
}
}
]
},
}
]
},
{