From 15d8e00ec4060bb2fef72682ecc4ba63c9c7fe17 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 17 十月 2025 14:36:39 +0800
Subject: [PATCH] feat: 1.2.0.1

---
 src/views/EmploymentManage/components/CheckManageDialog.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/EmploymentManage/components/CheckManageDialog.vue b/src/views/EmploymentManage/components/CheckManageDialog.vue
index f745f31..81a4ecb 100644
--- a/src/views/EmploymentManage/components/CheckManageDialog.vue
+++ b/src/views/EmploymentManage/components/CheckManageDialog.vue
@@ -27,7 +27,7 @@
 import { useGlobalEventContext } from '@/hooks';
 
 defineOptions({
-  name: 'EnterpriseConsumptionDetailDialog',
+  name: 'CheckManageDialog',
 });
 
 type Form = {
@@ -113,6 +113,9 @@
     emits: {
       onClick: (role) => handleDownload(role),
     },
+    extraProps: {
+      hide: (row: API.GetCheckReceiveTaskUserSubmitsQueryResultItem) => row.files?.length === 0,
+    },
   },
 ]);
 
@@ -155,7 +158,7 @@
   },
   {
     defaultExtraParams: {
-      orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }],
+      orderInput: [{ property: 'date', order: EnumPagedListOrder.Desc }],
     },
     queryKey: ['taskCheckReceiveServices/getCheckReceiveTaskUserSubmits'],
     columnsRenderProps: {
@@ -178,7 +181,7 @@
   if (row.files?.length > 0) {
     downloadWithZip(
       row.files.map((x) => ({
-        data: `${setOSSLink(x)}?${new Date().getTime()}`,
+        data: `${setOSSLink(x)}`,
       })),
       '楠屾敹鐓х墖'
     );

--
Gitblit v1.9.1