From ae0a8d27a55c3a877f6075ecb03610291ab052dc Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 14 Oct 2024 09:28:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/base/device/index.vue | 8 ++++---- src/views/base/staff/index.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/base/device/index.vue b/src/views/base/device/index.vue index 61805cf..b8173cb 100644 --- a/src/views/base/device/index.vue +++ b/src/views/base/device/index.vue @@ -905,13 +905,13 @@ handleExport() { if(this.ids.length == 0){ exportDevice(this.queryParams).then(res => { - downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' }) - }) + downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' }) + }) }else{ const ids = this.ids.join(',') exportDeviceSome({ids:ids}).then(res => { - downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' }) - }) + downloadFile({ fileName: `设备_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' }) + }) } }, //打开设备页面 diff --git a/src/views/base/staff/index.vue b/src/views/base/staff/index.vue index 5e1267e..7f1fcf3 100644 --- a/src/views/base/staff/index.vue +++ b/src/views/base/staff/index.vue @@ -387,8 +387,8 @@ - - + +