From 94b9c5c68e205070ede8233f3a0fb16f9b8e014b Mon Sep 17 00:00:00 2001 From: wodeyangzipingpingwuqi Date: Wed, 29 May 2024 17:40:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(sj=5F1.0.0=5Fbeta3):=20=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=201.=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=20-=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=96=B0=E5=A2=9E=E5=AF=BC=E5=87=BA=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workflow/task/index.vue | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/views/workflow/task/index.vue b/src/views/workflow/task/index.vue index 580b0b5..4841aa6 100644 --- a/src/views/workflow/task/index.vue +++ b/src/views/workflow/task/index.vue @@ -14,6 +14,7 @@ import { triggerTypeRecord } from '@/constants/business'; import StatusSwitch from '@/components/common/status-switch.vue'; import { tagColor } from '@/utils/common'; import { useAuth } from '@/hooks/business/auth'; +import { downloadFetch } from '@/utils/download'; import WorkflowSearch from './modules/workflow-search.vue'; const { hasAuth } = useAuth(); @@ -249,6 +250,10 @@ async function execute(id: string) { getData(); } } + +function handleExport() { + downloadFetch('/workflow/export', checkedRowKeys.value, $t('page.workflow.title')); +}