| | |
| | | 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 |
| | | }) |
| | | } |
| | | } |
| | | }); |