fix: 修改文案

This commit is contained in:
wangdan-fit2cloud 2024-12-03 18:02:04 +08:00
parent 2087399e47
commit 289e12ccdf
4 changed files with 10 additions and 10 deletions

View File

@ -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
})

View File

@ -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()
})
}

View File

@ -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
})

View File

@ -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()">
迁移