From ff6b2db013b8afc86d26ba24fdf5e6115c2127ab Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 02 四月 2025 16:11:51 +0800
Subject: [PATCH] fix: bug
---
src/views/Home/components/BatchChangeRecordView.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/Home/components/BatchChangeRecordView.vue b/src/views/Home/components/BatchChangeRecordView.vue
index 28f8619..a38937f 100644
--- a/src/views/Home/components/BatchChangeRecordView.vue
+++ b/src/views/Home/components/BatchChangeRecordView.vue
@@ -42,7 +42,7 @@
useFormDialog,
} from '@bole-core/components';
import * as insureBatchBillServices from '@/services/api/InsureBatchBill';
-import { downloadFileByUrl, OrderInputType } from '@bole-core/core';
+import { downloadFileByUrl, Message, OrderInputType } from '@bole-core/core';
import BatchChangeRecordDetailDialog from './BatchChangeRecordDetailDialog.vue';
import {
BatchBillCheckStatus,
@@ -207,6 +207,10 @@
}
function handleDownload(row: API.InsureBatchBillDto) {
+ if (!row.attachmentUrl) {
+ Message.errorMessage('鏈笂浼犳壒鍗曟枃浠�');
+ return;
+ }
downloadFileByUrl(setOSSLink(row.attachmentUrl));
}
--
Gitblit v1.9.1