refactor: change name value

This commit is contained in:
Thanaphon Frappet 2025-01-09 17:22:16 +07:00
parent 264da36e8a
commit bf5ad411f7

View file

@ -19,8 +19,8 @@ defineProps<{
contactTel?: string; contactTel?: string;
contactUrl?: string; contactUrl?: string;
email?: string; email?: string;
receivedDate?: Date | string; acceptedAt?: Date | string;
deliveryDate?: Date | string; submittedAt?: Date | string;
status?: UserTaskStatus; status?: UserTaskStatus;
}>(); }>();
</script> </script>
@ -96,7 +96,7 @@ defineProps<{
:label="$t('taskOrder.workStartDate')" :label="$t('taskOrder.workStartDate')"
> >
<template #value> <template #value>
{{ receivedDate ? dateFormat(receivedDate) : '-' }} {{ acceptedAt ? dateFormat(acceptedAt) : '-' }}
</template> </template>
</DataDisplay> </DataDisplay>
@ -105,7 +105,7 @@ defineProps<{
:label="$t('taskOrder.workSubmissionDate')" :label="$t('taskOrder.workSubmissionDate')"
> >
<template #value> <template #value>
{{ deliveryDate ? dateFormat(deliveryDate) : '-' }} {{ submittedAt ? dateFormat(submittedAt) : '-' }}
</template> </template>
</DataDisplay> </DataDisplay>