[as] feat: 결재선 관리 페이지 구현
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export { ApprovalLineManagementPage } from "./ui/approval-line-management-page";
|
||||
@@ -0,0 +1,29 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from "react";
|
||||
|
||||
import type { ElaprTmplt } from "@/entities/elapr";
|
||||
import { ElaprAplnGrid } from "@/widgets/elapr-apln-grid";
|
||||
import { ElaprTmpltList } from "@/widgets/elapr-tmplt-list";
|
||||
import { PageTitle } from "@common/components";
|
||||
|
||||
const MENU_PATHS = ["디지털행정지원", "시스템관리", "결재선 관리"];
|
||||
|
||||
function ApprovalLineManagementPage() {
|
||||
const [selectedTmplt, setSelectedTmplt] = useState<ElaprTmplt | null>(null);
|
||||
|
||||
return (
|
||||
<div className="min-h-full bg-container pb-6">
|
||||
<PageTitle title="결재선 관리" menuPaths={MENU_PATHS} />
|
||||
<div className="space-y-6 px-[1.8rem]">
|
||||
<ElaprTmpltList
|
||||
selectedTmpltId={selectedTmplt?.elaprTmpltId ?? null}
|
||||
onSelectTmplt={setSelectedTmplt}
|
||||
/>
|
||||
<ElaprAplnGrid elaprTmpltId={selectedTmplt?.elaprTmpltId ?? null} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export { ApprovalLineManagementPage };
|
||||
Reference in New Issue
Block a user