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 @@ - - + +