From d770ca905d659e50cb3efb7290043a35dd2ea379 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 08 一月 2025 11:52:37 +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