Skip to content

Commit 289e12c

Browse files
fix: 修改文案
1 parent 2087399 commit 289e12c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

ui/src/views/document/component/GenerateRelatedDialog.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<el-dialog
3-
title="生成关联问题"
3+
title="生成问题"
44
v-model="dialogVisible"
55
width="600"
66
class="select-dataset-dialog"
@@ -9,7 +9,7 @@
99
>
1010
<template #header="{ titleId, titleClass }">
1111
<div class="my-header flex">
12-
<h4 :id="titleId" :class="titleClass">生成关联问题</h4>
12+
<h4 :id="titleId" :class="titleClass">生成问题</h4>
1313
</div>
1414
</template>
1515
<div class="content-height">
@@ -174,7 +174,7 @@ const submitHandle = async (formEl: FormInstance) => {
174174
prompt.save(user.userInfo?.id as string, form.value)
175175
const data = { ...form.value, document_id_list: documentIdList.value }
176176
documentApi.batchGenerateRelated(id, data).then(() => {
177-
MsgSuccess('生成关联问题成功')
177+
MsgSuccess('生成问题成功')
178178
emit('refresh')
179179
dialogVisible.value = false
180180
})

ui/src/views/document/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
向量化
2727
</el-button>
2828
<el-button @click="openGenerateDialog()" :disabled="multipleSelection.length === 0">
29-
关联问题
29+
生成问题
3030
</el-button>
3131
<el-button @click="openBatchEditDocument" :disabled="multipleSelection.length === 0">
3232
设置
@@ -636,7 +636,7 @@ function batchGenerateRelated() {
636636
}
637637
})
638638
documentApi.batchGenerateRelated(id, arr, loading).then(() => {
639-
MsgSuccess('批量关联问题成功')
639+
MsgSuccess('批量生成问题成功')
640640
multipleTableRef.value?.clearSelection()
641641
})
642642
}

ui/src/views/paragraph/component/GenerateRelatedDialog.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<el-dialog
3-
title="生成关联问题"
3+
title="生成问题"
44
v-model="dialogVisible"
55
width="600"
66
class="select-dataset-dialog"
@@ -9,7 +9,7 @@
99
>
1010
<template #header="{ titleId, titleClass }">
1111
<div class="my-header flex">
12-
<h4 :id="titleId" :class="titleClass">生成关联问题</h4>
12+
<h4 :id="titleId" :class="titleClass">生成问题</h4>
1313
</div>
1414
</template>
1515
<div class="content-height">
@@ -174,7 +174,7 @@ const submitHandle = async (formEl: FormInstance) => {
174174
175175
const data = { ...form.value, paragraph_id_list: paragraphIdList.value }
176176
paragraphApi.batchGenerateRelated(id, documentId, data).then(() => {
177-
MsgSuccess('生成关联问题成功')
177+
MsgSuccess('生成问题成功')
178178
emit('refresh')
179179
dialogVisible.value = false
180180
})

ui/src/views/paragraph/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<el-dropdown-menu>
124124
<el-dropdown-item @click="openGenerateDialog(item)">
125125
<el-icon><Connection /></el-icon>
126-
生成关联问题</el-dropdown-item
126+
生成问题</el-dropdown-item
127127
>
128128
<el-dropdown-item @click="openSelectDocumentDialog(item)">
129129
<AppIcon iconName="app-migrate"></AppIcon>
@@ -147,7 +147,7 @@
147147

148148
<div class="mul-operation border-t w-full" v-if="isBatch === true">
149149
<el-button :disabled="multipleSelection.length === 0" @click="openGenerateDialog()">
150-
生成关联问题
150+
生成问题
151151
</el-button>
152152
<el-button :disabled="multipleSelection.length === 0" @click="openSelectDocumentDialog()">
153153
迁移

0 commit comments

Comments
 (0)