|
8 | 8 | </div> |
9 | 9 | <div class="flex flex-1 bg-primary2 rounded-t-lg"> |
10 | 10 | <span class="text-xs font-bold text-body p-4"> |
11 | | - 검토 중 {{ data?.tasksPendingComplete.length }} |
| 11 | + 검토 중 {{ data?.tasksInProgress.length }} |
12 | 12 | </span> |
13 | 13 | </div> |
14 | 14 | <div class="flex flex-1 bg-primary2 rounded-t-lg"> |
|
47 | 47 | <div class="flex-1 px-4 pb-4 bg-primary2 rounded-b-lg relative"> |
48 | 48 | <div class="absolute top-0 left-0 px-4 w-full"> |
49 | 49 | <div |
50 | | - v-if="data?.tasksPendingComplete.length === 0" |
| 50 | + v-if="data?.tasksInProgress.length === 0" |
51 | 51 | class="w-full max-w-80 h-[130px] bg-white border border-dashed border-border-1 rounded-lg flex justify-center items-center"> |
52 | 52 | <span class="whitespace-pre-wrap text-center text-sm font-bold text-disabled"> |
53 | 53 | {{ '상태를 변경할 작업을\n끌어 놓으세요' }} |
|
59 | 59 | group="taskList" |
60 | 60 | item-key="task" |
61 | 61 | class="flex flex-col gap-4 h-full" |
62 | | - @change="event => onListChange(event, 'PENDING_COMPLETED')"> |
| 62 | + @change="event => onListChange(event, 'IN_REVIEWING')"> |
63 | 63 | <template #item="{ element }"> |
64 | 64 | <TaskCard |
65 | 65 | :key="element.taskId" |
@@ -113,8 +113,8 @@ const queryClient = useQueryClient() |
113 | 113 | const statusToKey = (status: Status): keyof TaskCardList | undefined => { |
114 | 114 | if (status === 'IN_PROGRESS') { |
115 | 115 | return 'tasksInProgress' |
116 | | - } else if (status === 'PENDING_COMPLETED') { |
117 | | - return 'tasksPendingComplete' |
| 116 | + } else if (status === 'IN_REVIEWING') { |
| 117 | + return 'tasksInReviewing' |
118 | 118 | } else if (status === 'COMPLETED') { |
119 | 119 | return 'tasksCompleted' |
120 | 120 | } |
@@ -172,6 +172,6 @@ const { data } = useQuery<TaskCardList>({ |
172 | 172 | }) |
173 | 173 |
|
174 | 174 | const tasksInProgress = computed(() => [...(data.value?.tasksInProgress || [])]) |
175 | | -const tasksPendingComplete = computed(() => [...(data.value?.tasksPendingComplete || [])]) |
| 175 | +const tasksPendingComplete = computed(() => [...(data.value?.tasksInReviewing || [])]) |
176 | 176 | const tasksCompleted = computed(() => [...(data.value?.tasksCompleted || [])]) |
177 | 177 | </script> |
0 commit comments