suyanyan vor 4 Monaten
Ursprung
Commit
4d59274394
1 geänderte Dateien mit 12 neuen und 14 gelöschten Zeilen
  1. +12
    -14
      SafeCampus.WEB/src/views/attendance/roolcall/detail.vue

+ 12
- 14
SafeCampus.WEB/src/views/attendance/roolcall/detail.vue Datei anzeigen

@@ -62,7 +62,7 @@
:initial-index="4"
fit="cover"
/>
<el-button color="#626aef" size="small" @click="assignFn(item)">指派{{ item.id }}</el-button>
<el-button color="#626aef" size="small" @click="assignFn(item)">指派</el-button>
</li>
</ul>
</div>
@@ -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;


Laden…
Abbrechen
Speichern