feat: 다중 도메인 UI 개선 및 컴포넌트 리팩토링

- 게시판, HR, 설정, 차량관리, 건설, 견적 등 전반적 UI 개선
- FormField, TabChip, Select 등 공통 컴포넌트 개선
- 가격배분 edit 페이지 제거 및 상세 페이지 통합
- 체크리스트, 근태, 급여, 권한 관리 등 폼 개선

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-02-25 22:30:06 +09:00
parent 1675bcbedf
commit 8f9507a665
86 changed files with 856 additions and 685 deletions

View File

@@ -76,6 +76,8 @@ export interface FormFieldProps {
showButtons?: boolean;
/** 텍스트 입력 최대 길이 */
maxLength?: number;
/** SelectContent에 전달할 className (예: max-h-60) */
selectContentClassName?: string;
}
export function FormField({
@@ -108,6 +110,7 @@ export function FormField({
suffix,
showButtons,
maxLength,
selectContentClassName,
}: FormFieldProps) {
const renderInput = () => {
@@ -122,7 +125,7 @@ export function FormField({
<SelectTrigger className={`${error ? 'border-red-500' : ''} ${inputClassName}`}>
<SelectValue placeholder={selectPlaceholder} />
</SelectTrigger>
<SelectContent>
<SelectContent className={selectContentClassName}>
{options.map((option) => (
<SelectItem
key={option.value}