เพิ่ม get เมื่อ เลื่อน ลำดับ สำเร็จ

This commit is contained in:
STW_TTTY\stwtt 2024-09-26 11:10:29 +07:00
parent 7cd215369f
commit 10a9401d32

View file

@ -124,6 +124,7 @@ async function onSawpPos(val: any, type: string) {
.get(config.API.commandSwap("tab2", type, val.id))
.then((res) => {
success($q, "แก้ไขข้อมูลสำเร็จ");
getPersonList();
})
.catch((e) => {
messageError($q, e);
@ -151,7 +152,7 @@ function onDelete(id: string) {
}
function selectModal(data: PersonInfo) {
selectPersonData = data
selectPersonData = data;
titleName.value = `${data.prefix ?? ""}${data.firstName ?? ""} ${
data.lastName ?? ""
}`;