เพิ่มฟิล ผู้ดำเนินการ/วันที่แก้ไข

This commit is contained in:
setthawutttty 2024-12-17 15:37:23 +07:00
parent b7835fdd25
commit 9a4c11c6c4
15 changed files with 411 additions and 33 deletions

View file

@ -42,6 +42,8 @@ const visibleColumns = ref<string[]>([
"positionLevel",
"templateDoc",
"refCommandNo",
"lastUpdateFullName",
"lastUpdatedAt",
]);
const columns = computed(() => {
@ -146,6 +148,25 @@ const baseColumns = ref<QTableProps["columns"]>([
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "lastUpdateFullName",
align: "left",
label: "ผู้ดำเนินการ",
sortable: true,
field: "lastUpdateFullName",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "lastUpdatedAt",
align: "left",
label: "วันที่แก้ไข",
sortable: true,
field: "lastUpdatedAt",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format: (v) => date2Thai(v, false, true),
},
]);
const visibleColumnsHistory = ref<string[]>([