refacter พ้นจากราชการ
This commit is contained in:
parent
0e5dc057b8
commit
9d0f0eaabf
12 changed files with 34 additions and 63 deletions
|
|
@ -59,7 +59,6 @@ const responseData = ref<ResponseDataDetail>({
|
|||
onMounted(async () => {
|
||||
if (keycloak.tokenParsed != null) {
|
||||
roleAdmin.value = await keycloak.tokenParsed.role.includes("placement1");
|
||||
console.log("roleAdmin===>", roleAdmin.value);
|
||||
}
|
||||
await getData();
|
||||
});
|
||||
|
|
@ -140,8 +139,6 @@ const saveData = async () => {
|
|||
await http
|
||||
.put(config.API.outByid(dataId), body)
|
||||
.then((res: any) => {
|
||||
// const data = res.data.result;
|
||||
// console.log(data);
|
||||
success($q, "แก้ไขข้อมูลเพื่อลงบัญชีแนบท้ายสำเร็จ");
|
||||
edit.value = false;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue