mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修改文案
This commit is contained in:
parent
2087399e47
commit
289e12ccdf
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<el-dialog
|
||||
title="生成关联问题"
|
||||
title="生成问题"
|
||||
v-model="dialogVisible"
|
||||
width="600"
|
||||
class="select-dataset-dialog"
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
>
|
||||
<template #header="{ titleId, titleClass }">
|
||||
<div class="my-header flex">
|
||||
<h4 :id="titleId" :class="titleClass">生成关联问题</h4>
|
||||
<h4 :id="titleId" :class="titleClass">生成问题</h4>
|
||||
</div>
|
||||
</template>
|
||||
<div class="content-height">
|
||||
|
|
@ -174,7 +174,7 @@ const submitHandle = async (formEl: FormInstance) => {
|
|||
prompt.save(user.userInfo?.id as string, form.value)
|
||||
const data = { ...form.value, document_id_list: documentIdList.value }
|
||||
documentApi.batchGenerateRelated(id, data).then(() => {
|
||||
MsgSuccess('生成关联问题成功')
|
||||
MsgSuccess('生成问题成功')
|
||||
emit('refresh')
|
||||
dialogVisible.value = false
|
||||
})
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
向量化
|
||||
</el-button>
|
||||
<el-button @click="openGenerateDialog()" :disabled="multipleSelection.length === 0">
|
||||
关联问题
|
||||
生成问题
|
||||
</el-button>
|
||||
<el-button @click="openBatchEditDocument" :disabled="multipleSelection.length === 0">
|
||||
设置
|
||||
|
|
@ -636,7 +636,7 @@ function batchGenerateRelated() {
|
|||
}
|
||||
})
|
||||
documentApi.batchGenerateRelated(id, arr, loading).then(() => {
|
||||
MsgSuccess('批量关联问题成功')
|
||||
MsgSuccess('批量生成问题成功')
|
||||
multipleTableRef.value?.clearSelection()
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<el-dialog
|
||||
title="生成关联问题"
|
||||
title="生成问题"
|
||||
v-model="dialogVisible"
|
||||
width="600"
|
||||
class="select-dataset-dialog"
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
>
|
||||
<template #header="{ titleId, titleClass }">
|
||||
<div class="my-header flex">
|
||||
<h4 :id="titleId" :class="titleClass">生成关联问题</h4>
|
||||
<h4 :id="titleId" :class="titleClass">生成问题</h4>
|
||||
</div>
|
||||
</template>
|
||||
<div class="content-height">
|
||||
|
|
@ -174,7 +174,7 @@ const submitHandle = async (formEl: FormInstance) => {
|
|||
|
||||
const data = { ...form.value, paragraph_id_list: paragraphIdList.value }
|
||||
paragraphApi.batchGenerateRelated(id, documentId, data).then(() => {
|
||||
MsgSuccess('生成关联问题成功')
|
||||
MsgSuccess('生成问题成功')
|
||||
emit('refresh')
|
||||
dialogVisible.value = false
|
||||
})
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@
|
|||
<el-dropdown-menu>
|
||||
<el-dropdown-item @click="openGenerateDialog(item)">
|
||||
<el-icon><Connection /></el-icon>
|
||||
生成关联问题</el-dropdown-item
|
||||
生成问题</el-dropdown-item
|
||||
>
|
||||
<el-dropdown-item @click="openSelectDocumentDialog(item)">
|
||||
<AppIcon iconName="app-migrate"></AppIcon>
|
||||
|
|
@ -147,7 +147,7 @@
|
|||
|
||||
<div class="mul-operation border-t w-full" v-if="isBatch === true">
|
||||
<el-button :disabled="multipleSelection.length === 0" @click="openGenerateDialog()">
|
||||
生成关联问题
|
||||
生成问题
|
||||
</el-button>
|
||||
<el-button :disabled="multipleSelection.length === 0" @click="openSelectDocumentDialog()">
|
||||
迁移
|
||||
|
|
|
|||
Loading…
Reference in New Issue