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;