อัตราค่าจ้าง => เพิ่ม title
This commit is contained in:
parent
3f43b5456c
commit
5ee1ab2b43
1 changed files with 9 additions and 6 deletions
|
|
@ -107,15 +107,18 @@ const pagination = ref({
|
|||
rowsPerPage: formFilter.pageSize,
|
||||
});
|
||||
const isActive = ref<boolean>(false);
|
||||
const groupSalary = ref<string>("");
|
||||
|
||||
function fetchDataDetail() {
|
||||
http
|
||||
.get(config.API.salaryEmployeeChartByid(salaryEmployeeId.value))
|
||||
.then((res) => {
|
||||
isActive.value = res.data.result.isActive;
|
||||
groupSalary.value = res.data.result.group;
|
||||
})
|
||||
.catch((e) => {})
|
||||
.finally(() => {});
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
});
|
||||
}
|
||||
|
||||
function fetchSalalyEmployeeRate() {
|
||||
|
|
@ -222,9 +225,9 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
onMounted(() => {
|
||||
fetchSalalyEmployeeRate();
|
||||
fetchDataDetail();
|
||||
onMounted(async () => {
|
||||
await fetchDataDetail();
|
||||
await fetchSalalyEmployeeRate();
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
|
|
@ -240,7 +243,7 @@ onMounted(() => {
|
|||
class="q-mr-sm"
|
||||
@click="router.go(-1)"
|
||||
/>
|
||||
อัตราค่าจ้าง
|
||||
อัตราค่าจ้าง กลุ่มที่{{ groupSalary }}
|
||||
</div>
|
||||
</div>
|
||||
<q-card flat bordered class="q-pa-md">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue