[agent-pipeline] pipe-20260310142919-l9ae round-2

This commit is contained in:
DDD1542 2026-03-11 00:12:03 +09:00
parent 53ac875915
commit f3bbe4af7f
3 changed files with 14 additions and 12 deletions

View File

@ -1930,7 +1930,7 @@ export default function TableManagementPage() {
{referenceTableColumns[column.referenceTable]?.map((refCol) => (
<CommandItem
key={refCol.columnName}
value={`${refCol.columnLabel || ""} ${refCol.columnName}`}
value={`${refCol.displayName || ""} ${refCol.columnName}`}
onSelect={() => {
handleDetailSettingsChange(
column.columnName,
@ -1957,9 +1957,9 @@ export default function TableManagementPage() {
/>
<div className="flex flex-col">
<span className="font-medium">{refCol.columnName}</span>
{refCol.columnLabel && (
{refCol.displayName && (
<span className="text-muted-foreground text-[10px]">
{refCol.columnLabel}
{refCol.displayName}
</span>
)}
</div>

View File

@ -30,17 +30,19 @@ export function ScreenSplitPanel({ screenId, config, initialFormData, groupedDat
const configSplitRatio = config?.splitRatio ?? 50;
// 설정 패널에서 오는 간단한 config를 임베딩 설정으로 변환
const now = new Date().toISOString();
const leftEmbedding = config?.leftScreenId
? {
id: 1,
parentScreenId: screenId || 0,
childScreenId: config.leftScreenId,
position: "left" as const,
mode: "view" as const, // 기본 view 모드 (select는 테이블 자체 설정)
mode: "view" as const,
config: {},
companyCode: "*",
createdAt: new Date(),
updatedAt: new Date(),
createdAt: now,
updatedAt: now,
}
: null;
@ -50,11 +52,11 @@ export function ScreenSplitPanel({ screenId, config, initialFormData, groupedDat
parentScreenId: screenId || 0,
childScreenId: config.rightScreenId,
position: "right" as const,
mode: "view" as const, // 기본 view 모드
mode: "view" as const,
config: {},
companyCode: "*",
createdAt: new Date(),
updatedAt: new Date(),
createdAt: now,
updatedAt: now,
}
: null;

View File

@ -59,11 +59,11 @@ export function CategoryWidget({ widgetId, tableName, menuObjid, component, ...p
<ResponsiveSplitPanel
left={
<CategoryColumnList
tableName={tableName}
tableName={tableName ?? ""}
selectedColumn={selectedColumn?.uniqueKey || null}
onColumnSelect={(uniqueKey, columnLabel, tableName) => {
onColumnSelect={(uniqueKey, columnLabel, tblName) => {
const columnName = uniqueKey.split('.')[1];
setSelectedColumn({ uniqueKey, columnName, columnLabel, tableName });
setSelectedColumn({ uniqueKey, columnName, columnLabel, tableName: tblName });
}}
menuObjid={effectiveMenuObjid}
/>