diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/informationColumnsConfig.ts | 64 | ||||
| -rw-r--r-- | config/menuConfig.ts | 9 |
2 files changed, 71 insertions, 2 deletions
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 @@ -342,16 +342,21 @@ export const mainNav: MenuSection[] = [ 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: "인터페이스 목록 관리", |
