perf: 文档重试改为重新向量化
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

perf: 文档重试改为重新向量化
This commit is contained in:
wangdan-fit2cloud 2024-05-21 11:45:42 +08:00 committed by GitHub
commit 7123733e86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,20 +143,13 @@
<el-table-column label="操作" align="left" width="110">
<template #default="{ row }">
<div v-if="datasetDetail.type === '0'">
<span v-if="row.status === '2'" class="mr-4">
<el-tooltip effect="dark" content="重" placement="top">
<span class="mr-4">
<el-tooltip effect="dark" content="重新向量化" placement="top">
<el-button type="primary" text @click.stop="refreshDocument(row)">
<el-icon><RefreshRight /></el-icon>
</el-button>
</el-tooltip>
</span>
<span class="mr-4">
<el-tooltip effect="dark" content="设置" placement="top">
<el-button type="primary" text @click.stop="settingDoc(row)">
<el-icon><Setting /></el-icon>
</el-button>
</el-tooltip>
</span>
<span @click.stop>
<el-dropdown trigger="click">
<el-button text>
@ -164,10 +157,14 @@
</el-button>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item @click="settingDoc(row)">
<el-icon><Setting /></el-icon>
设置
</el-dropdown-item>
<el-dropdown-item @click="openDatasetDialog(row)">
<AppIcon iconName="app-migrate"></AppIcon>
迁移</el-dropdown-item
>
迁移
</el-dropdown-item>
<el-dropdown-item icon="Delete" @click.stop="deleteDocument(row)"
>删除</el-dropdown-item
>