diff --git a/app/management/team/dailypaper/page.tsx b/app/management/team/dailypaper/page.tsx new file mode 100644 index 0000000..c8c76c8 --- /dev/null +++ b/app/management/team/dailypaper/page.tsx @@ -0,0 +1,5 @@ +"use client" + +export default function DailypaperPage() { + return <> +} diff --git a/app/management/team/employee/paper.tsx b/app/management/team/employee/paper.tsx new file mode 100644 index 0000000..9c3fba7 --- /dev/null +++ b/app/management/team/employee/paper.tsx @@ -0,0 +1,5 @@ +"use client" + +export default function EmployeePage() { + return <> +} diff --git a/app/management/team/organization/page.tsx b/app/management/team/organization/page.tsx new file mode 100644 index 0000000..4b5a616 --- /dev/null +++ b/app/management/team/organization/page.tsx @@ -0,0 +1,5 @@ +"use client" + +export default function OrganizationPage() { + return <> +} diff --git a/components/layout/common.ts b/components/layout/common.ts index d479a3c..f1ea507 100644 --- a/components/layout/common.ts +++ b/components/layout/common.ts @@ -55,6 +55,25 @@ export const componentList: MenuItem[] = [ }, ], }, + { + title: "团队管理", + url: "team", + icon: "AuthMenuIcon", + items: [ + { + title: "员工管理", + url: "employee", + }, + { + title: "组织管理", + url: "organization", + }, + { + title: "团队日报", + url: "dailypaper", + }, + ], + }, ], }, ] diff --git a/components/layout/components/ClientIcon.tsx b/components/layout/components/ClientIcon.tsx index 700a177..81f9695 100644 --- a/components/layout/components/ClientIcon.tsx +++ b/components/layout/components/ClientIcon.tsx @@ -1,6 +1,11 @@ // import { type LucideIcon } from "lucide-react"; -import { PersonalMenuIcon, SystemIcon, TaskMenuIcon } from "./icons/management" +import { + AuthMenuIcon, + PersonalMenuIcon, + SystemIcon, + TaskMenuIcon, +} from "./icons/management" import React from "react" @@ -15,6 +20,7 @@ export const ClientIcon = React.forwardRef< SystemIcon, PersonalMenuIcon, TaskMenuIcon, + AuthMenuIcon, }[icon] return IconComponent ? : null } else { diff --git a/components/layout/components/icons/management.tsx b/components/layout/components/icons/management.tsx index 2d45373..a1850c6 100644 --- a/components/layout/components/icons/management.tsx +++ b/components/layout/components/icons/management.tsx @@ -58,3 +58,29 @@ export const TaskMenuIcon = (props: SVGProps) => ( ) + +export const AuthMenuIcon = (props: SVGProps) => ( + + + + + + + + + + + +)