refactor: เพิ่ม action ของ columns
This commit is contained in:
parent
105c3a1ab4
commit
2d8c4d5d6a
1 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue