From 29ea0fd5d04dbaac800f211e0ac7701de0a7f3f4 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 15 九月 2025 15:18:08 +0800
Subject: [PATCH] 新需求

---
 src/views/system/monitor/video/index.vue |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/views/system/monitor/video/index.vue b/src/views/system/monitor/video/index.vue
index a332322..7cf8ee8 100644
--- a/src/views/system/monitor/video/index.vue
+++ b/src/views/system/monitor/video/index.vue
@@ -566,19 +566,27 @@
           if (this.exportForm.dataType === 0) {
             this.download('system/monitor/export/video/total', {
               ...this.exportForm,
-            }, `鎬婚噺鎯呭喌_${new Date().getTime()}.xlsx`)
+            }, `鎬婚噺鎯呭喌_${new Date().getTime()}.xlsx`, {
+              timeout: 60000
+            })
           } else if (this.exportForm.dataType === 1) {
             this.download('system/monitor/export/video/online', {
               ...this.exportForm,
-            }, `鐐逛綅鍦ㄧ嚎_${new Date().getTime()}.xlsx`)
+            }, `鐐逛綅鍦ㄧ嚎_${new Date().getTime()}.xlsx`, {
+              timeout: 60000
+            })
           } else if (this.exportForm.dataType === 2) {
             this.download('system/monitor/export/video/record', {
               ...this.exportForm,
-            }, `褰曞儚鎯呭喌_${new Date().getTime()}.xlsx`)
+            }, `褰曞儚鎯呭喌_${new Date().getTime()}.xlsx`, {
+              timeout: 60000
+            })
           } else if (this.exportForm.dataType === 3) {
             this.download('system/monitor/export/video/loseTime', {
               ...this.exportForm,
-            }, `褰曞儚缂哄け鏃堕暱_${new Date().getTime()}.xlsx`)
+            }, `褰曞儚缂哄け鏃堕暱_${new Date().getTime()}.xlsx`, {
+              timeout: 60000
+            })
           }
         }
       });

--
Gitblit v1.8.0