diff --git a/client/src/components/reservation/ReservationAuditTimeline.vue b/client/src/components/reservation/ReservationAuditTimeline.vue index fe82af0..2a29668 100644 --- a/client/src/components/reservation/ReservationAuditTimeline.vue +++ b/client/src/components/reservation/ReservationAuditTimeline.vue @@ -17,9 +17,9 @@ >
- {{ item.action }} + {{ formatReservationAuditAction(t, item.action) }} - {{ item.actor_type }} / {{ item.actor_id }} · {{ formatReservationDateTime(item.occurred_at) }} + {{ formatReservationActorType(t, item.actor_type) }} / {{ item.actor_id }} · {{ formatReservationDateTime(item.occurred_at) }}

{{ item.reason }} @@ -34,6 +34,7 @@ import { useI18n } from 'vue-i18n' import type { ReservationTaskAuditLogResult } from '@/types/reservation' +import { formatReservationActorType, formatReservationAuditAction } from '@/utils/reservationDisplay' import { formatReservationDateTime } from '@/utils/reservationFormat' defineProps<{ diff --git a/client/src/components/reservation/ReservationEvidencePanel.vue b/client/src/components/reservation/ReservationEvidencePanel.vue index 794b546..d1f24e4 100644 --- a/client/src/components/reservation/ReservationEvidencePanel.vue +++ b/client/src/components/reservation/ReservationEvidencePanel.vue @@ -7,21 +7,21 @@

-
ID
+
{{ t('task.sourceMessageId') }}
{{ sourceMessage.source_message_id }}
-
Sender
+
{{ t('task.sourceSender') }}
{{ sourceMessage.sender_identifier }}
-
Subject
+
{{ t('task.sourceSubject') }}
{{ sourceMessage.thread_subject }}
-
Received
+
{{ t('task.sourceReceivedAt') }}
{{ formatReservationDateTime(sourceMessage.payload_received_at) }}
diff --git a/client/src/components/reservation/ReservationOperaPanel.vue b/client/src/components/reservation/ReservationOperaPanel.vue index 0692008..f411b4e 100644 --- a/client/src/components/reservation/ReservationOperaPanel.vue +++ b/client/src/components/reservation/ReservationOperaPanel.vue @@ -39,7 +39,7 @@
{{ operation.operation_sequence }}
- {{ operation.operation_name }} + {{ formatReservationOperaOperation(t, operation.operation_code, operation.operation_name) }} {{ operation.operation_code }}
@@ -91,6 +91,7 @@ import { useI18n } from 'vue-i18n' import ReservationStatusBadge from '@/components/reservation/ReservationStatusBadge.vue' import { executeReservationOperaOperation, retryReservationOperaOperation } from '@/services/reservationService' import type { ReservationOperaOperationResult } from '@/types/reservation' +import { formatReservationOperaOperation } from '@/utils/reservationDisplay' const props = defineProps<{ taskId: string diff --git a/client/src/components/reservation/ReservationStatusBadge.vue b/client/src/components/reservation/ReservationStatusBadge.vue index a315684..c707be3 100644 --- a/client/src/components/reservation/ReservationStatusBadge.vue +++ b/client/src/components/reservation/ReservationStatusBadge.vue @@ -33,7 +33,7 @@ const tone = computed(() => { return 'warning' }) -const label = computed(() => t(`status.${props.status}`, props.status)) +const label = computed(() => t(`status.${props.status}`, t('common.unknownStatus')))