From a7eb20b8f5692171cc48babc24edffc3351a78ab Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 28 十一月 2025 13:45:25 +0800
Subject: [PATCH] fix: bug

---
 src/hooks/fourStreams.ts |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/hooks/fourStreams.ts b/src/hooks/fourStreams.ts
index 0ea2acc..7464dda 100644
--- a/src/hooks/fourStreams.ts
+++ b/src/hooks/fourStreams.ts
@@ -91,10 +91,11 @@
   id?: Ref<string>;
   applyMonth?: Ref<string>;
   enableUploadExtraFiles?: boolean;
+  bountyTemplateId?: Ref<string>;
 };
 
 export function useDeclareEnterpriseTable(options: UseDeclareEnterpriseTableOptions = {}) {
-  const { id, applyMonth, enableUploadExtraFiles = false } = options;
+  const { id, applyMonth, enableUploadExtraFiles = false, bountyTemplateId } = options;
 
   const {
     getDataSource: getList,
@@ -158,14 +159,16 @@
     try {
       const applyFilesRes = await queryClient.ensureQueryData({
         queryKey: [
-          'enterpriseApplyFileServices/getCustomerUploadApplyFiles',
+          'enterpriseApplyFileServices/getCustomerUploadApplyFilesV2',
           row.enterpriseId,
           applyMonth.value,
+          bountyTemplateId.value,
         ],
         queryFn: async () => {
-          return await enterpriseApplyFileServices.getCustomerUploadApplyFiles({
+          return await enterpriseApplyFileServices.getCustomerUploadApplyFilesV2({
             enterpriseId: row.enterpriseId,
             withMonth: applyMonth.value,
+            bountyTemplateId: bountyTemplateId.value,
           });
         },
       });

--
Gitblit v1.9.1