ข้อมูลตำแหน่ง:UI+API

This commit is contained in:
oat 2024-02-06 11:23:13 +07:00
parent 9f30a71efe
commit 765a4c94c8
9 changed files with 1069 additions and 16 deletions

View file

@ -10,7 +10,7 @@ const tabs = ref<Array<any>>([]);
onMounted(() => {
const tabsPerson = [
{ label: "ตำแหน่ง", value: "list_position" },
{ label: "ประเภทและระดับตำแหน่ง", value: "list_type" },
{ label: "รายการประเภทตำแหน่ง", value: "list_type" },
{ label: "ตำแหน่งทางการบริหาร", value: "list_executive" },
];
tabs.value = tabsPerson;
@ -20,7 +20,7 @@ onMounted(() => {
<template>
<div class="toptitle text-dark col-12 row items-center">อมลตำแหน</div>
<q-card flat bordered >
<q-card flat bordered>
<q-tabs
dense
v-model="currentTab"
@ -41,10 +41,10 @@ onMounted(() => {
</q-tabs>
<q-separator size="2px" />
<div class="q-pa-md">
<ListPosition v-if="currentTab == 'list_position'"/>
<ListType v-if="currentTab == 'list_type'"/>
<ListExecutive v-if="currentTab == 'list_executive'"/>
</div>
<ListPosition v-if="currentTab == 'list_position'" />
<ListType v-if="currentTab == 'list_type'" />
<ListExecutive v-if="currentTab == 'list_executive'" />
</div>
</q-card>
</template>