wupengfei
2025-04-02 c55ae1d4b32d84de6ea071ff64a6180d408ba591
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));
}