ทำเบียนประวัติลูกจ้างชั่วคราว

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-10 18:00:12 +07:00
parent 40b46b8c62
commit ba64953315
25 changed files with 4679 additions and 848 deletions

View file

@ -195,6 +195,7 @@ async function onClickSelectPos(id: string) {
(e) => e.id === seletcId.value
);
}
console.log(selected.value);
}
}
@ -208,7 +209,7 @@ onMounted(async () => {
</script>
<template>
<div class="column q-col-gutter-sm" style="height: 70vh">
<div class="column q-col-gutter-sm">
<!-- เลอกเลขทตำแหน -->
<div class="col-7">
<q-card bordered style="height: 100%; border: 1px solid #d6dee1">

View file

@ -198,8 +198,7 @@ async function fetchPosFind(level: number, id: string) {
.post(config.API.orgPosFind, body)
.then((res) => {
const data = res.data.result;
console.log(data);
expanded.value = data;
nodeId.value = id;
positionId.value = props?.dataRow?.posmasterId;
@ -280,9 +279,8 @@ watch(
if (modal.value) {
await fetchOrganizationActive();
console.log(props?.dataRow);
if (props?.dataRow?.node !== null && props?.dataRow?.nodeId !== null) {
if (props?.dataRow?.node !== null && props?.dataRow?.nodeId !== null) {
await fetchPosFind(props?.dataRow?.node, props?.dataRow?.nodeId);
} else {
expanded.value = [];
@ -348,7 +346,7 @@ watch(
<q-card
bordered
class="col-12 col-sm-3 scroll q-pa-sm"
style="height: 75vh"
style="height: 80vh"
>
<q-toolbar style="padding: 0">
<q-toolbar-title class="text-subtitle2 text-bold"
@ -410,7 +408,11 @@ watch(
</q-tree>
</q-card>
<q-card bordered class="col-12 col-sm-9 q-pa-sm">
<q-card
bordered
class="col-12 col-sm-9 q-pa-sm scroll"
style="height: 80vh"
>
<q-tab-panels
v-model="nodeId"
animated