keycloakUserId
This commit is contained in:
parent
67a726fcdf
commit
d35045f769
2 changed files with 19 additions and 9 deletions
|
|
@ -14,6 +14,7 @@ const modal = defineModel<boolean>("modal", { required: true });
|
|||
const props = defineProps({
|
||||
type: String,
|
||||
profileType: String,
|
||||
keycloakUserId: String,
|
||||
fetchDetailLeave: Function,
|
||||
idCheck: Array,
|
||||
});
|
||||
|
|
@ -112,6 +113,7 @@ async function getData() {
|
|||
page: pagination.value.page,
|
||||
keyword: keyword.value,
|
||||
isAct: isAct.value,
|
||||
keycloakUserId: props.keycloakUserId,
|
||||
})
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
|
|
@ -180,11 +182,14 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
watch(()=>modal.value,()=>{
|
||||
if(modal.value){
|
||||
getSearch()
|
||||
watch(
|
||||
() => modal.value,
|
||||
() => {
|
||||
if (modal.value) {
|
||||
getSearch();
|
||||
}
|
||||
}
|
||||
})
|
||||
);
|
||||
</script>
|
||||
<template>
|
||||
<q-dialog v-model="modal" persistent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue