refactor: เพิ่ม action ของ columns

This commit is contained in:
Net 2024-07-16 13:24:10 +07:00
parent 105c3a1ab4
commit 2d8c4d5d6a

View file

@ -129,6 +129,12 @@ const columnsEmployee = [
field: 'type',
sortable: true,
},
{
name: 'action',
label: '',
field: 'action',
},
] satisfies QTableProps['columns'];
const columnsCustomer = [
@ -319,6 +325,7 @@ const fieldSelected = ref<
| 'formDialogEmployeeNRCNo'
| 'formDialogInputAge'
| 'branchLabel'
| 'action'
)[]
>([
'customerName',
@ -333,6 +340,7 @@ const fieldSelected = ref<
'formDialogEmployeeNRCNo',
'formDialogInputAge',
'branchLabel',
'action',
]);
const splitterModel = ref(15);