เงืนเดือนค่าจ้าง => เพิ่ม filter หน่วยงาน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-05-20 16:47:22 +07:00
parent 837d704709
commit 86ee465e9f
6 changed files with 83 additions and 19 deletions

View file

@ -238,7 +238,9 @@ function downloadFile(fileName: string) {
});
}
onMounted(() => {
fetchListFile();
if (props.rootId) {
fetchListFile();
}
});
</script>

View file

@ -355,9 +355,11 @@ function onClickDownload(data: DataOption) {
const modalDialogInfoCriteria = ref<boolean>(false);
onMounted(() => {
fetchDataQuota(store.groupId);
fetchDataPeriod(store.groupId);
splitterModel.value = store.roundMainCode === "APR" ? 13 : 16;
if (props.rootId) {
fetchDataQuota(store.groupId);
fetchDataPeriod(store.groupId);
splitterModel.value = store.roundMainCode === "APR" ? 13 : 16;
}
});
const isRetire = ref<boolean | string>(false);

View file

@ -253,7 +253,9 @@ function sendAndRecommend(title: string, typeOrder: string) {
}
onMounted(() => {
getListFile();
if (props.rootId) {
getListFile();
}
});
</script>

View file

@ -356,9 +356,12 @@ function onClickDownload(data: DataOption) {
const modalDialogInfoCriteria = ref<boolean>(false);
onMounted(() => {
fetchDataQuota(store.groupId);
fetchDataPeriod(store.groupId);
splitterModel.value = store.roundMainCode === "APR" ? 13 : 16;
console.log(props.rootId);
if (props.rootId) {
fetchDataQuota(store.groupId);
fetchDataPeriod(store.groupId);
splitterModel.value = store.roundMainCode === "APR" ? 13 : 16;
}
});
const isRetire = ref<boolean>(false);