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