화면 복사기능 구현

This commit is contained in:
kjs
2025-09-03 18:23:47 +09:00
parent b5edef274f
commit 3c86b22a99
8 changed files with 1591 additions and 1055 deletions

View File

@@ -79,6 +79,19 @@ export const screenApi = {
const response = await apiClient.get(`/screen-management/screens/${screenId}/layout`);
return response.data.data;
},
// 화면 복사 (화면정보 + 레이아웃 모두 복사)
copyScreen: async (
sourceScreenId: number,
copyData: {
screenName: string;
screenCode: string;
description?: string;
},
): Promise<ScreenDefinition> => {
const response = await apiClient.post(`/screen-management/screens/${sourceScreenId}/copy`, copyData);
return response.data.data;
},
};
// 템플릿 관련 API