feat(knowledge): 实现知识库文件上传自定义功能

- 新增 datasetsExPages 和 uploadFileByCustom 接口
- 实现文件上传功能,支持自定义文件和通用知识文件模板
- 添加预处理结果预览功能
- 优化文件上传组件,支持拖拽上传和进度显示
This commit is contained in:
陈昱达
2025-04-14 11:03:31 +08:00
parent 6895c35827
commit 0fd180a1e2
11 changed files with 367 additions and 186 deletions

View File

@@ -40,6 +40,13 @@ module.exports = {
pathRewrite: {
'^/api': ''
}
},
'/jifen': {
target: 'http://192.168.8.165:7196',
changeOrigin: true,
pathRewrite: {
'^/jifen': ''
}
}
}
},
@@ -52,9 +59,9 @@ module.exports = {
{
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto',
},
],
type: 'javascript/auto'
}
]
},
resolve: {
alias: {