เพิ่ม columns table ขั้น
This commit is contained in:
parent
ebe8227fbe
commit
b7869a5f39
2 changed files with 12 additions and 2 deletions
|
|
@ -310,7 +310,7 @@ onMounted(async () => {
|
|||
</div>
|
||||
|
||||
<div :class="`text-${item.color} text-bold`">
|
||||
{{ item.total.toLocaleString() }}
|
||||
{{ item.total ? item.total.toLocaleString() : 0 }}
|
||||
</div>
|
||||
</div>
|
||||
</q-card-section>
|
||||
|
|
|
|||
|
|
@ -73,10 +73,19 @@ const columns = ref<QTableProps["columns"]>([
|
|||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "posType",
|
||||
align: "left",
|
||||
label: "ตำแหน่งประเภท",
|
||||
sortable: false,
|
||||
field: "posType",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "posLevel",
|
||||
align: "left",
|
||||
label: "ตำแหน่งประเภทระดับ",
|
||||
label: "ระดับตำแหน่ง",
|
||||
sortable: false,
|
||||
field: "posLevel",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -115,6 +124,7 @@ const visibleColumns = ref<string[]>([
|
|||
"posNo",
|
||||
"fullName",
|
||||
"position",
|
||||
"posType",
|
||||
"posLevel",
|
||||
"posExecutive",
|
||||
"amount",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue