엑셀 업로드 제어로직 설정 가능하도록 수정

This commit is contained in:
kjs
2026-01-09 15:46:09 +09:00
parent aa0698556e
commit ba2a281245
5 changed files with 275 additions and 10 deletions

View File

@@ -665,13 +665,17 @@ export class DynamicFormApi {
* @param detailData 디테일 데이터 배열
* @param masterFieldValues UI에서 선택한 마스터 필드 값
* @param numberingRuleId 채번 규칙 ID (optional)
* @param afterUploadFlowId 업로드 후 실행할 제어 ID (optional, 하위 호환성)
* @param afterUploadFlows 업로드 후 실행할 제어 목록 (optional)
* @returns 업로드 결과
*/
static async uploadMasterDetailSimple(
screenId: number,
detailData: Record<string, any>[],
masterFieldValues: Record<string, any>,
numberingRuleId?: string
numberingRuleId?: string,
afterUploadFlowId?: string,
afterUploadFlows?: Array<{ flowId: string; order: number }>
): Promise<ApiResponse<MasterDetailSimpleUploadResult>> {
try {
console.log("📤 마스터-디테일 간단 모드 업로드:", {
@@ -679,6 +683,7 @@ export class DynamicFormApi {
detailRowCount: detailData.length,
masterFieldValues,
numberingRuleId,
afterUploadFlows: afterUploadFlows?.length || 0,
});
const response = await apiClient.post(`/data/master-detail/upload-simple`, {
@@ -686,6 +691,8 @@ export class DynamicFormApi {
detailData,
masterFieldValues,
numberingRuleId,
afterUploadFlowId,
afterUploadFlows,
});
return {