From 575bc5a5d33f81fce8c2b78bf7a916dbfdadc458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Fri, 23 Jan 2026 16:59:05 +0900 Subject: [PATCH] =?UTF-8?q?fix(WEB):=20=EB=8C=80=EC=8B=9C=EB=B3=B4?= =?UTF-8?q?=EB=93=9C=20=EC=98=A4=EB=8A=98=EC=9D=98=20=EC=9D=B4=EC=8A=88=20?= =?UTF-8?q?=EC=B9=B4=ED=85=8C=EA=B3=A0=EB=A6=AC=EB=AA=85=20=EC=98=A4?= =?UTF-8?q?=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 주식 이슈 → 추심 이슈 - 직정 제고 → 적정 재고 --- .../business/CEODashboard/sections/CalendarSection.tsx | 4 ++-- .../business/CEODashboard/sections/TodayIssueSection.tsx | 8 ++++---- src/components/business/CEODashboard/types.ts | 4 ++-- src/lib/api/dashboard/transformers.ts | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/business/CEODashboard/sections/CalendarSection.tsx b/src/components/business/CEODashboard/sections/CalendarSection.tsx index 6ba5a879..0093bef9 100644 --- a/src/components/business/CEODashboard/sections/CalendarSection.tsx +++ b/src/components/business/CEODashboard/sections/CalendarSection.tsx @@ -43,8 +43,8 @@ const SCHEDULE_TYPE_COLORS: Record = { // 이슈 뱃지별 색상 const ISSUE_BADGE_COLORS: Record = { '수주 성공': 'bg-blue-100 text-blue-700', - '주식 이슈': 'bg-purple-100 text-purple-700', - '직정 제고': 'bg-orange-100 text-orange-700', + '추심 이슈': 'bg-purple-100 text-purple-700', + '적정 재고': 'bg-orange-100 text-orange-700', '지출예상내역서': 'bg-green-100 text-green-700', '세금 신고': 'bg-red-100 text-red-700', '결재 요청': 'bg-yellow-100 text-yellow-700', diff --git a/src/components/business/CEODashboard/sections/TodayIssueSection.tsx b/src/components/business/CEODashboard/sections/TodayIssueSection.tsx index 4fe8d625..57ce3afe 100644 --- a/src/components/business/CEODashboard/sections/TodayIssueSection.tsx +++ b/src/components/business/CEODashboard/sections/TodayIssueSection.tsx @@ -18,8 +18,8 @@ import type { TodayIssueListItem, TodayIssueListBadgeType } from '../types'; // 뱃지 색상 매핑 const BADGE_COLORS: Record = { '수주 성공': 'bg-blue-100 text-blue-700 hover:bg-blue-100', - '주식 이슈': 'bg-purple-100 text-purple-700 hover:bg-purple-100', - '직정 제고': 'bg-orange-100 text-orange-700 hover:bg-orange-100', + '추심 이슈': 'bg-purple-100 text-purple-700 hover:bg-purple-100', + '적정 재고': 'bg-orange-100 text-orange-700 hover:bg-orange-100', '지출예상내역서': 'bg-green-100 text-green-700 hover:bg-green-100', '세금 신고': 'bg-red-100 text-red-700 hover:bg-red-100', '결재 요청': 'bg-yellow-100 text-yellow-700 hover:bg-yellow-100', @@ -46,8 +46,8 @@ const getRandomCreditRating = (): CreditRating => { const FILTER_KEYS = [ 'all', '수주 성공', - '주식 이슈', - '직정 제고', + '추심 이슈', + '적정 재고', '지출예상내역서', '세금 신고', '결재 요청', diff --git a/src/components/business/CEODashboard/types.ts b/src/components/business/CEODashboard/types.ts index 2fcff0f0..08c12226 100644 --- a/src/components/business/CEODashboard/types.ts +++ b/src/components/business/CEODashboard/types.ts @@ -59,8 +59,8 @@ export interface TodayIssueItem { // 오늘의 이슈 뱃지 타입 export type TodayIssueListBadgeType = | '수주 성공' - | '주식 이슈' - | '직정 제고' + | '추심 이슈' + | '적정 재고' | '지출예상내역서' | '세금 신고' | '결재 요청' diff --git a/src/lib/api/dashboard/transformers.ts b/src/lib/api/dashboard/transformers.ts index 935d60d2..dd7ea05a 100644 --- a/src/lib/api/dashboard/transformers.ts +++ b/src/lib/api/dashboard/transformers.ts @@ -572,8 +572,8 @@ export function transformStatusBoardResponse(api: StatusBoardApiResponse): Today /** 유효한 뱃지 타입 목록 */ const VALID_BADGE_TYPES: TodayIssueListBadgeType[] = [ '수주 성공', - '주식 이슈', - '직정 제고', + '추심 이슈', + '적정 재고', '지출예상내역서', '세금 신고', '결재 요청',