rename: 설문 및 팝업 윈도우 경로 수정

This commit is contained in:
2025-06-11 17:55:23 +09:00
parent 260b9531df
commit 2ea0262b18
6 changed files with 4 additions and 4 deletions
@@ -83,7 +83,7 @@ const PreviewButton = ({ popupSn }: { popupSn: number }) => {
const left = response.popupHrzntltyPstn + window.screenX;
const top = response.popupVtclPstn + window.screenY;
window.open(
`/popup/${popupSn}`,
`/view/popup/${popupSn}`,
"",
`width=${width},height=${height},left=${left},top=${top}`,
);
@@ -65,7 +65,7 @@ export const columns: ColumnDef<Survey>[] = [
const left = window.screen.width / 2 - width / 2 + window.screenX;
const top = window.screen.height / 2 - height / 2 + window.screenY;
window.open(
`/user-survey-article/${row.original.srvySn}`,
`/view/survey-article/${row.original.srvySn}`,
"",
`width=${width},height=${height},left=${left},top=${top}`,
);
@@ -93,7 +93,7 @@ export const columns: ColumnDef<Survey>[] = [
const left = window.screen.width / 2 - width / 2 + window.screenX;
const top = window.screen.height / 2 - height / 2 + window.screenY;
window.open(
`/user-survey-result/${row.original.srvySn}`,
`/view/survey-result/${row.original.srvySn}`,
"",
`width=${width},height=${height},left=${left},top=${top}`,
);
@@ -64,7 +64,7 @@ export function Header({ viewOnly }: { viewOnly?: boolean }) {
const top = (response.popupVtclPstn || 0) + window.screenY;
const popupWindow = window.open(
`/popup/${popup.popupSn}`,
`/view/popup/${popup.popupSn}`,
"",
`width=${width},height=${height},left=${left},top=${top},resizable=yes,scrollbars=yes,status=no,location=no,menubar=no`,
);