กำหนดสิทธิ์ => บทบาทที่เลือกไปแล้วไม่แสดง
This commit is contained in:
parent
3628fe11f4
commit
c97bbc7a78
2 changed files with 17 additions and 6 deletions
|
|
@ -321,9 +321,13 @@ function onDeleteRole(id: string) {
|
|||
authRoleId: "",
|
||||
posMasterId: id,
|
||||
})
|
||||
.then(() => {
|
||||
fetchDataTable(reqMaster.id, reqMaster.revisionId, reqMaster.type);
|
||||
success($q, "ลบข้อมูลสำเร็จ");
|
||||
.then(async () => {
|
||||
await fetchDataTable(
|
||||
reqMaster.id,
|
||||
reqMaster.revisionId,
|
||||
reqMaster.type
|
||||
);
|
||||
await success($q, "ลบข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue