แก้ ตำแหน่งเงินเดือน

This commit is contained in:
setthawutttty 2024-02-05 14:46:03 +07:00
parent a9adabb6a2
commit 2aa55bc642

View file

@ -1505,7 +1505,6 @@ watch(visibleColumns, async (count: String[], prevCount: String[]) => {
onMounted(async () => {
// await fetchPosition();
await getPosition();
await fetchType();
// await nodeTree();
await fetchData();
});
@ -2398,11 +2397,17 @@ async function fetchType() {
hideLoader();
});
}
// watch(()=>modal.value,()=>{
// if(modal.value == true){
// getPosition()
// }
// })
watch(
() => modal.value,
() => {
if (modal.value == true) {
positionTypeOptions.value = [];
positionLevelOptions.value = [];
positionLevelOptionsFilter.value = [];
fetchType();
}
}
);
</script>
<style lang="scss">
.modalfix {