From e1940043e9aa475e4662424b4839e43153934058 Mon Sep 17 00:00:00 2001 From: ljpark Date: Fri, 7 Aug 2026 22:49:44 +0900 Subject: [PATCH] =?UTF-8?q?sn:=20=EB=85=B8=ED=9B=84=20=ED=95=98=EC=88=98?= =?UTF-8?q?=EA=B4=80=EB=A1=9C=20=EC=A0=95=EB=B9=84=EC=82=AC=EC=97=85=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D/=EC=88=98=EC=A0=95=20=EC=9E=85=EB=A0=A5?= =?UTF-8?q?=EB=9E=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/obsltPpl/ui/ObsltPplFormPage.tsx | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/apps/sn/src/features/obsltPpl/ui/ObsltPplFormPage.tsx b/apps/sn/src/features/obsltPpl/ui/ObsltPplFormPage.tsx index 253ae2831..4c03555d5 100644 --- a/apps/sn/src/features/obsltPpl/ui/ObsltPplFormPage.tsx +++ b/apps/sn/src/features/obsltPpl/ui/ObsltPplFormPage.tsx @@ -43,6 +43,10 @@ type FormKey = keyof ObsltPplBusinessSaveRequest; type FormState = Record; type FieldErrorKey = FormKey | "region"; const REGION_FORM_KEYS: FormKey[] = ["sggCd", "ctpvNm", "sigunNm"]; +const BIZ_SE_OPTIONS = [ + { text: "정밀조사", val: "정밀조사" }, + { text: "정비사업", val: "정비사업" }, +]; /** 등록·수정 표에서 필드 순서, 라벨, 입력 종류와 필수 여부를 한 곳에서 관리한다. */ const FIELDS: Array<{ @@ -66,11 +70,11 @@ const FIELDS: Array<{ { key: "evdncDcmntSbmsnStts", label: "증빙서류 제출여부" }, { key: "bgngYmd", label: "착수(착공) 예정일자", placeholder: "YYYY-MM-DD" }, { key: "cmcnYmd", label: "준공(예정)일자", placeholder: "YYYY-MM-DD" }, - { key: "bizPrplDlyRsnCn", label: "사업추진 부진사유", type: "textarea" }, + { key: "bizPrplDlyRsnCn", label: "사업추진 부진사유" }, { key: "bizPicNm", label: "담당자 이름" }, { key: "bizPicCnpl", label: "담당자 연락처" }, - { key: "rmrkCn", label: "비고", type: "textarea" }, - { key: "pbcpOpnnCn", label: "공단의견", type: "textarea" }, + { key: "rmrkCn", label: "비고", }, + { key: "pbcpOpnnCn", label: "공단의견", }, ]; const NUMBER_KEYS = new Set([ @@ -292,7 +296,7 @@ export function ObsltPplFormPage({ id }: { id?: string }) { label="시도" className="" labelClass="w-16 whitespace-nowrap text-[1.3rem] text-gray-600" - selectClass="w-[180px] rounded-lg bg-white" + selectClass="h-11 w-[180px] rounded-lg bg-white" selectArray={ctpvOptions} value={ctpvCd} onSelectValue={(value) => { @@ -315,7 +319,7 @@ export function ObsltPplFormPage({ id }: { id?: string }) { label="시군구" className="" labelClass="w-20 whitespace-nowrap text-[1.3rem] text-gray-600" - selectClass="w-[220px] rounded-lg bg-white" + selectClass="h-11 w-[220px] rounded-lg bg-white" selectArray={representativeSggOptions} value={sggCd} onSelectValue={(value) => { @@ -347,17 +351,16 @@ export function ObsltPplFormPage({ id }: { id?: string }) { {field.key === "bizSe" ? ( - + /> ) : field.type === "textarea" ? (