refactor: Delete unused values.

This commit is contained in:
Net 2024-08-20 18:00:21 +07:00
parent 13585aeff5
commit bac245ce8c

View file

@ -52,7 +52,6 @@ const {
const inputSearch = ref<string>('');
const branch = defineModel<CustomerBranch[]>('branch');
const currentCustomerName = defineModel<string>('currentCustomerName');
const modeView = defineModel<boolean>('modeView');
const currentCustomerUrlImage = defineModel<string | null>(
@ -72,7 +71,7 @@ const pageSizeBranch = ref<number>(30);
const prop = withDefaults(
defineProps<{
color?: 'purple' | 'green';
currentCustomerName?: string;
customerType: CustomerType;
}>(),
{
@ -526,20 +525,17 @@ watch([customerId, inputSearch, currentStatus], async () => {
<q-td colspan="100%" style="padding: 16px">
<div class="text-center">
<TableEmpoloyee
in-table
:list-employee="listEmployee"
:columns-employee="columnsEmployee"
:field-selected="[
'customerName',
'personName',
'telephoneNo',
'branchEmail',
'orderNumber',
'firstName',
'formDialogInputAge',
'formDialogInputNationality',
'formDialogInputPassportNo',
'passportExpiryDate',
'type',
'formDialogEmployeeNRCNo',
'formDialogInputAge',
'action',
]"
@history="(item) => {}"