rename: 설문 및 팝업 윈도우 경로 수정
This commit is contained in:
@@ -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`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user