fix(list): 견적 유형(qt_type)에 신규협상·신규견적(3·4) 추가
프론트 QtType 이 재협상·재견적(1·2)만 정의해, 신규협상(3)/신규견적(4) 세션은 목록 '구분'이 '-' 로 깨지고 필터로도 걸러지지 않았다. backend·negodata enum 과 동일하게 4종으로 맞춘다. - QtType/QT_TYPE_LABEL 에 NEW_NEGO(3)·NEW_QUOTE(4) 추가 → 목록 표시 정상화. - filterOptions '구분' 에 신규견적·신규협상 노출 → 필터 선택 가능. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5519c6e73b
commit
235863aea9
@ -24,12 +24,16 @@ export const SESSION_STATUS_LABEL: Record<SessionStatus, string> = {
|
||||
export const QtType = {
|
||||
RENEGO: 1, // 재협상(1:1)
|
||||
REQUOTE: 2, // 재견적(1:N)
|
||||
NEW_NEGO: 3, // 신규협상(1:1)
|
||||
NEW_QUOTE: 4, // 신규견적(1:N)
|
||||
} as const
|
||||
export type QtType = (typeof QtType)[keyof typeof QtType]
|
||||
|
||||
export const QT_TYPE_LABEL: Record<QtType, string> = {
|
||||
[QtType.RENEGO]: '재협상',
|
||||
[QtType.REQUOTE]: '재견적',
|
||||
[QtType.NEW_NEGO]: '신규협상',
|
||||
[QtType.NEW_QUOTE]: '신규견적',
|
||||
}
|
||||
|
||||
// --- 세션 목록 (GET /v1/negotiation/sessions) ----------------------------
|
||||
|
||||
@ -7,7 +7,7 @@ export interface FilterGroupConfig {
|
||||
}
|
||||
|
||||
export const FILTER_GROUPS: readonly FilterGroupConfig[] = [
|
||||
{ key: 'type', title: '구분', items: ['재견적', '재협상'] },
|
||||
{ key: 'type', title: '구분', items: ['재견적', '재협상', '신규견적', '신규협상'] },
|
||||
{
|
||||
key: 'status',
|
||||
title: '상태',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user