style(registry-officer):display colums training

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-16 09:57:10 +07:00
parent 3880953988
commit 157cce6919

View file

@ -147,7 +147,8 @@ const baseColumns = ref<QTableColumn[]>([
sortable: true,
field: "place",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
style: "font-size: 14px; width: 250px;",
classes: "text-html",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
@ -169,7 +170,7 @@ const baseColumns = ref<QTableColumn[]>([
sortable: true,
field: "department",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
style: "font-size: 14px; ",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
@ -550,7 +551,7 @@ onMounted(() => {
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.id">
<div>
<div :class="col.classes" :style="col.style">
{{ col.value ? col.value : "-" }}
</div>
</q-td>