커밋 메세지 메뉴별 대중소 정리

This commit is contained in:
DDD1542
2025-12-29 17:56:26 +09:00
parent 00376202fd
commit 87caa4b3ca
48 changed files with 32 additions and 32 deletions

View File

@@ -51,7 +51,7 @@ export default function DraftsPage() {
content: draft.htmlContent,
accountId: draft.accountId,
});
router.push(`/admin/mail/send?${params.toString()}`);
router.push(`/admin/automaticMng/mail/send?${params.toString()}`);
};
const handleDelete = async (id: string) => {

View File

@@ -1056,7 +1056,7 @@ ${data.originalBody}`;
<Button
variant="outline"
size="sm"
onClick={() => router.push(`/admin/mail/templates`)}
onClick={() => router.push(`/admin/automaticMng/mail/templates`)}
className="flex items-center gap-1"
>
<Settings className="w-3 h-3" />

View File

@@ -336,7 +336,7 @@ export default function SentMailPage() {
<RefreshCw className={`w-4 h-4 mr-2 ${loading ? "animate-spin" : ""}`} />
</Button>
<Button onClick={() => router.push("/admin/mail/send")} size="sm">
<Button onClick={() => router.push("/admin/automaticMng/mail/send")} size="sm">
<Mail className="w-4 h-4 mr-2" />
</Button>

View File

@@ -168,7 +168,7 @@ export default function AdminPage() {
</div>
</Link>
<Link href="/admin/external-connections" className="block">
<Link href="/admin/automaticMng/exconList" className="block">
<div className="bg-card hover:bg-muted rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-success/10 flex h-12 w-12 items-center justify-center rounded-lg">
@@ -182,7 +182,7 @@ export default function AdminPage() {
</div>
</Link>
<Link href="/admin/commonCode" className="block">
<Link href="/admin/systemMng/commonCodeList" className="block">
<div className="bg-card hover:bg-muted rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">

View File

@@ -180,7 +180,7 @@ export default function DashboardListClient() {
<span className="text-foreground font-semibold">{totalCount.toLocaleString()}</span>
</div>
</div>
<Button onClick={() => router.push("/admin/dashboard/new")} className="h-10 gap-2 text-sm font-medium">
<Button onClick={() => router.push("/admin/screenMng/dashboardList/new")} className="h-10 gap-2 text-sm font-medium">
<Plus className="h-4 w-4" />
</Button>
</div>
@@ -292,7 +292,7 @@ export default function DashboardListClient() {
<TableRow key={dashboard.id} className="hover:bg-muted/50 border-b transition-colors">
<TableCell className="h-16 text-sm font-medium">
<button
onClick={() => router.push(`/admin/dashboard/edit/${dashboard.id}`)}
onClick={() => router.push(`/admin/screenMng/dashboardList/edit/${dashboard.id}`)}
className="hover:text-primary cursor-pointer text-left transition-colors hover:underline"
>
{dashboard.title}
@@ -319,7 +319,7 @@ export default function DashboardListClient() {
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
<DropdownMenuItem
onClick={() => router.push(`/admin/dashboard/edit/${dashboard.id}`)}
onClick={() => router.push(`/admin/screenMng/dashboardList/edit/${dashboard.id}`)}
className="gap-2 text-sm"
>
<Edit className="h-4 w-4" />
@@ -356,7 +356,7 @@ export default function DashboardListClient() {
<div className="mb-4 flex items-start justify-between">
<div className="flex-1">
<button
onClick={() => router.push(`/admin/dashboard/edit/${dashboard.id}`)}
onClick={() => router.push(`/admin/screenMng/dashboardList/edit/${dashboard.id}`)}
className="hover:text-primary cursor-pointer text-left transition-colors hover:underline"
>
<h3 className="text-base font-semibold">{dashboard.title}</h3>
@@ -391,7 +391,7 @@ export default function DashboardListClient() {
variant="outline"
size="sm"
className="h-9 flex-1 gap-2 text-sm"
onClick={() => router.push(`/admin/dashboard/edit/${dashboard.id}`)}
onClick={() => router.push(`/admin/screenMng/dashboardList/edit/${dashboard.id}`)}
>
<Edit className="h-4 w-4" />

View File

@@ -1,4 +1,4 @@
import DashboardListClient from "@/app/(main)/admin/dashboard/DashboardListClient";
import DashboardListClient from "@/app/(main)/admin/screenMng/dashboardList/DashboardListClient";
/**
*

View File

@@ -37,7 +37,7 @@ export default function ReportDesignerPage() {
description: "리포트를 찾을 수 없습니다.",
variant: "destructive",
});
router.push("/admin/report");
router.push("/admin/screenMng/reportList");
}
} catch (error: any) {
toast({
@@ -45,7 +45,7 @@ export default function ReportDesignerPage() {
description: error.message || "리포트를 불러오는데 실패했습니다.",
variant: "destructive",
});
router.push("/admin/report");
router.push("/admin/screenMng/reportList");
} finally {
setIsLoading(false);
}

View File

@@ -26,7 +26,7 @@ export default function ReportManagementPage() {
const handleCreateNew = () => {
// 새 리포트는 'new'라는 특수 ID로 디자이너 진입
router.push("/admin/report/designer/new");
router.push("/admin/screenMng/reportList/designer/new");
};
return (

View File

@@ -142,7 +142,7 @@ export default function DashboardViewPage({ params }: DashboardViewPageProps) {
{/* 편집 버튼 *\/}
<button
onClick={() => {
router.push(`/admin/dashboard?load=${resolvedParams.dashboardId}`);
router.push(`/admin/screenMng/dashboardList?load=${resolvedParams.dashboardId}`);
}}
className="rounded-lg bg-blue-500 px-4 py-2 text-white hover:bg-blue-600"
>

View File

@@ -130,7 +130,7 @@ export default function DashboardListPage() {
</div>
<Link
href="/admin/dashboard"
href="/admin/screenMng/dashboardList"
className="rounded-lg bg-primary px-6 py-3 font-medium text-primary-foreground hover:bg-primary/90"
>
@@ -185,7 +185,7 @@ export default function DashboardListPage() {
</p>
{!searchTerm && (
<Link
href="/admin/dashboard"
href="/admin/screenMng/dashboardList"
className="inline-flex items-center rounded-lg bg-primary px-6 py-3 font-medium text-primary-foreground hover:bg-primary/90"
>
@@ -251,7 +251,7 @@ function DashboardCard({ dashboard }: DashboardCardProps) {
</Link>
<Link
href={`/admin/dashboard?load=${dashboard.id}`}
href={`/admin/screenMng/dashboardList?load=${dashboard.id}`}
className="rounded-lg border border-input bg-background px-4 py-2 text-sm text-foreground hover:bg-accent hover:text-accent-foreground"
>

View File

@@ -22,7 +22,7 @@ export function CompanyTable({ companies, isLoading, onEdit, onDelete }: Company
// 부서 관리 페이지로 이동
const handleManageDepartments = (company: Company) => {
router.push(`/admin/company/${company.company_code}/departments`);
router.push(`/admin/userMng/companyList/${company.company_code}/departments`);
};
// 디스크 사용량 포맷팅 함수

View File

@@ -236,7 +236,7 @@ export function RoleDetailManagement({ roleId }: RoleDetailManagementProps) {
<AlertCircle className="text-destructive mb-4 h-12 w-12" />
<h3 className="mb-2 text-lg font-semibold"> </h3>
<p className="text-muted-foreground mb-4 text-center text-sm">{error || "권한 그룹을 찾을 수 없습니다."}</p>
<Button variant="outline" onClick={() => router.push("/admin/roles")}>
<Button variant="outline" onClick={() => router.push("/admin/userMng/rolesList")}>
</Button>
</div>
@@ -248,7 +248,7 @@ export function RoleDetailManagement({ roleId }: RoleDetailManagementProps) {
{/* 페이지 헤더 */}
<div className="space-y-2 border-b pb-4">
<div className="flex items-center gap-4">
<Button variant="ghost" size="icon" onClick={() => router.push("/admin/roles")} className="h-10 w-10">
<Button variant="ghost" size="icon" onClick={() => router.push("/admin/userMng/rolesList")} className="h-10 w-10">
<ArrowLeft className="h-5 w-5" />
</Button>
<div className="flex-1">

View File

@@ -141,7 +141,7 @@ export function RoleManagement() {
// 상세 페이지로 이동
const handleViewDetail = useCallback(
(role: RoleGroup) => {
router.push(`/admin/roles/${role.objid}`);
router.push(`/admin/userMng/rolesList/${role.objid}`);
},
[router],
);

View File

@@ -643,7 +643,7 @@ export default function DashboardDesigner({ dashboardId: initialDashboardId }: D
open={successModalOpen}
onOpenChange={() => {
setSuccessModalOpen(false);
router.push("/admin/dashboard");
router.push("/admin/screenMng/dashboardList");
}}
>
<DialogContent className="sm:max-w-md">
@@ -660,7 +660,7 @@ export default function DashboardDesigner({ dashboardId: initialDashboardId }: D
<Button
onClick={() => {
setSuccessModalOpen(false);
router.push("/admin/dashboard");
router.push("/admin/screenMng/dashboardList");
}}
>

View File

@@ -91,7 +91,7 @@ export function DatabaseConfig({ dataSource, onChange }: DatabaseConfigProps) {
<Label className="text-foreground text-xs font-medium"> </Label>
<button
onClick={() => {
router.push("/admin/external-connections");
router.push("/admin/automaticMng/exconList");
}}
className="text-primary hover:text-primary flex items-center gap-1 text-[11px] transition-colors"
>
@@ -124,7 +124,7 @@ export function DatabaseConfig({ dataSource, onChange }: DatabaseConfigProps) {
<div className="text-warning mb-1 text-xs"> </div>
<button
onClick={() => {
router.push("/admin/external-connections");
router.push("/admin/automaticMng/exconList");
}}
className="text-warning text-[11px] underline hover:no-underline"
>

View File

@@ -45,7 +45,7 @@ export function DepartmentManagement({ companyCode }: DepartmentManagementProps)
}, [companyCode]);
const handleBackToList = () => {
router.push("/admin/company");
router.push("/admin/userMng/companyList");
};
return (

View File

@@ -250,7 +250,7 @@ export default function MailDetailModal({
originalDate: mail.date,
originalBody: mail.body,
};
router.push(`/admin/mail/send?action=reply&data=${encodeURIComponent(JSON.stringify(replyData))}`);
router.push(`/admin/automaticMng/mail/send?action=reply&data=${encodeURIComponent(JSON.stringify(replyData))}`);
onClose();
}}
>
@@ -270,7 +270,7 @@ export default function MailDetailModal({
originalBody: mail.body,
originalAttachments: mail.attachments,
};
router.push(`/admin/mail/send?action=forward&data=${encodeURIComponent(JSON.stringify(forwardData))}`);
router.push(`/admin/automaticMng/mail/send?action=forward&data=${encodeURIComponent(JSON.stringify(forwardData))}`);
onClose();
}}
>

View File

@@ -49,7 +49,7 @@ export function ReportListTable({
// 수정
const handleEdit = (reportId: string) => {
router.push(`/admin/report/designer/${reportId}`);
router.push(`/admin/screenMng/reportList/designer/${reportId}`);
};
// 복사

View File

@@ -140,7 +140,7 @@ export function ReportDesignerToolbar() {
const handleMenuSelectConfirm = async (selectedMenuObjids: number[]) => {
await saveLayoutWithMenus(selectedMenuObjids);
if (pendingSaveAndClose) {
router.push("/admin/report");
router.push("/admin/screenMng/reportList");
}
};
@@ -151,7 +151,7 @@ export function ReportDesignerToolbar() {
const handleBackConfirm = () => {
setShowBackConfirm(false);
router.push("/admin/report");
router.push("/admin/screenMng/reportList");
};
const handleSaveAsTemplate = async (data: {