feat: 다중 도메인 UI 개선 및 컴포넌트 리팩토링
- 게시판, HR, 설정, 차량관리, 건설, 견적 등 전반적 UI 개선 - FormField, TabChip, Select 등 공통 컴포넌트 개선 - 가격배분 edit 페이지 제거 및 상세 페이지 통합 - 체크리스트, 근태, 급여, 권한 관리 등 폼 개선 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -145,7 +145,7 @@ export function StepForm({ mode, processId, initialData }: StepFormProps) {
|
||||
const result = await updateProcessStep(processId, initialData.id, stepData);
|
||||
if (result.success) {
|
||||
toast.success('단계가 수정되었습니다.');
|
||||
router.push(`/ko/master-data/process-management/${processId}/steps/${initialData.id}`);
|
||||
router.push(`/ko/master-data/process-management/${processId}/steps/${initialData.id}?mode=view`);
|
||||
return { success: true };
|
||||
} else {
|
||||
toast.error(result.error || '수정에 실패했습니다.');
|
||||
@@ -155,7 +155,7 @@ export function StepForm({ mode, processId, initialData }: StepFormProps) {
|
||||
const result = await createProcessStep(processId, stepData);
|
||||
if (result.success) {
|
||||
toast.success('단계가 등록되었습니다.');
|
||||
router.push(`/ko/master-data/process-management/${processId}`);
|
||||
router.push(`/ko/master-data/process-management/${processId}?mode=view`);
|
||||
return { success: true };
|
||||
} else {
|
||||
toast.error(result.error || '등록에 실패했습니다.');
|
||||
@@ -171,7 +171,7 @@ export function StepForm({ mode, processId, initialData }: StepFormProps) {
|
||||
};
|
||||
|
||||
const handleCancel = () => {
|
||||
router.push(`/ko/master-data/process-management/${processId}`);
|
||||
router.push(`/ko/master-data/process-management/${processId}?mode=view`);
|
||||
};
|
||||
|
||||
const renderFormContent = useCallback(
|
||||
|
||||
Reference in New Issue
Block a user