import AccountBalanceWalletOutlined from "@mui/icons-material/AccountBalanceWalletOutlined"; import AssessmentOutlined from "@mui/icons-material/AssessmentOutlined"; import CampaignOutlined from "@mui/icons-material/CampaignOutlined"; import StorageOutlined from "@mui/icons-material/StorageOutlined"; const reportSections = [ { icon: AssessmentOutlined, key: "data", label: "数据报表" }, { icon: AccountBalanceWalletOutlined, key: "finance", label: "财务报表" }, { icon: CampaignOutlined, key: "operations", label: "运营报表" } ]; export function ReportSidebar({ activeSection = "data", onSectionChange }) { return ( ); } export function EmptyReportSection({ section }) { const label = reportSections.find((item) => item.key === section)?.label || "报表"; return
; }