This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-24 09:08:00 +07:00
parent 77381dbd09
commit 924ca29cb1
6 changed files with 51 additions and 12 deletions

View file

@ -50,6 +50,7 @@ const {
pathRegistryEmp,
onSearchDataTable,
convertDateToAPI,
findOrgNameHtml,
} = useCounterMixin();
const empType = ref<string>(pathRegistryEmp(route.name?.toString() ?? ""));
@ -906,8 +907,18 @@ onMounted(async () => {
<q-tooltip v-if="col.value">ดูคำสั่ง</q-tooltip>
</div>
<div v-else-if="col.name == 'organization'" class="table_ellipsis">
{{ col.value ? col.value : "-" }}
<div v-else-if="col.name == 'organization'" class="text-html">
{{
props.row
? findOrgNameHtml({
root: props.row.orgRoot,
child1: props.row.orgChild1,
child2: props.row.orgChild2,
child3: props.row.orgChild3,
child4: props.row.orgChild4,
})
: "-"
}}
</div>
<div v-else>
{{ col.value ? col.value : "-" }}