From 53e1a6fdf7ecb4c5e90d7bd26a72a1904e058213 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Thu, 21 Nov 2024 19:21:20 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=88=91=E7=9A=84=E5=BE=85=E5=8A=9E?= =?UTF-8?q?=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflow/components/approval-card.vue | 14 ++++++- .../src/views/workflow/task/taskWaiting.vue | 40 ++++++++++++------- 2 files changed, 37 insertions(+), 17 deletions(-) diff --git a/apps/web-antd/src/views/workflow/components/approval-card.vue b/apps/web-antd/src/views/workflow/components/approval-card.vue index c5c419bb..14bef675 100644 --- a/apps/web-antd/src/views/workflow/components/approval-card.vue +++ b/apps/web-antd/src/views/workflow/components/approval-card.vue @@ -2,19 +2,29 @@ import { Avatar, Descriptions, DescriptionsItem, Tag } from 'ant-design-vue'; interface Props { + id: string; endTime: string; startTime: string; title: string; desc: string; status: string; + active: boolean; } -withDefaults(defineProps<{ info: Props }>(), {}); +const props = withDefaults(defineProps<{ info: Props }>(), {}); + +const emit = defineEmits<{ click: [string] }>(); + +function handleClick() { + emit('click', props.info.id); +}