feat(knowledge): 新增知识拆分规则功能

- 添加了自动拆分和自定义拆分两种方式
- 实现了拆分规则的添加、编辑和删除- 增加了拆分结果预览功能
- 优化了用户界面和交互设计
This commit is contained in:
du.meimei
2025-04-11 18:14:53 +08:00
parent 09a9b696e5
commit 6895c35827
7 changed files with 542 additions and 171 deletions

View File

@@ -14,6 +14,7 @@
<div class="components">
<step-preprocessing v-if="active === 0" @getForm="getForm"></step-preprocessing>
<split-config v-if="active === 1"></split-config>
<words v-if="active === 2"></words>
</div>
</div>
@@ -35,7 +36,9 @@
</template>
<script>
import StepPreprocessing from './components/preprocessing.vue'
import SplitConfig from '@/views/knowledge/detail/components/split/SplitConfig.vue'
import SplitConfig from '@/views/knowledge/detail/components/split/Index.vue'
import Words from '@/views/knowledge/detail/components/words/Index.vue'
// import StepC
export default {
name: 'create',
data() {
@@ -48,7 +51,8 @@ export default {
watch: {},
components: {
SplitConfig,
StepPreprocessing
StepPreprocessing,
Words
},
filters: {},
methods: {