แก้ไขข้อความโครงสร้างอัตรากำลัง

This commit is contained in:
Warunee Tamkoo 2024-01-31 09:06:50 +07:00
parent 3afdf26171
commit 7e46a7e984
3 changed files with 43 additions and 15 deletions

View file

@ -53,7 +53,7 @@ const listAdd = ref<ListMenu[]>([
// color: "blue",
// },
{
label: "ดูประวัติหน่วยงาน",
label: "ประวัติ",
icon: "history",
type: "HISTORY",
color: "purple",
@ -322,7 +322,11 @@ onMounted(async () => {});
</q-item-section>
<div v-if="prop.node.orgLevel === 0">
<q-item-section
v-if="item.type === 'EDIT' || item.type === 'DEL'"
v-if="
item.type === 'EDIT' ||
item.type === 'DEL' ||
item.type === 'HISTORY'
"
>{{ item.label }}หนวยงาน</q-item-section
>
<q-item-section v-else-if="item.type === 'ADD'"
@ -336,7 +340,8 @@ onMounted(async () => {});
v-if="
item.type === 'ADD' ||
item.type === 'EDIT' ||
item.type === 'DEL'
item.type === 'DEL' ||
item.type === 'HISTORY'
"
>{{ item.label }}วนราชการ</q-item-section
>