สิทธิ์แก้ไขข้อมูลทะเบียนประวัติตำแหน่ง/เงินเดือน API

This commit is contained in:
setthawutttty 2025-03-26 11:47:37 +07:00
parent 7d452e9c0d
commit 46f312f0f1
3 changed files with 8 additions and 4 deletions

View file

@ -96,7 +96,7 @@ async function onSearchListPerson(newPage: boolean = false) {
selected.value = [];
showLoader();
await http
.get(config.API.permissionOrgProfile, {
.get(config.API.permissionProfile, {
params: qurey,
})
.then((res) => {
@ -131,7 +131,7 @@ function onSubmitPerson() {
personId: arrayId,
};
await http
.post(config.API.permissionOrg, body)
.post(config.API.permissioProfileOrg, body)
.then(async () => {
await props.fetchData?.(false);
success($q, "เพิ่มราชชื่อสำเร็จ");
@ -170,6 +170,8 @@ function onClose() {
qurey.searchKeyword = "";
rows.value = [];
selected.value = [];
isEdit.value = false;
isCheck.value = false;
}
/**