fuliqi
2025-01-08 d770ca905d659e50cb3efb7290043a35dd2ea379
运行监控报表导出超时时间配置
1个文件已修改
16 ■■■■ 已修改文件
src/views/system/monitor/video/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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
            })
          }
        }
      });