feat(WEB): 전체 페이지 ?mode= URL 네비게이션 패턴 적용

- 등록(?mode=new), 상세(?mode=view), 수정(?mode=edit) URL 패턴 일괄 적용
- 중복 패턴 제거: /edit?mode=edit → ?mode=edit (16개 파일)
- 제목 일관성: {기능} 등록/상세/수정 패턴 적용
- 검수 체크리스트 문서 추가 (79개 페이지)
- UniversalListPage, IntegratedDetailTemplate 공통 컴포넌트 개선

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-01-25 12:27:43 +09:00
parent 72f1accbe4
commit f6551c7e8b
162 changed files with 2907 additions and 480 deletions

View File

@@ -555,9 +555,11 @@ export function SalesDetail({ mode, salesId }: SalesDetailProps) {
const templateMode = isNewMode ? 'create' : mode;
// ===== 동적 config =====
// IntegratedDetailTemplate: create → "{title} 등록", view → "{title}", edit → "{title} 수정"
// view 모드에서 "매출 상세"로 표시하려면 직접 설정 필요
const dynamicConfig = {
...salesConfig,
title: isNewMode ? '매출' : '매출 상세',
title: isViewMode ? '매출 상세' : '매출',
actions: {
...salesConfig.actions,
submitLabel: isNewMode ? '등록' : '저장',

View File

@@ -180,7 +180,7 @@ export function SalesManagement({ initialData, initialPagination }: SalesManagem
// ===== 핸들러 =====
const handleRowClick = useCallback((item: SalesRecord) => {
router.push(`/ko/accounting/sales/${item.id}`);
router.push(`/ko/accounting/sales/${item.id}?mode=view`);
}, [router]);
const handleEdit = useCallback((item: SalesRecord) => {