mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-15 22:06:50 +08:00
feat(knowledge): 优化知识构建预处理页面
- 添加预处理和 OCR 协助处理的 tooltip 说明 - 调整表单项的样式和布局 - 优化底部按钮的显示逻辑- 添加数据来源为本地文件时的预处理选项
This commit is contained in:
@@ -12,17 +12,19 @@
|
||||
</el-steps>
|
||||
|
||||
<div class="components">
|
||||
<step-preprocessing v-if="active === 0" @getForm="getForm" @getDocumentId="getDocumentId"></step-preprocessing>
|
||||
<step-preprocessing ref="stepPreprocessing" v-if="active === 0" @getForm="getForm" @getDocumentId="getDocumentId"></step-preprocessing>
|
||||
<split-config v-if="active === 1"></split-config>
|
||||
<words v-if="active === 2"></words>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-bottom">
|
||||
<el-button type="primary" size="medium" @click="fetchApi">一键处理</el-button>
|
||||
<el-button type="primary" size="medium" @click="active++" v-if="active < 2">下一步</el-button>
|
||||
<el-button v-if="active === 0 && $refs.stepPreprocessing && $refs.stepPreprocessing.form.radio === '2'" type="primary" size="medium" @click="fetchApi">
|
||||
一键处理
|
||||
</el-button>
|
||||
<el-button type="primary" size="medium" v-if="active === 2">确定</el-button>
|
||||
<el-button type="primary" size="medium" @click="active--" v-if="active >= 1">上一步</el-button>
|
||||
<el-button size="medium" @click="active--" v-if="active >= 1">上一步</el-button>
|
||||
<el-button type="primary" size="medium" @click="active++" v-if="active < 2">下一步</el-button>
|
||||
<el-button type="primary" size="medium">取消</el-button>
|
||||
</div>
|
||||
</el-card>
|
||||
@@ -44,7 +46,7 @@ export default {
|
||||
name: 'create',
|
||||
data() {
|
||||
return {
|
||||
visible: true,
|
||||
visible: false,
|
||||
active: 0,
|
||||
documentId: ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user