From da483f5c9148df988864658fe87d3f2dfe73a430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Tue, 8 Jul 2025 17:51:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B6=88=E6=AF=92=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E5=A4=9A=E9=80=89=E5=AF=BC=E5=87=BA=E8=80=8C?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E5=AF=BC=E5=87=BA=E5=85=A8=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/audit/History.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/audit/History.vue b/src/components/audit/History.vue index 2d02c6d..7d976e2 100644 --- a/src/components/audit/History.vue +++ b/src/components/audit/History.vue @@ -87,14 +87,14 @@ const onDelHistory = () => { }) } const onExportHistory = () => { - // if (!selectedRecords.value.length) { - // FtMessage.warning('请选择要导出的数据') - // return - // } + if (!selectedRecords.value.length) { + FtMessage.warning('请选择要导出的数据') + return + } const exportParams = { className: 'DisinfectionLogsService', - fnName: 'exportAllRecord', - params: {}, + fnName: 'exportRecord', + params: selectedRecords.value.map(item => item.name), } syncSendCmd(exportParams) .then((res) => { @@ -122,7 +122,7 @@ const deleteBtnVisible = computed(() => {