diff --git a/src/views/restaurant/statistics/index.vue b/src/views/restaurant/statistics/index.vue index 6b25a73..5bd6bce 100644 --- a/src/views/restaurant/statistics/index.vue +++ b/src/views/restaurant/statistics/index.vue @@ -278,9 +278,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - exportStatistics(this.queryParams).then(response => { - this.downloadExcel(response.msg); - }) + this.download('restaurant/statistics/export', { + ...this.queryParams + }, `员工餐费明细_${new Date().getTime()}.xlsx`) }, /** 科大实习生导出 */ handleExportKd(){