From bb2503ed5613cc39582acf1dd516fa7ac47540e7 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期六, 24 八月 2024 20:31:54 +0800
Subject: [PATCH] 知识库列表修改
---
src/views/dmx/knowledgeLib/index.vue | 63 ++++++++++++++++---------------
1 files changed, 33 insertions(+), 30 deletions(-)
diff --git a/src/views/dmx/knowledgeLib/index.vue b/src/views/dmx/knowledgeLib/index.vue
index ca8e462..cebcfe3 100644
--- a/src/views/dmx/knowledgeLib/index.vue
+++ b/src/views/dmx/knowledgeLib/index.vue
@@ -309,11 +309,8 @@
<div style="display: flex; align-items: center">
<div style="width: 100px">
<a-popover title="" v-if="record.run == '4'">
- <a-tag
- :loading="record.loading"
- :color="'blue'"
- border
- >{{ $t('dmx.list.complete') }}</a-tag
+ <a-tag :loading="record.loading" :color="'red'" border
+ >澶辫触</a-tag
>
<template #content>
<p>娴佺▼寮�濮嬩簬锛歿{ record.process_begin_at }}</p>
@@ -467,17 +464,19 @@
</div>
</template>
<template #action="{ record }">
- <a-button
- type="text"
- :disabled="record.run == '1'"
- @click="handleClick(record)"
- v-hasPermi="'/kb/data_update'"
- size="small"
- >
- <template #icon>
- <icon-tool />
- </template>
- </a-button>
+ <a-tooltip content="瑙f瀽鏂规硶">
+ <a-button
+ type="text"
+ :disabled="record.run == '1'"
+ @click="handleClick(record)"
+ v-hasPermi="'/kb/data_update'"
+ size="small"
+ >
+ <template #icon>
+ <icon-tool />
+ </template>
+ </a-button>
+ </a-tooltip>
<edit
:item="record"
v-hasPermi="'/kb/rename'"
@@ -488,28 +487,32 @@
type="warning"
@ok="deleteItem(record)"
>
+ <a-tooltip content="鍒犻櫎">
+ <a-button
+ type="text"
+ size="small"
+ :disabled="record.run == '1'"
+ v-hasPermi="'/kb/data_delete'"
+ >
+ <template #icon>
+ <icon-delete />
+ </template>
+ </a-button>
+ </a-tooltip>
+ </a-popconfirm>
+ <a-tooltip content="涓嬭浇">
<a-button
type="text"
size="small"
+ v-hasPermi="'/kb/data_download'"
:disabled="record.run == '1'"
- v-hasPermi="'/kb/data_delete'"
+ @click="onDownloadDocument(record)"
>
<template #icon>
- <icon-delete />
+ <icon-download />
</template>
</a-button>
- </a-popconfirm>
- <a-button
- type="text"
- size="small"
- v-hasPermi="'/kb/data_download'"
- :disabled="record.run == '1'"
- @click="onDownloadDocument(record)"
- >
- <template #icon>
- <icon-download />
- </template>
- </a-button>
+ </a-tooltip>
<!-- <a-button
type="text"
--
Gitblit v1.8.0