diff --git a/frontend/components/report/designer/CanvasComponent.tsx b/frontend/components/report/designer/CanvasComponent.tsx index 85eed9f0..ee0f9c4b 100644 --- a/frontend/components/report/designer/CanvasComponent.tsx +++ b/frontend/components/report/designer/CanvasComponent.tsx @@ -409,45 +409,19 @@ export function CanvasComponent({ component }: CanvasComponentProps) { switch (component.type) { case "text": - return ( -
-
- 텍스트 필드 - {hasBinding && ● 연결됨} -
-
- {displayValue} -
-
- ); - case "label": return ( -
-
- 레이블 - {hasBinding && ● 연결됨} -
-
- {displayValue} -
+
+ {displayValue}
); @@ -470,10 +444,6 @@ export function CanvasComponent({ component }: CanvasComponentProps) { return (
-
- 테이블 - ● 연결됨 ({queryResult.rows.length}행) -
-
테이블
-
- 쿼리를 연결하세요 -
+
+ 쿼리를 연결하세요
); case "image": return (
-
이미지
{component.imageUrl ? ( 이미지 ) : ( -
+
이미지를 업로드하세요
)} @@ -611,9 +577,8 @@ export function CanvasComponent({ component }: CanvasComponentProps) { return (
-
서명란
-
도장란
-
+
{stampPersonName &&
{stampPersonName}
}
{component.imageUrl ? ( @@ -983,38 +947,30 @@ export function CanvasComponent({ component }: CanvasComponentProps) { const isQR = barcodeType === "QR"; return ( -
-
- {isQR ? "QR코드" : `바코드 (${barcodeType})`} - {component.barcodeFieldName && component.queryId && ( - ● 연결됨 - )} -
-
- {isQR ? ( - - ) : ( - - )} -
+
+ {isQR ? ( + + ) : ( + + )}
); @@ -1047,15 +1003,8 @@ export function CanvasComponent({ component }: CanvasComponentProps) { const isChecked = getCheckboxValue(); return ( -
-
- 체크박스 - {component.checkboxFieldName && component.queryId && ( - ● 연결됨 - )} -
-
@@ -1087,17 +1036,17 @@ export function CanvasComponent({ component }: CanvasComponentProps) { )}
{/* 레이블 */} - {checkboxLabel && ( - - {checkboxLabel} - - )} -
+ {/* 레이블 */} + {checkboxLabel && ( + + {checkboxLabel} + + )}
);