diff --git a/apps/cs/app/(without-base-layout)/popup/[popupSn]/page.tsx b/apps/cs/app/(without-base-layout)/view/popup/[popupSn]/page.tsx similarity index 100% rename from apps/cs/app/(without-base-layout)/popup/[popupSn]/page.tsx rename to apps/cs/app/(without-base-layout)/view/popup/[popupSn]/page.tsx diff --git a/apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx b/apps/cs/app/(without-base-layout)/view/survey-article/[srvySn]/page.tsx similarity index 100% rename from apps/cs/app/(without-base-layout)/user-survey-article/[srvySn]/page.tsx rename to apps/cs/app/(without-base-layout)/view/survey-article/[srvySn]/page.tsx diff --git a/apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx b/apps/cs/app/(without-base-layout)/view/survey-result/[srvySn]/page.tsx similarity index 100% rename from apps/cs/app/(without-base-layout)/user-survey-result/[srvySn]/page.tsx rename to apps/cs/app/(without-base-layout)/view/survey-result/[srvySn]/page.tsx diff --git a/apps/cs/src/pages/popup/model/table-columns.tsx b/apps/cs/src/pages/popup/model/table-columns.tsx index 558b65827..4f9491112 100644 --- a/apps/cs/src/pages/popup/model/table-columns.tsx +++ b/apps/cs/src/pages/popup/model/table-columns.tsx @@ -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}`, ); diff --git a/apps/cs/src/pages/survey/model/survey-table-columns.tsx b/apps/cs/src/pages/survey/model/survey-table-columns.tsx index a1689e38a..a498d1859 100644 --- a/apps/cs/src/pages/survey/model/survey-table-columns.tsx +++ b/apps/cs/src/pages/survey/model/survey-table-columns.tsx @@ -65,7 +65,7 @@ export const columns: ColumnDef[] = [ 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[] = [ 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}`, ); diff --git a/packages/common/components/src/ui/header/index.tsx b/packages/common/components/src/ui/header/index.tsx index e0e94e17b..41384a766 100644 --- a/packages/common/components/src/ui/header/index.tsx +++ b/packages/common/components/src/ui/header/index.tsx @@ -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`, );