From 7e387f437268ae591d358dffceb26d004c7590a5 Mon Sep 17 00:00:00 2001 From: huangzhe <3451701311@qq.com> Date: Fri, 26 Sep 2025 13:17:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=88=90=E7=BB=A9=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 成绩更新按钮从操作转移到导出作业按钮后方 --- src/components/student/TableStudent.vue | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue index a9fb4050..9a66537e 100644 --- a/src/components/student/TableStudent.vue +++ b/src/components/student/TableStudent.vue @@ -188,6 +188,14 @@ >
导出作业
+ +
+
刷新
+
@@ -945,6 +953,18 @@ function startLoading() { tableData.value.loading = true; } +/** + * 更新列表分数详情 + * @param id {string} + * @param record {Object|undefined} + */ +function handleUpdateScore(){ + const pid = props.id + tableData.value.loading = true + updateScore({pid}).then(()=>{ + getStuList() + }) +} defineExpose({ getStuList, startLoading });