mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 19:06:49 +08:00
feat(knowledge): 实现题词功能并优化知识库创建流程- 新增题词预览组件和相关 API 接口
- 重构知识库创建流程,支持自动和自定义题词 - 优化题词结果展示和保存逻辑 - 调整知识库详情页面布局
This commit is contained in:
@@ -88,19 +88,9 @@ export default {
|
||||
if (this.active === 0) {
|
||||
this.$refs.stepPreProcessing.uploadFiled()
|
||||
} else if (this.active === 1) {
|
||||
const res = await this.$refs.splitConfig.nextStep(this.documentId)
|
||||
if (res.result === '0') {
|
||||
// 处理成功的情况
|
||||
console.log('拆分成功', res.content)
|
||||
this.active++
|
||||
}
|
||||
await this.$refs.splitConfig.nextStep(this.documentId)
|
||||
} else if (this.active === 2) {
|
||||
const res = await this.$refs.words.nextStep(this.documentId)
|
||||
if (res.result === '0') {
|
||||
// 处理成功的情况
|
||||
console.log('拆分成功', res.content)
|
||||
this.$message.success('创建成功')
|
||||
}
|
||||
await this.$refs.words.nextStep(this.documentId)
|
||||
}
|
||||
},
|
||||
// 预览完成
|
||||
|
||||
Reference in New Issue
Block a user