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