refactor(WEB): 견적관리 목록 페이지 V2 URL 패턴 적용

- 목록 페이지에서 V1 등록 로직 제거
- ?mode=new → /new 리다이렉트 처리 (V1 호환)
- QuoteManagementClient 링크 V2 패턴으로 변경
  - 견적 등록: ?mode=new → /new
  - 상세 보기: ?mode=view 제거 (기본 view)
- DevToolbar test URL → V2 URL로 업데이트
This commit is contained in:
2026-01-26 22:04:19 +09:00
parent 05b0ba73be
commit f71a84f06d
3 changed files with 32 additions and 50 deletions

View File

@@ -79,7 +79,7 @@ export function QuoteManagementClient({
// ===== 핸들러 =====
const handleView = useCallback((quote: Quote) => {
router.push(`/sales/quote-management/${quote.id}?mode=view`);
router.push(`/sales/quote-management/${quote.id}`);
}, [router]);
const handleEdit = useCallback((quote: Quote) => {
@@ -358,7 +358,7 @@ export function QuoteManagementClient({
headerActions: () => (
<Button
className="ml-auto"
onClick={() => router.push('/sales/quote-management?mode=new')}
onClick={() => router.push('/sales/quote-management/new')}
>
<FileText className="w-4 h-4 mr-2" />