Merge branch 'develop' into nice

# Conflicts:
#	src/modules/14_KPI/store.ts
This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-04 09:33:16 +07:00
commit b1653d75f2
17 changed files with 668 additions and 608 deletions

View file

@ -34,6 +34,8 @@ const {
} = useCounterMixin();
const isActive = ref<boolean>(false);
const posType = ref<string>("");
const salaryId = ref<string>(route.params.id.toString());
/** modalDialog*/
@ -209,9 +211,11 @@ function fetchList() {
.get(config.API.salaryChartByid(salaryId.value))
.then((res) => {
isActive.value = res.data.result.isActive;
posType.value = `${res.data.result.posTypeName}(${res.data.result.posLevelName})`;
})
.catch((e) => {})
.finally(() => {});
.catch((e) => {
messageError($q, e);
});
}
onMounted(async () => {
await fetchList();
@ -236,7 +240,7 @@ watch([() => formQuery.page, () => formQuery.pageSize], async () => {
class="q-mr-sm"
@click="router.go(-1)"
/>
ตราเงนเดอน
ตราเงนเดอน ของ{{ posType }}
</div>
</div>
<q-card flat bordered class="q-pa-md">