mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-10 03:16:49 +08:00
feat(knowledge): 优化知识库文件上传功能
- 添加通用模板上传功能 - 优化上传接口调用逻辑 - 增加上传进度显示和模板下载功能 - 调整预处理结果预览对话框逻辑 - 优化文档详情查看功能
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</el-steps>
|
||||
|
||||
<div class="components">
|
||||
<step-preprocessing ref="stepPreprocessing" v-if="active === 0" @getForm="getForm" @getDocumentId="getDocumentId"></step-preprocessing>
|
||||
<step-preprocessing v-if="active === 0" @getForm="getForm" @getDocumentId="getDocumentId" @beMinerU="beMinerU"></step-preprocessing>
|
||||
<split-config v-if="active === 1"></split-config>
|
||||
<words v-if="active === 2"></words>
|
||||
</div>
|
||||
@@ -30,7 +30,7 @@
|
||||
</el-card>
|
||||
|
||||
<!-- 添加预处理结果预览对话框 -->
|
||||
<el-drawer :visible.sync="visible" size="80%" title="预处理结果预览" :before-close="handleClose">
|
||||
<el-drawer :visible.sync="visible" size="80%" title="预处理结果预览">
|
||||
<div style="height:calc(100% - 55px);">
|
||||
<r-miner-u :documentId="documentId"></r-miner-u>
|
||||
</div>
|
||||
@@ -60,6 +60,9 @@ export default {
|
||||
},
|
||||
filters: {},
|
||||
methods: {
|
||||
beMinerU() {
|
||||
this.visible = true
|
||||
},
|
||||
getForm() {},
|
||||
fetchApi() {},
|
||||
getDocumentId(id) {
|
||||
|
||||
Reference in New Issue
Block a user