From 6aadd1aae7f7805289ed9d2a9d8151300714dcc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Thu, 27 Nov 2025 16:47:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E6=88=90=E7=BB=A9=E5=90=8E=E6=B2=A1=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=9F=BA=E7=A1=80=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/exam/classDetails.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/exam/classDetails.vue b/src/views/exam/classDetails.vue index 8644ce0..dec216e 100644 --- a/src/views/exam/classDetails.vue +++ b/src/views/exam/classDetails.vue @@ -117,7 +117,7 @@ const tableData: TableConfig = intTableData({ selectRows: [], }); -async function deleteInfo(o, row, c) { +async function deleteInfo(o, row, baseRefresh) { try { await ElMessageBox.confirm("是否删除考试信息?", "提示", { confirmButtonText: "确定", @@ -125,11 +125,12 @@ async function deleteInfo(o, row, c) { type: "warning", }); await DeleteExamInfo({ examId: row[0].examId, classId: row[0].classId }); + baseRefresh(); } catch (error) { ElMessage.info("取消删除"); } } -async function reloadImportInfo(o, row, c) { +async function reloadImportInfo(o, row, baseRefresh) { try { await ElMessageBox.confirm("是否重新录入考试信息?", "提示", { confirmButtonText: "确定", @@ -138,6 +139,7 @@ async function reloadImportInfo(o, row, c) { }); await DeleteExamInfo({ examId: row[0].examId, classId: row[0].classId }); entryExamInfo(row[0].examId); + baseRefresh(); } catch (error) { ElMessage.info("取消重新录入"); }