123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- import React from "react";
- import { DageRouteItem } from "./types";
- export const DEFAULT_MENU: DageRouteItem[] = [];
- export const DEFAULT_ADMIN_MENU: DageRouteItem[] = [
- {
- path: "/banner",
- title: "海报管理",
- Component: React.lazy(() => import("../pages/Banner")),
- children: [
- {
- path: "/banner/create",
- title: "新增",
- hide: true,
- Component: React.lazy(() => import("../pages/Banner/create-or-edit")),
- },
- {
- path: "/banner/edit/:id",
- title: "编辑",
- hide: true,
- Component: React.lazy(() => import("../pages/Banner/create-or-edit")),
- },
- ],
- },
- {
- path: "/information",
- title: "资讯管理",
- Component: React.lazy(() => import("../pages/Information")),
- children: [
- {
- path: "/information/create",
- title: "新增",
- hide: true,
- Component: React.lazy(
- () => import("../pages/Information/create-or-edit")
- ),
- },
- {
- path: "/information/edit/:id",
- title: "编辑",
- hide: true,
- Component: React.lazy(
- () => import("../pages/Information/create-or-edit")
- ),
- },
- ],
- },
- {
- path: "/exhibition",
- title: "展厅管理",
- Component: React.lazy(() => import("../pages/Exhibition")),
- children: [
- {
- path: "/exhibition/create",
- title: "新增",
- hide: true,
- Component: React.lazy(
- () => import("../pages/Exhibition/create-or-edit")
- ),
- },
- {
- path: "/exhibition/edit/:id",
- title: "编辑",
- hide: true,
- Component: React.lazy(
- () => import("../pages/Exhibition/create-or-edit")
- ),
- },
- ],
- },
- {
- path: "/collection",
- title: "藏品管理",
- Component: React.lazy(() => import("../pages/Collection")),
- children: [
- {
- path: "/collection/create",
- title: "新增",
- hide: true,
- Component: React.lazy(
- () => import("../pages/Collection/create-or-edit")
- ),
- },
- {
- path: "/collection/edit/:id",
- title: "编辑",
- hide: true,
- Component: React.lazy(
- () => import("../pages/Collection/create-or-edit")
- ),
- },
- ],
- },
- {
- path: "/questionnaire",
- title: "问卷管理",
- Component: React.lazy(() => import("../pages/Questionnaire")),
- children: [
- {
- path: "/questionnaire/create",
- title: "新增",
- hide: true,
- Component: React.lazy(
- () => import("../pages/Questionnaire/create-or-edit")
- ),
- },
- ],
- },
- {
- path: "/message",
- title: "留言管理",
- Component: React.lazy(() => import("../pages/Message")),
- },
- {
- path: "/user",
- title: "用户管理",
- Component: React.lazy(() => import("../pages/User")),
- },
- {
- path: "/log",
- title: "操作日志",
- Component: React.lazy(() => import("../pages/Log")),
- },
- ];
- export * from "./types";
|