From 4d59274394c2dc70ca77834bf27dfb942edf0a7a Mon Sep 17 00:00:00 2001
From: suyanyan <1321717064@qq.com>
Date: Tue, 23 Jul 2024 15:05:02 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/attendance/roolcall/detail.vue | 26 +++++++++----------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/SafeCampus.WEB/src/views/attendance/roolcall/detail.vue b/SafeCampus.WEB/src/views/attendance/roolcall/detail.vue
index c3cef4f..f3c2be2 100644
--- a/SafeCampus.WEB/src/views/attendance/roolcall/detail.vue
+++ b/SafeCampus.WEB/src/views/attendance/roolcall/detail.vue
@@ -62,7 +62,7 @@
:initial-index="4"
fit="cover"
/>
- 指派{{ item.id }}
+ 指派
@@ -183,20 +183,18 @@ const submitFn = () => {
}
visible.value = false;
- attendanceRoolcallApi
- .update({ id: assignId.value, personId: checkData.value.personId, personSetId: checkData.value.personSets[0].personSetId })
- .then(() => {
- ElMessage({
- message: "指派成功",
- type: "success"
- });
- UnrecognizedD.value = UnrecognizedD.value.filter((item: any) => item.id !== assignId.value);
- listData.value.map((item: any) => {
- if (item.personId === checkData.value.personId) {
- item.status = 1;
- }
- });
+ attendanceRoolcallApi.update({ id: assignId.value, personId: checkData.value.personId, personSetId: checkData.value.personSetId }).then(() => {
+ ElMessage({
+ message: "指派成功",
+ type: "success"
+ });
+ UnrecognizedD.value = UnrecognizedD.value.filter((item: any) => item.id !== assignId.value);
+ listData.value.map((item: any) => {
+ if (item.personId === checkData.value.personId) {
+ item.status = 1;
+ }
});
+ });
};
const handleClose = () => {
visible.value = false;