From 733aaabb4c2d0ee97a5fe3927399172d370733cd Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Wed, 13 Aug 2025 13:54:34 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=B5=81=E7=A8=8B=20=E6=8C=89?=
=?UTF-8?q?=E9=92=AE=E5=9B=BE=E6=A0=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../workflow/components/approval-panel.vue | 52 +++++++++++++++----
1 file changed, 43 insertions(+), 9 deletions(-)
diff --git a/apps/web-antd/src/views/workflow/components/approval-panel.vue b/apps/web-antd/src/views/workflow/components/approval-panel.vue
index 87cd3f7d..c992ea72 100644
--- a/apps/web-antd/src/views/workflow/components/approval-panel.vue
+++ b/apps/web-antd/src/views/workflow/components/approval-panel.vue
@@ -4,14 +4,25 @@ import type { User } from '#/api/core/user';
import type { FlowInfoResponse } from '#/api/workflow/instance/model';
import type { TaskInfo } from '#/api/workflow/task/model';
-import { computed, onUnmounted, ref, watch } from 'vue';
+import { computed, h, onUnmounted, ref, watch } from 'vue';
import { useRouter } from 'vue-router';
import { Fallback, useVbenModal, VbenAvatar } from '@vben/common-ui';
import { DictEnum } from '@vben/constants';
import { getPopupContainer } from '@vben/utils';
-import { CopyOutlined } from '@ant-design/icons-vue';
+import {
+ ArrowLeftOutlined,
+ CheckOutlined,
+ CopyOutlined,
+ EditOutlined,
+ ExclamationCircleOutlined,
+ MenuOutlined,
+ RollbackOutlined,
+ UsergroupAddOutlined,
+ UsergroupDeleteOutlined,
+ UserOutlined,
+} from '@ant-design/icons-vue';
import { useClipboard, useEventListener } from '@vueuse/core';
import {
Card,
@@ -457,29 +468,48 @@ async function handleCopy(text: string) {
撤销申请
-
+
重新编辑
删除
- 通过
+
+ 通过
+
终止
@@ -487,7 +517,9 @@ async function handleCopy(text: string) {
驳回
@@ -503,32 +535,34 @@ async function handleCopy(text: string) {
key="1"
@click="() => delegationModalApi.open()"
>
- 委托
+ 委托
- 其他
+
+ 其他
+