diff --git a/frontend/src/pages/relay/TaskDetailPage.vue b/frontend/src/pages/relay/TaskDetailPage.vue index 1a00db6..2bdf5e5 100644 --- a/frontend/src/pages/relay/TaskDetailPage.vue +++ b/frontend/src/pages/relay/TaskDetailPage.vue @@ -29,6 +29,7 @@ import { useTaskStore } from '@/stores/task.store' import { useAuthStore } from '@/stores/auth.store' import { useDialog } from '@/composables/useDialog' import UserAvatar from '@/components/UserAvatar.vue' +import DropdownSelect from '@/components/DropdownSelect.vue' import { attachmentKindOf, fileBadge } from '@/shared/utils/format' const route = useRoute() @@ -307,6 +308,9 @@ const WORK_STATUS_LABEL: Record = { done: '완료', } const WORK_STATUS_OPTIONS: ChecklistWorkStatus[] = ['todo', 'doing', 'done'] +// 보고서 작성 모달의 진행 상태 드롭다운 옵션 +const WORK_STATUS_DD: { value: ChecklistWorkStatus; label: string }[] = + WORK_STATUS_OPTIONS.map((s) => ({ value: s, label: WORK_STATUS_LABEL[s] })) // KST(UTC+9) 기준 'yyyy-MM-dd' — '당일' 판정 function kstDate(iso: string | Date): string { @@ -1734,17 +1738,14 @@ function badgeFor(name: string | undefined): { label: string; cls: string } { :key="it.id" class="cp-write-item" > + {{ it.text }} - - -