From c55ae1d4b32d84de6ea071ff64a6180d408ba591 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 02 四月 2025 16:57:25 +0800
Subject: [PATCH] fix: bug
---
src/views/Home/components/BatchChangeRecordView.vue | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/views/Home/components/BatchChangeRecordView.vue b/src/views/Home/components/BatchChangeRecordView.vue
index 28f8619..7707a6a 100644
--- a/src/views/Home/components/BatchChangeRecordView.vue
+++ b/src/views/Home/components/BatchChangeRecordView.vue
@@ -1,15 +1,7 @@
<template>
<LoadingLayout :loading="state.loading">
<AppContainer>
- <ProTableV2
- v-bind="proTableProps"
- :columns="column"
- :operationBtns="operationBtns"
- :autoHeight="false"
- :tableProps="{
- maxHeight: '400px',
- }"
- >
+ <ProTableV2 v-bind="proTableProps" :columns="column" :operationBtns="operationBtns">
<template #checkStatus="{ row }">
<el-tooltip
class="box-item"
@@ -42,7 +34,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 +199,10 @@
}
function handleDownload(row: API.InsureBatchBillDto) {
+ if (!row.attachmentUrl) {
+ Message.errorMessage('鏈笂浼犳壒鍗曟枃浠�');
+ return;
+ }
downloadFileByUrl(setOSSLink(row.attachmentUrl));
}
--
Gitblit v1.9.1