This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-20 11:30:37 +07:00
parent 302b947a2b
commit e4827229f8
3 changed files with 25 additions and 21 deletions

View file

@ -153,7 +153,7 @@ async function fetchListPerson(newPage: boolean = false) {
const data = await res.data.result;
maxPage.value = Math.ceil(data.total / qureyBody.pageSize); //
total.value = data.total; //
rows.value = data.data;
// rows.value = data.data;
})
.catch((err) => {
messageError($q, err);
@ -223,9 +223,7 @@ watch(
}
);
/**
* hook ทำงานเม Components กเรยกใชงาน
*/
/** hook ทำงานเมื่อ Components ถูกเรียกใช้งาน*/
onMounted(async () => {
await fatchOrg(); //
});
@ -294,16 +292,13 @@ onMounted(async () => {
</div>
</q-card-section>
<q-separator :vertical="$q.screen.gt.sm" />
<q-card-section
class="col-lg-9 col-md-8 col-xs-12 scroll"
style="height: 83vh"
>
<q-card-section class="col-lg-9 col-md-8 col-xs-12" style="height: 85vh">
<q-card bordered style="height: 100%; border: 1px solid #d6dee1">
<div class="col-12 text-weight-medium bg-grey-1 q-py-sm q-px-md">
รายชอคนททธดการโครงสราง
</div>
<div class="col-12"><q-separator /></div>
<q-card-section>
<q-card-section style="height: 92%" class="scroll">
<div class="row col-12 q-col-md">
<q-btn
v-if="orgId"
@ -479,7 +474,7 @@ onMounted(async () => {
<style scoped>
.tree-container {
overflow: auto;
height: 70vh;
height: 76vh;
border: 1px solid #e6e6e7;
border-radius: 10px;
}