KPI ปรับตาม user

This commit is contained in:
STW_TTTY\stwtt 2024-07-15 15:29:15 +07:00
parent 65cc0d0816
commit 3744b3e0d8
4 changed files with 724 additions and 90 deletions

View file

@ -153,6 +153,16 @@ const columns = ref<QTableProps["columns"]>([
style: "font-size: 14px",
format: (val) => statusText(val),
},
{
name: "commandNo",
align: "left",
label: "เลขที่คำสั่ง",
sortable: true,
field: "commandNo",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format: (val) => statusText(val),
},
]);
const visibleColumns = ref<string[]>([
"no",
@ -166,6 +176,7 @@ const visibleColumns = ref<string[]>([
"dateEnd",
"createdAt",
"status",
"commandNo",
]);
const statusText = (val: string) => {