feat: 다중 도메인 UI 개선 및 컴포넌트 리팩토링
- 게시판, HR, 설정, 차량관리, 건설, 견적 등 전반적 UI 개선 - FormField, TabChip, Select 등 공통 컴포넌트 개선 - 가격배분 edit 페이지 제거 및 상세 페이지 통합 - 체크리스트, 근태, 급여, 권한 관리 등 폼 개선 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -246,14 +246,14 @@ export function ProcessForm({ mode, initialData }: ProcessFormProps) {
|
||||
// 단계 상세 이동
|
||||
const handleStepClick = (stepId: string) => {
|
||||
if (isEdit && initialData?.id) {
|
||||
router.push(`/ko/master-data/process-management/${initialData.id}/steps/${stepId}`);
|
||||
router.push(`/ko/master-data/process-management/${initialData.id}/steps/${stepId}?mode=view`);
|
||||
}
|
||||
};
|
||||
|
||||
// 단계 등록 이동
|
||||
const handleAddStep = () => {
|
||||
if (isEdit && initialData?.id) {
|
||||
router.push(`/ko/master-data/process-management/${initialData.id}/steps/new`);
|
||||
router.push(`/ko/master-data/process-management/${initialData.id}/steps/new?mode=new`);
|
||||
} else {
|
||||
toast.info('공정을 먼저 등록한 후 단계를 추가할 수 있습니다.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user