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