From d66d308169e559457878c02e3b0443da22693241 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 1 Jul 2025 02:53:18 +0000 Subject: (최겸) 정보시스템 인포메이션 기능 개발 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/informationColumnsConfig.ts | 64 ++++++++++++++++++++++++++++++++++++++ config/menuConfig.ts | 9 ++++-- 2 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 config/informationColumnsConfig.ts (limited to 'config') diff --git a/config/informationColumnsConfig.ts b/config/informationColumnsConfig.ts new file mode 100644 index 00000000..6357cfa3 --- /dev/null +++ b/config/informationColumnsConfig.ts @@ -0,0 +1,64 @@ +import { PageInformation } from "@/db/schema/information" + +export interface InformationColumnConfig { + id: keyof PageInformation + label: string + group?: string + excelHeader?: string + type?: string +} + +export const informationColumnsConfig: InformationColumnConfig[] = [ + { + id: "pageCode", + label: "페이지 코드", + excelHeader: "페이지 코드", + }, + { + id: "pageName", + label: "페이지명", + excelHeader: "페이지명", + }, + { + id: "title", + label: "제목", + excelHeader: "제목", + }, + { + id: "description", + label: "설명", + excelHeader: "설명", + }, + { + id: "noticeTitle", + label: "공지사항 제목", + excelHeader: "공지사항 제목", + }, + { + id: "noticeContent", + label: "공지사항 내용", + excelHeader: "공지사항 내용", + }, + { + id: "attachmentFileName", + label: "첨부파일", + excelHeader: "첨부파일", + }, + { + id: "isActive", + label: "상태", + excelHeader: "상태", + }, + { + id: "createdAt", + label: "생성일", + excelHeader: "생성일", + type: "date", + }, + { + id: "updatedAt", + label: "수정일", + excelHeader: "수정일", + type: "date", + }, +] \ No newline at end of file diff --git a/config/menuConfig.ts b/config/menuConfig.ts index 864b5dc9..d9b272e1 100644 --- a/config/menuConfig.ts +++ b/config/menuConfig.ts @@ -341,17 +341,22 @@ export const mainNav: MenuSection[] = [ title: "정보시스템", useGrouping: true, // 그룹핑 적용 items: [ + { + title: "인포메이션 관리", + href: "/evcp/information", + group: "정보시스템" + }, { title: "메뉴 리스트", href: "/evcp/menu-list", // icon: "FileText", - // group: "인터페이스" + group: "메뉴" }, { title: "메뉴 접근제어", href: "/evcp/menu-access", // icon: "FileText", - // group: "인터페이스" + group: "메뉴" }, { title: "인터페이스 목록 관리", -- cgit v1.2.3