Merge pull request #1483 from Frappet/fix/display

style(registry-officer):display  columns training
This commit is contained in:
Warunee Tamkoo 2025-10-17 10:55:11 +07:00 committed by GitHub
commit 443f940443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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>