diff --git a/src/modules/13_salary/views/salaryEmployeeRate.vue b/src/modules/13_salary/views/salaryEmployeeRate.vue index cc0b31191..d68e80d64 100644 --- a/src/modules/13_salary/views/salaryEmployeeRate.vue +++ b/src/modules/13_salary/views/salaryEmployeeRate.vue @@ -81,7 +81,7 @@ const itemMenu = ref([ const formFilter = reactive({ page: 1, - pageSize: 10, + pageSize: 100, keyword: "", }); const maxPage = ref(1); @@ -90,6 +90,17 @@ const pagination = ref({ page: formFilter.page, rowsPerPage: formFilter.pageSize, }); +const isActive = ref(false); + +function fetchDataDetail() { + http + .get(config.API.salaryEmployeeChartByid(salaryEmployeeId.value)) + .then((res) => { + isActive.value = res.data.result.isActive; + }) + .catch((e) => {}) + .finally(() => {}); +} function fetchSalalyEmployeeRate() { showLoader(); @@ -179,6 +190,7 @@ watch( onMounted(() => { fetchSalalyEmployeeRate(); + fetchDataDetail(); });