From 75c9593eb6c5c545aa3f3eb03bb54b3f1e699c96 Mon Sep 17 00:00:00 2001 From: 15976874561 <2553956742@qq.com> Date: Fri, 12 Sep 2025 15:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E7=BB=BC=E5=90=88=E8=AF=84?= =?UTF-8?q?=E4=BB=B7=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stuCQS/teacher-evaluation-status/index.vue | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/views/stuCQS/teacher-evaluation-status/index.vue b/src/views/stuCQS/teacher-evaluation-status/index.vue index b44419a..b05a3a2 100644 --- a/src/views/stuCQS/teacher-evaluation-status/index.vue +++ b/src/views/stuCQS/teacher-evaluation-status/index.vue @@ -8,7 +8,8 @@ - + @@ -27,7 +28,7 @@ - 导出 + 导出 @@ -145,15 +146,9 @@ export default { }, /** 导出按钮操作 */ async handleExport() { - try { - const loading = fullLoading(this); - await exportTeacherEvaluationStatus(this.queryParams); - this.$modal.msgSuccess("导出成功"); - } catch (error) { - this.$modal.msgError("导出失败"); - } finally { - this.fullLoading = false; - } + this.download('comprehensive/teacherEvaluationStatus/export', { + ...this.queryParams + }, `teacherEvaluationStatus_${new Date().getTime()}.xlsx`) } } };