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