|
|
|
@ -3,38 +3,668 @@ import { ConfigProvider, Tabs } from 'antd'; |
|
|
|
|
import { t } from 'i18next'; |
|
|
|
|
import { useRouter } from 'next/router'; |
|
|
|
|
import React from 'react'; |
|
|
|
|
import { USER_MENU } from '@/utils/constants/index'; |
|
|
|
|
import './style.css'; |
|
|
|
|
import * as Icons from '@ant-design/icons'; |
|
|
|
|
|
|
|
|
|
const IconFont = createFromIconfontCN({ |
|
|
|
|
scriptUrl: '//at.alicdn.com/t/c/font_4926951_si989wen79f.js', |
|
|
|
|
}); |
|
|
|
|
const renderIcon = (iconName?: string) => { |
|
|
|
|
if (!iconName || iconName === '#' || !Icons[iconName]) return null; |
|
|
|
|
const IconComponent = Icons[iconName as keyof typeof Icons]; |
|
|
|
|
return <IconComponent />; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// const iconMap = {
|
|
|
|
|
// AlertOutlined: <AlertOutlined />,
|
|
|
|
|
// AlibabaOutlined: <AlibabaOutlined />,
|
|
|
|
|
// AlignCenterOutlined: <AlignCenterOutlined />,
|
|
|
|
|
// AlignLeftOutlined: <AlignLeftOutlined />,
|
|
|
|
|
// AlignRightOutlined: <AlignRightOutlined />,
|
|
|
|
|
// AlipayCircleOutlined: <AlipayCircleOutlined />,
|
|
|
|
|
// AlipayOutlined: <AlipayOutlined />,
|
|
|
|
|
// AlipaySquareOutlined: <AlipaySquareOutlined />,
|
|
|
|
|
// AndroidOutlined: <AndroidOutlined />,
|
|
|
|
|
// AntCloudOutlined: <AntCloudOutlined />,
|
|
|
|
|
// AntDesignOutlined: <AntDesignOutlined />,
|
|
|
|
|
// ApartmentOutlined: <ApartmentOutlined />,
|
|
|
|
|
// ApiOutlined: <ApiOutlined />,
|
|
|
|
|
// ApiTwoTone: <ApiTwoTone />,
|
|
|
|
|
// AppleOutlined: <AppleOutlined />,
|
|
|
|
|
// AppstoreAddOutlined: <AppstoreAddOutlined />,
|
|
|
|
|
// AppstoreOutlined: <AppstoreOutlined />,
|
|
|
|
|
// AppstoreTwoTone: <AppstoreTwoTone />,
|
|
|
|
|
// AreaChartOutlined: <AreaChartOutlined />,
|
|
|
|
|
// ArrowDownOutlined: <ArrowDownOutlined />,
|
|
|
|
|
// ArrowLeftOutlined: <ArrowLeftOutlined />,
|
|
|
|
|
// ArrowRightOutlined: <ArrowRightOutlined />,
|
|
|
|
|
// ArrowUpOutlined: <ArrowUpOutlined />,
|
|
|
|
|
// ArrowsAltOutlined: <ArrowsAltOutlined />,
|
|
|
|
|
// AudioOutlined: <AudioOutlined />,
|
|
|
|
|
// AudioMutedOutlined: <AudioMutedOutlined />,
|
|
|
|
|
// AudioTwoTone: <AudioTwoTone />,
|
|
|
|
|
// AuditOutlined: <AuditOutlined />,
|
|
|
|
|
// BackwardOutlined: <BackwardOutlined />,
|
|
|
|
|
// BaiduOutlined: <BaiduOutlined />,
|
|
|
|
|
// BankOutlined: <BankOutlined />,
|
|
|
|
|
// BankTwoTone: <BankTwoTone />,
|
|
|
|
|
// BarChartOutlined: <BarChartOutlined />,
|
|
|
|
|
// BarcodeOutlined: <BarcodeOutlined />,
|
|
|
|
|
// BarsOutlined: <BarsOutlined />,
|
|
|
|
|
// BehanceCircleOutlined: <BehanceCircleOutlined />,
|
|
|
|
|
// BehanceOutlined: <BehanceOutlined />,
|
|
|
|
|
// BehanceSquareOutlined: <BehanceSquareOutlined />,
|
|
|
|
|
// BellOutlined: <BellOutlined />,
|
|
|
|
|
// BellTwoTone: <BellTwoTone />,
|
|
|
|
|
// BgColorsOutlined: <BgColorsOutlined />,
|
|
|
|
|
// BilibiliOutlined: <BilibiliOutlined />,
|
|
|
|
|
// BlockOutlined: <BlockOutlined />,
|
|
|
|
|
// BoldOutlined: <BoldOutlined />,
|
|
|
|
|
// BookOutlined: <BookOutlined />,
|
|
|
|
|
// BookTwoTone: <BookTwoTone />,
|
|
|
|
|
// BorderBottomOutlined: <BorderBottomOutlined />,
|
|
|
|
|
// BorderHorizontalOutlined: <BorderHorizontalOutlined />,
|
|
|
|
|
// BorderInnerOutlined: <BorderInnerOutlined />,
|
|
|
|
|
// BorderLeftOutlined: <BorderLeftOutlined />,
|
|
|
|
|
// BorderOuterOutlined: <BorderOuterOutlined />,
|
|
|
|
|
// BorderOutlined: <BorderOutlined />,
|
|
|
|
|
// BorderRightOutlined: <BorderRightOutlined />,
|
|
|
|
|
// BorderTopOutlined: <BorderTopOutlined />,
|
|
|
|
|
// BorderVerticleOutlined: <BorderVerticleOutlined />,
|
|
|
|
|
// BorderlessTableOutlined: <BorderlessTableOutlined />,
|
|
|
|
|
// BoxPlotOutlined: <BoxPlotOutlined />,
|
|
|
|
|
// BranchesOutlined: <BranchesOutlined />,
|
|
|
|
|
// BugOutlined: <BugOutlined />,
|
|
|
|
|
// BugTwoTone: <BugTwoTone />,
|
|
|
|
|
// BuildOutlined: <BuildOutlined />,
|
|
|
|
|
// BuildTwoTone: <BuildTwoTone />,
|
|
|
|
|
// BulbOutlined: <BulbOutlined />,
|
|
|
|
|
// BulbTwoTone: <BulbTwoTone />,
|
|
|
|
|
// CalculatorOutlined: <CalculatorOutlined />,
|
|
|
|
|
// CalculatorTwoTone: <CalculatorTwoTone />,
|
|
|
|
|
// CalendarOutlined: <CalendarOutlined />,
|
|
|
|
|
// CalendarTwoTone: <CalendarTwoTone />,
|
|
|
|
|
// CameraOutlined: <CameraOutlined />,
|
|
|
|
|
// CameraTwoTone: <CameraTwoTone />,
|
|
|
|
|
// CarOutlined: <CarOutlined />,
|
|
|
|
|
// CarTwoTone: <CarTwoTone />,
|
|
|
|
|
// CaretDownOutlined: <CaretDownOutlined />,
|
|
|
|
|
// CaretLeftOutlined: <CaretLeftOutlined />,
|
|
|
|
|
// CaretRightOutlined: <CaretRightOutlined />,
|
|
|
|
|
// CaretUpOutlined: <CaretUpOutlined />,
|
|
|
|
|
// CarryOutOutlined: <CarryOutOutlined />,
|
|
|
|
|
// CarryOutTwoTone: <CarryOutTwoTone />,
|
|
|
|
|
// CheckOutlined: <CheckOutlined />,
|
|
|
|
|
// CheckSquareOutlined: <CheckSquareOutlined />,
|
|
|
|
|
// CheckSquareTwoTone: <CheckSquareTwoTone />,
|
|
|
|
|
// ChromeOutlined: <ChromeOutlined />,
|
|
|
|
|
// CiCircleOutlined: <CiCircleOutlined />,
|
|
|
|
|
// CiOutlined: <CiOutlined />,
|
|
|
|
|
// CiTwoTone: <CiTwoTone />,
|
|
|
|
|
// ClearOutlined: <ClearOutlined />,
|
|
|
|
|
// ClockCircleOutlined: <ClockCircleOutlined />,
|
|
|
|
|
// ClockCircleTwoTone: <ClockCircleTwoTone />,
|
|
|
|
|
// CloseOutlined: <CloseOutlined />,
|
|
|
|
|
// CloseSquareOutlined: <CloseSquareOutlined />,
|
|
|
|
|
// CloseSquareTwoTone: <CloseSquareTwoTone />,
|
|
|
|
|
// CloudDownloadOutlined: <CloudDownloadOutlined />,
|
|
|
|
|
// CloudOutlined: <CloudOutlined />,
|
|
|
|
|
// CloudServerOutlined: <CloudServerOutlined />,
|
|
|
|
|
// CloudSyncOutlined: <CloudSyncOutlined />,
|
|
|
|
|
// CloudTwoTone: <CloudTwoTone />,
|
|
|
|
|
// CloudUploadOutlined: <CloudUploadOutlined />,
|
|
|
|
|
// ClusterOutlined: <ClusterOutlined />,
|
|
|
|
|
// CodeOutlined: <CodeOutlined />,
|
|
|
|
|
// CodeSandboxCircleOutlined: <CodeSandboxCircleOutlined />,
|
|
|
|
|
// CodeSandboxOutlined: <CodeSandboxOutlined />,
|
|
|
|
|
// CodeSandboxSquareOutlined: <CodeSandboxSquareOutlined />,
|
|
|
|
|
// CodeTwoTone: <CodeTwoTone />,
|
|
|
|
|
// CodepenCircleOutlined: <CodepenCircleOutlined />,
|
|
|
|
|
// CodepenOutlined: <CodepenOutlined />,
|
|
|
|
|
// CodepenSquareOutlined: <CodepenSquareOutlined />,
|
|
|
|
|
// CoffeeOutlined: <CoffeeOutlined />,
|
|
|
|
|
// ColumnHeightOutlined: <ColumnHeightOutlined />,
|
|
|
|
|
// ColumnWidthOutlined: <ColumnWidthOutlined />,
|
|
|
|
|
// CommentOutlined: <CommentOutlined />,
|
|
|
|
|
// CompassOutlined: <CompassOutlined />,
|
|
|
|
|
// CompassTwoTone: <CompassTwoTone />,
|
|
|
|
|
// CompressOutlined: <CompressOutlined />,
|
|
|
|
|
// ConsoleSqlOutlined: <ConsoleSqlOutlined />,
|
|
|
|
|
// ContactsOutlined: <ContactsOutlined />,
|
|
|
|
|
// ContactsTwoTone: <ContactsTwoTone />,
|
|
|
|
|
// ContainerOutlined: <ContainerOutlined />,
|
|
|
|
|
// ContainerTwoTone: <ContainerTwoTone />,
|
|
|
|
|
// ControlOutlined: <ControlOutlined />,
|
|
|
|
|
// ControlTwoTone: <ControlTwoTone />,
|
|
|
|
|
// CopyOutlined: <CopyOutlined />,
|
|
|
|
|
// CopyTwoTone: <CopyTwoTone />,
|
|
|
|
|
// CopyrightCircleOutlined: <CopyrightCircleOutlined />,
|
|
|
|
|
// CopyrightOutlined: <CopyrightOutlined />,
|
|
|
|
|
// CopyrightTwoTone: <CopyrightTwoTone />,
|
|
|
|
|
// CreditCardOutlined: <CreditCardOutlined />,
|
|
|
|
|
// CreditCardTwoTone: <CreditCardTwoTone />,
|
|
|
|
|
// CrownOutlined: <CrownOutlined />,
|
|
|
|
|
// CrownTwoTone: <CrownTwoTone />,
|
|
|
|
|
// CustomerServiceOutlined: <CustomerServiceOutlined />,
|
|
|
|
|
// CustomerServiceTwoTone: <CustomerServiceTwoTone />,
|
|
|
|
|
// DashOutlined: <DashOutlined />,
|
|
|
|
|
// DashboardOutlined: <DashboardOutlined />,
|
|
|
|
|
// DashboardTwoTone: <DashboardTwoTone />,
|
|
|
|
|
// DatabaseOutlined: <DatabaseOutlined />,
|
|
|
|
|
// DatabaseTwoTone: <DatabaseTwoTone />,
|
|
|
|
|
// DeleteColumnOutlined: <DeleteColumnOutlined />,
|
|
|
|
|
// DeleteOutlined: <DeleteOutlined />,
|
|
|
|
|
// DeleteRowOutlined: <DeleteRowOutlined />,
|
|
|
|
|
// DeleteTwoTone: <DeleteTwoTone />,
|
|
|
|
|
// DeliveredProcedureOutlined: <DeliveredProcedureOutlined />,
|
|
|
|
|
// DeploymentUnitOutlined: <DeploymentUnitOutlined />,
|
|
|
|
|
// DesktopOutlined: <DesktopOutlined />,
|
|
|
|
|
// DiffOutlined: <DiffOutlined />,
|
|
|
|
|
// DiffTwoTone: <DiffTwoTone />,
|
|
|
|
|
// DingdingOutlined: <DingdingOutlined />,
|
|
|
|
|
// DingtalkCircleOutlined: <DingtalkCircleOutlined />,
|
|
|
|
|
// DingtalkOutlined: <DingtalkOutlined />,
|
|
|
|
|
// DingtalkSquareOutlined: <DingtalkSquareOutlined />,
|
|
|
|
|
// DisconnectOutlined: <DisconnectOutlined />,
|
|
|
|
|
// DiscordOutlined: <DiscordOutlined />,
|
|
|
|
|
// DislikeOutlined: <DislikeOutlined />,
|
|
|
|
|
// DislikeTwoTone: <DislikeTwoTone />,
|
|
|
|
|
// DockerOutlined: <DockerOutlined />,
|
|
|
|
|
// DollarCircleOutlined: <DollarCircleOutlined />,
|
|
|
|
|
// DollarCircleTwoTone: <DollarCircleTwoTone />,
|
|
|
|
|
// DollarOutlined: <DollarOutlined />,
|
|
|
|
|
// DollarTwoTone: <DollarTwoTone />,
|
|
|
|
|
// DotChartOutlined: <DotChartOutlined />,
|
|
|
|
|
// DotNetOutlined: <DotNetOutlined />,
|
|
|
|
|
// DoubleLeftOutlined: <DoubleLeftOutlined />,
|
|
|
|
|
// DoubleRightOutlined: <DoubleRightOutlined />,
|
|
|
|
|
// DownCircleOutlined: <DownCircleOutlined />,
|
|
|
|
|
// DownCircleTwoTone: <DownCircleTwoTone />,
|
|
|
|
|
// DownOutlined: <DownOutlined />,
|
|
|
|
|
// DownSquareOutlined: <DownSquareOutlined />,
|
|
|
|
|
// DownSquareTwoTone: <DownSquareTwoTone />,
|
|
|
|
|
// DownloadOutlined: <DownloadOutlined />,
|
|
|
|
|
// DragOutlined: <DragOutlined />,
|
|
|
|
|
// DribbbleCircleOutlined: <DribbbleCircleOutlined />,
|
|
|
|
|
// DribbbleOutlined: <DribbbleOutlined />,
|
|
|
|
|
// DribbbleSquareOutlined: <DribbbleSquareOutlined />,
|
|
|
|
|
// DropboxCircleOutlined: <DropboxCircleOutlined />,
|
|
|
|
|
// DropboxOutlined: <DropboxOutlined />,
|
|
|
|
|
// DropboxSquareOutlined: <DropboxSquareOutlined />,
|
|
|
|
|
// EditOutlined: <EditOutlined />,
|
|
|
|
|
// EditTwoTone: <EditTwoTone />,
|
|
|
|
|
// EllipsisOutlined: <EllipsisOutlined />,
|
|
|
|
|
// EnterOutlined: <EnterOutlined />,
|
|
|
|
|
// EnvironmentOutlined: <EnvironmentOutlined />,
|
|
|
|
|
// EnvironmentTwoTone: <EnvironmentTwoTone />,
|
|
|
|
|
// EuroCircleOutlined: <EuroCircleOutlined />,
|
|
|
|
|
// EuroCircleTwoTone: <EuroCircleTwoTone />,
|
|
|
|
|
// EuroOutlined: <EuroOutlined />,
|
|
|
|
|
// EuroTwoTone: <EuroTwoTone />,
|
|
|
|
|
// ExceptionOutlined: <ExceptionOutlined />,
|
|
|
|
|
// ExclamationCircleOutlined: <ExclamationCircleOutlined />,
|
|
|
|
|
// ExclamationCircleTwoTone: <ExclamationCircleTwoTone />,
|
|
|
|
|
// ExclamationOutlined: <ExclamationOutlined />,
|
|
|
|
|
// ExpandAltOutlined: <ExpandAltOutlined />,
|
|
|
|
|
// ExpandOutlined: <ExpandOutlined />,
|
|
|
|
|
// ExperimentOutlined: <ExperimentOutlined />,
|
|
|
|
|
// ExperimentTwoTone: <ExperimentTwoTone />,
|
|
|
|
|
// ExportOutlined: <ExportOutlined />,
|
|
|
|
|
// EyeInvisibleOutlined: <EyeInvisibleOutlined />,
|
|
|
|
|
// EyeInvisibleTwoTone: <EyeInvisibleTwoTone />,
|
|
|
|
|
// EyeOutlined: <EyeOutlined />,
|
|
|
|
|
// EyeTwoTone: <EyeTwoTone />,
|
|
|
|
|
// FacebookOutlined: <FacebookOutlined />,
|
|
|
|
|
// FallOutlined: <FallOutlined />,
|
|
|
|
|
// FastBackwardOutlined: <FastBackwardOutlined />,
|
|
|
|
|
// FastForwardOutlined: <FastForwardOutlined />,
|
|
|
|
|
// FieldBinaryOutlined: <FieldBinaryOutlined />,
|
|
|
|
|
// FieldNumberOutlined: <FieldNumberOutlined />,
|
|
|
|
|
// FieldStringOutlined: <FieldStringOutlined />,
|
|
|
|
|
// FieldTimeOutlined: <FieldTimeOutlined />,
|
|
|
|
|
// FileAddOutlined: <FileAddOutlined />,
|
|
|
|
|
// FileAddTwoTone: <FileAddTwoTone />,
|
|
|
|
|
// FileDoneOutlined: <FileDoneOutlined />,
|
|
|
|
|
// FileExcelOutlined: <FileExcelOutlined />,
|
|
|
|
|
// FileExcelTwoTone: <FileExcelTwoTone />,
|
|
|
|
|
// FileExclamationOutlined: <FileExclamationOutlined />,
|
|
|
|
|
// FileExclamationTwoTone: <FileExclamationTwoTone />,
|
|
|
|
|
// FileGifOutlined: <FileGifOutlined />,
|
|
|
|
|
// FileImageOutlined: <FileImageOutlined />,
|
|
|
|
|
// FileImageTwoTone: <FileImageTwoTone />,
|
|
|
|
|
// FileJpgOutlined: <FileJpgOutlined />,
|
|
|
|
|
// FileMarkdownOutlined: <FileMarkdownOutlined />,
|
|
|
|
|
// FileMarkdownTwoTone: <FileMarkdownTwoTone />,
|
|
|
|
|
// FileOutlined: <FileOutlined />,
|
|
|
|
|
// FilePdfOutlined: <FilePdfOutlined />,
|
|
|
|
|
// FilePdfTwoTone: <FilePdfTwoTone />,
|
|
|
|
|
// FilePptOutlined: <FilePptOutlined />,
|
|
|
|
|
// FilePptTwoTone: <FilePptTwoTone />,
|
|
|
|
|
// FileProtectOutlined: <FileProtectOutlined />,
|
|
|
|
|
// FileSearchOutlined: <FileSearchOutlined />,
|
|
|
|
|
// FileSyncOutlined: <FileSyncOutlined />,
|
|
|
|
|
// FileTextOutlined: <FileTextOutlined />,
|
|
|
|
|
// FileTextTwoTone: <FileTextTwoTone />,
|
|
|
|
|
// FileTwoTone: <FileTwoTone />,
|
|
|
|
|
// FileUnknownOutlined: <FileUnknownOutlined />,
|
|
|
|
|
// FileUnknownTwoTone: <FileUnknownTwoTone />,
|
|
|
|
|
// FileWordOutlined: <FileWordOutlined />,
|
|
|
|
|
// FileWordTwoTone: <FileWordTwoTone />,
|
|
|
|
|
// FileZipOutlined: <FileZipOutlined />,
|
|
|
|
|
// FileZipTwoTone: <FileZipTwoTone />,
|
|
|
|
|
// FilterOutlined: <FilterOutlined />,
|
|
|
|
|
// FilterTwoTone: <FilterTwoTone />,
|
|
|
|
|
// FireOutlined: <FireOutlined />,
|
|
|
|
|
// FireTwoTone: <FireTwoTone />,
|
|
|
|
|
// FlagOutlined: <FlagOutlined />,
|
|
|
|
|
// FlagTwoTone: <FlagTwoTone />,
|
|
|
|
|
// FolderAddOutlined: <FolderAddOutlined />,
|
|
|
|
|
// FolderAddTwoTone: <FolderAddTwoTone />,
|
|
|
|
|
// FolderOpenOutlined: <FolderOpenOutlined />,
|
|
|
|
|
// FolderOpenTwoTone: <FolderOpenTwoTone />,
|
|
|
|
|
// FolderOutlined: <FolderOutlined />,
|
|
|
|
|
// FolderTwoTone: <FolderTwoTone />,
|
|
|
|
|
// FolderViewOutlined: <FolderViewOutlined />,
|
|
|
|
|
// FontColorsOutlined: <FontColorsOutlined />,
|
|
|
|
|
// FontSizeOutlined: <FontSizeOutlined />,
|
|
|
|
|
// ForkOutlined: <ForkOutlined />,
|
|
|
|
|
// FormOutlined: <FormOutlined />,
|
|
|
|
|
// FormatPainterOutlined: <FormatPainterOutlined />,
|
|
|
|
|
// ForwardOutlined: <ForwardOutlined />,
|
|
|
|
|
// FrownOutlined: <FrownOutlined />,
|
|
|
|
|
// FrownTwoTone: <FrownTwoTone />,
|
|
|
|
|
// FullscreenExitOutlined: <FullscreenExitOutlined />,
|
|
|
|
|
// FullscreenOutlined: <FullscreenOutlined />,
|
|
|
|
|
// FunctionOutlined: <FunctionOutlined />,
|
|
|
|
|
// FundOutlined: <FundOutlined />,
|
|
|
|
|
// FundProjectionScreenOutlined: <FundProjectionScreenOutlined />,
|
|
|
|
|
// FundTwoTone: <FundTwoTone />,
|
|
|
|
|
// FundViewOutlined: <FundViewOutlined />,
|
|
|
|
|
// FunnelPlotOutlined: <FunnelPlotOutlined />,
|
|
|
|
|
// FunnelPlotTwoTone: <FunnelPlotTwoTone />,
|
|
|
|
|
// GatewayOutlined: <GatewayOutlined />,
|
|
|
|
|
// GifOutlined: <GifOutlined />,
|
|
|
|
|
// GiftOutlined: <GiftOutlined />,
|
|
|
|
|
// GiftTwoTone: <GiftTwoTone />,
|
|
|
|
|
// GithubOutlined: <GithubOutlined />,
|
|
|
|
|
// GitlabOutlined: <GitlabOutlined />,
|
|
|
|
|
// GlobalOutlined: <GlobalOutlined />,
|
|
|
|
|
// GoldOutlined: <GoldOutlined />,
|
|
|
|
|
// GoldTwoTone: <GoldTwoTone />,
|
|
|
|
|
// GoldenOutlined: <GoldenOutlined />,
|
|
|
|
|
// GoogleCircleOutlined: <GoogleCircleOutlined />,
|
|
|
|
|
// GoogleOutlined: <GoogleOutlined />,
|
|
|
|
|
// GooglePlusCircleOutlined: <GooglePlusCircleOutlined />,
|
|
|
|
|
// GooglePlusOutlined: <GooglePlusOutlined />,
|
|
|
|
|
// GooglePlusSquareOutlined: <GooglePlusSquareOutlined />,
|
|
|
|
|
// GoogleSquareOutlined: <GoogleSquareOutlined />,
|
|
|
|
|
// GroupOutlined: <GroupOutlined />,
|
|
|
|
|
// HarmonyOSOutlined: <HarmonyOSOutlined />,
|
|
|
|
|
// HddOutlined: <HddOutlined />,
|
|
|
|
|
// HddTwoTone: <HddTwoTone />,
|
|
|
|
|
// HeartOutlined: <HeartOutlined />,
|
|
|
|
|
// HeartTwoTone: <HeartTwoTone />,
|
|
|
|
|
// HeatMapOutlined: <HeatMapOutlined />,
|
|
|
|
|
// HighlightOutlined: <HighlightOutlined />,
|
|
|
|
|
// HighlightTwoTone: <HighlightTwoTone />,
|
|
|
|
|
// HistoryOutlined: <HistoryOutlined />,
|
|
|
|
|
// HolderOutlined: <HolderOutlined />,
|
|
|
|
|
// HomeOutlined: <HomeOutlined />,
|
|
|
|
|
// HomeTwoTone: <HomeTwoTone />,
|
|
|
|
|
// HourglassOutlined: <HourglassOutlined />,
|
|
|
|
|
// HourglassTwoTone: <HourglassTwoTone />,
|
|
|
|
|
// Html5Outlined: <Html5Outlined />,
|
|
|
|
|
// Html5TwoTone: <Html5TwoTone />,
|
|
|
|
|
// IdcardOutlined: <IdcardOutlined />,
|
|
|
|
|
// IdcardTwoTone: <IdcardTwoTone />,
|
|
|
|
|
// IeCircleOutlined: <IeCircleOutlined />,
|
|
|
|
|
// IeOutlined: <IeOutlined />,
|
|
|
|
|
// IeSquareOutlined: <IeSquareOutlined />,
|
|
|
|
|
// ImportOutlined: <ImportOutlined />,
|
|
|
|
|
// InboxOutlined: <InboxOutlined />,
|
|
|
|
|
// InfoCircleOutlined: <InfoCircleOutlined />,
|
|
|
|
|
// InfoCircleTwoTone: <InfoCircleTwoTone />,
|
|
|
|
|
// InfoOutlined: <InfoOutlined />,
|
|
|
|
|
// InsertRowAboveOutlined: <InsertRowAboveOutlined />,
|
|
|
|
|
// InsertRowBelowOutlined: <InsertRowBelowOutlined />,
|
|
|
|
|
// InsertRowLeftOutlined: <InsertRowLeftOutlined />,
|
|
|
|
|
// InsertRowRightOutlined: <InsertRowRightOutlined />,
|
|
|
|
|
// InstagramOutlined: <InstagramOutlined />,
|
|
|
|
|
// InsuranceOutlined: <InsuranceOutlined />,
|
|
|
|
|
// InsuranceTwoTone: <InsuranceTwoTone />,
|
|
|
|
|
// InteractionOutlined: <InteractionOutlined />,
|
|
|
|
|
// InteractionTwoTone: <InteractionTwoTone />,
|
|
|
|
|
// IssuesCloseOutlined: <IssuesCloseOutlined />,
|
|
|
|
|
// ItalicOutlined: <ItalicOutlined />,
|
|
|
|
|
// JavaOutlined: <JavaOutlined />,
|
|
|
|
|
// JavaScriptOutlined: <JavaScriptOutlined />,
|
|
|
|
|
// KeyOutlined: <KeyOutlined />,
|
|
|
|
|
// KubernetesOutlined: <KubernetesOutlined />,
|
|
|
|
|
// LaptopOutlined: <LaptopOutlined />,
|
|
|
|
|
// LayoutOutlined: <LayoutOutlined />,
|
|
|
|
|
// LayoutTwoTone: <LayoutTwoTone />,
|
|
|
|
|
// LeftCircleOutlined: <LeftCircleOutlined />,
|
|
|
|
|
// LeftCircleTwoTone: <LeftCircleTwoTone />,
|
|
|
|
|
// LeftOutlined: <LeftOutlined />,
|
|
|
|
|
// LeftSquareOutlined: <LeftSquareOutlined />,
|
|
|
|
|
// LeftSquareTwoTone: <LeftSquareTwoTone />,
|
|
|
|
|
// LikeOutlined: <LikeOutlined />,
|
|
|
|
|
// LikeTwoTone: <LikeTwoTone />,
|
|
|
|
|
// LineChartOutlined: <LineChartOutlined />,
|
|
|
|
|
// LineHeightOutlined: <LineHeightOutlined />,
|
|
|
|
|
// LineOutlined: <LineOutlined />,
|
|
|
|
|
// LinkOutlined: <LinkOutlined />,
|
|
|
|
|
// LinkedinOutlined: <LinkedinOutlined />,
|
|
|
|
|
// LinuxOutlined: <LinuxOutlined />,
|
|
|
|
|
// Loading3QuartersOutlined: <Loading3QuartersOutlined />,
|
|
|
|
|
// LoadingOutlined: <LoadingOutlined />,
|
|
|
|
|
// LockOutlined: <LockOutlined />,
|
|
|
|
|
// LockTwoTone: <LockTwoTone />,
|
|
|
|
|
// LoginOutlined: <LoginOutlined />,
|
|
|
|
|
// LogoutOutlined: <LogoutOutlined />,
|
|
|
|
|
// MacCommandOutlined: <MacCommandOutlined />,
|
|
|
|
|
// MailOutlined: <MailOutlined />,
|
|
|
|
|
// MailTwoTone: <MailTwoTone />,
|
|
|
|
|
// ManOutlined: <ManOutlined />,
|
|
|
|
|
// MedicineBoxOutlined: <MedicineBoxOutlined />,
|
|
|
|
|
// MedicineBoxTwoTone: <MedicineBoxTwoTone />,
|
|
|
|
|
// MediumCircleOutlined: <MediumCircleOutlined />,
|
|
|
|
|
// MediumOutlined: <MediumOutlined />,
|
|
|
|
|
// MediumSquareOutlined: <MediumSquareOutlined />,
|
|
|
|
|
// MediumWorkmarkOutlined: <MediumWorkmarkOutlined />,
|
|
|
|
|
// MehOutlined: <MehOutlined />,
|
|
|
|
|
// MehTwoTone: <MehTwoTone />,
|
|
|
|
|
// MenuFoldOutlined: <MenuFoldOutlined />,
|
|
|
|
|
// MenuOutlined: <MenuOutlined />,
|
|
|
|
|
// MenuUnfoldOutlined: <MenuUnfoldOutlined />,
|
|
|
|
|
// MergeCellsOutlined: <MergeCellsOutlined />,
|
|
|
|
|
// MergeOutlined: <MergeOutlined />,
|
|
|
|
|
// MessageOutlined: <MessageOutlined />,
|
|
|
|
|
// MessageTwoTone: <MessageTwoTone />,
|
|
|
|
|
// MinusCircleOutlined: <MinusCircleOutlined />,
|
|
|
|
|
// MinusCircleTwoTone: <MinusCircleTwoTone />,
|
|
|
|
|
// MinusOutlined: <MinusOutlined />,
|
|
|
|
|
// MinusSquareOutlined: <MinusSquareOutlined />,
|
|
|
|
|
// MinusSquareTwoTone: <MinusSquareTwoTone />,
|
|
|
|
|
// MobileOutlined: <MobileOutlined />,
|
|
|
|
|
// MobileTwoTone: <MobileTwoTone />,
|
|
|
|
|
// MoneyCollectOutlined: <MoneyCollectOutlined />,
|
|
|
|
|
// MoneyCollectTwoTone: <MoneyCollectTwoTone />,
|
|
|
|
|
// MonitorOutlined: <MonitorOutlined />,
|
|
|
|
|
// MoonOutlined: <MoonOutlined />,
|
|
|
|
|
// MoreOutlined: <MoreOutlined />,
|
|
|
|
|
// MutedOutlined: <MutedOutlined />,
|
|
|
|
|
// NodeCollapseOutlined: <NodeCollapseOutlined />,
|
|
|
|
|
// NodeExpandOutlined: <NodeExpandOutlined />,
|
|
|
|
|
// NodeIndexOutlined: <NodeIndexOutlined />,
|
|
|
|
|
// NotificationOutlined: <NotificationOutlined />,
|
|
|
|
|
// NotificationTwoTone: <NotificationTwoTone />,
|
|
|
|
|
// NumberOutlined: <NumberOutlined />,
|
|
|
|
|
// OneToOneOutlined: <OneToOneOutlined />,
|
|
|
|
|
// OpenAIOutlined: <OpenAIOutlined />,
|
|
|
|
|
// OrderedListOutlined: <OrderedListOutlined />,
|
|
|
|
|
// PaperClipOutlined: <PaperClipOutlined />,
|
|
|
|
|
// PartitionOutlined: <PartitionOutlined />,
|
|
|
|
|
// PauseCircleOutlined: <PauseCircleOutlined />,
|
|
|
|
|
// PauseCircleTwoTone: <PauseCircleTwoTone />,
|
|
|
|
|
// PauseOutlined: <PauseOutlined />,
|
|
|
|
|
// PayCircleOutlined: <PayCircleOutlined />,
|
|
|
|
|
// PercentageOutlined: <PercentageOutlined />,
|
|
|
|
|
// PhoneOutlined: <PhoneOutlined />,
|
|
|
|
|
// PhoneTwoTone: <PhoneTwoTone />,
|
|
|
|
|
// PicCenterOutlined: <PicCenterOutlined />,
|
|
|
|
|
// PicLeftOutlined: <PicLeftOutlined />,
|
|
|
|
|
// PicRightOutlined: <PicRightOutlined />,
|
|
|
|
|
// PictureOutlined: <PictureOutlined />,
|
|
|
|
|
// PictureTwoTone: <PictureTwoTone />,
|
|
|
|
|
// PieChartOutlined: <PieChartOutlined />,
|
|
|
|
|
// PieChartTwoTone: <PieChartTwoTone />,
|
|
|
|
|
// PinterestOutlined: <PinterestOutlined />,
|
|
|
|
|
// PlayCircleOutlined: <PlayCircleOutlined />,
|
|
|
|
|
// PlayCircleTwoTone: <PlayCircleTwoTone />,
|
|
|
|
|
// PlaySquareOutlined: <PlaySquareOutlined />,
|
|
|
|
|
// PlaySquareTwoTone: <PlaySquareTwoTone />,
|
|
|
|
|
// PlusCircleOutlined: <PlusCircleOutlined />,
|
|
|
|
|
// PlusCircleTwoTone: <PlusCircleTwoTone />,
|
|
|
|
|
// PlusOutlined: <PlusOutlined />,
|
|
|
|
|
// PlusSquareOutlined: <PlusSquareOutlined />,
|
|
|
|
|
// PlusSquareTwoTone: <PlusSquareTwoTone />,
|
|
|
|
|
// PoundCircleOutlined: <PoundCircleOutlined />,
|
|
|
|
|
// PoundCircleTwoTone: <PoundCircleTwoTone />,
|
|
|
|
|
// PoundOutlined: <PoundOutlined />,
|
|
|
|
|
// PoweroffOutlined: <PoweroffOutlined />,
|
|
|
|
|
// PrinterOutlined: <PrinterOutlined />,
|
|
|
|
|
// PrinterTwoTone: <PrinterTwoTone />,
|
|
|
|
|
// ProductOutlined: <ProductOutlined />,
|
|
|
|
|
// ProfileOutlined: <ProfileOutlined />,
|
|
|
|
|
// ProfileTwoTone: <ProfileTwoTone />,
|
|
|
|
|
// ProjectOutlined: <ProjectOutlined />,
|
|
|
|
|
// ProjectTwoTone: <ProjectTwoTone />,
|
|
|
|
|
// PropertySafetyOutlined: <PropertySafetyOutlined />,
|
|
|
|
|
// PropertySafetyTwoTone: <PropertySafetyTwoTone />,
|
|
|
|
|
// PullRequestOutlined: <PullRequestOutlined />,
|
|
|
|
|
// PushpinOutlined: <PushpinOutlined />,
|
|
|
|
|
// PushpinTwoTone: <PushpinTwoTone />,
|
|
|
|
|
// PythonOutlined: <PythonOutlined />,
|
|
|
|
|
// QqCircleOutlined: <QqCircleOutlined />,
|
|
|
|
|
// QqOutlined: <QqOutlined />,
|
|
|
|
|
// QqSquareOutlined: <QqSquareOutlined />,
|
|
|
|
|
// QrcodeOutlined: <QrcodeOutlined />,
|
|
|
|
|
// QuestionCircleOutlined: <QuestionCircleOutlined />,
|
|
|
|
|
// QuestionCircleTwoTone: <QuestionCircleTwoTone />,
|
|
|
|
|
// QuestionOutlined: <QuestionOutlined />,
|
|
|
|
|
// RadarChartOutlined: <RadarChartOutlined />,
|
|
|
|
|
// RadiusBottomleftOutlined: <RadiusBottomleftOutlined />,
|
|
|
|
|
// RadiusBottomrightOutlined: <RadiusBottomrightOutlined />,
|
|
|
|
|
// RadiusSettingOutlined: <RadiusSettingOutlined />,
|
|
|
|
|
// RadiusUpleftOutlined: <RadiusUpleftOutlined />,
|
|
|
|
|
// RadiusUprightOutlined: <RadiusUprightOutlined />,
|
|
|
|
|
// ReadOutlined: <ReadOutlined />,
|
|
|
|
|
// ReconciliationOutlined: <ReconciliationOutlined />,
|
|
|
|
|
// ReconciliationTwoTone: <ReconciliationTwoTone />,
|
|
|
|
|
// RedEnvelopeOutlined: <RedEnvelopeOutlined />,
|
|
|
|
|
// RedEnvelopeTwoTone: <RedEnvelopeTwoTone />,
|
|
|
|
|
// RedditCircleOutlined: <RedditCircleOutlined />,
|
|
|
|
|
// RedditOutlined: <RedditOutlined />,
|
|
|
|
|
// RedditSquareOutlined: <RedditSquareOutlined />,
|
|
|
|
|
// RedoOutlined: <RedoOutlined />,
|
|
|
|
|
// ReloadOutlined: <ReloadOutlined />,
|
|
|
|
|
// RestOutlined: <RestOutlined />,
|
|
|
|
|
// RestTwoTone: <RestTwoTone />,
|
|
|
|
|
// RetweetOutlined: <RetweetOutlined />,
|
|
|
|
|
// RightCircleOutlined: <RightCircleOutlined />,
|
|
|
|
|
// RightCircleTwoTone: <RightCircleTwoTone />,
|
|
|
|
|
// RightOutlined: <RightOutlined />,
|
|
|
|
|
// RightSquareOutlined: <RightSquareOutlined />,
|
|
|
|
|
// RightSquareTwoTone: <RightSquareTwoTone />,
|
|
|
|
|
// RiseOutlined: <RiseOutlined />,
|
|
|
|
|
// RobotOutlined: <RobotOutlined />,
|
|
|
|
|
// RocketOutlined: <RocketOutlined />,
|
|
|
|
|
// RocketTwoTone: <RocketTwoTone />,
|
|
|
|
|
// RollbackOutlined: <RollbackOutlined />,
|
|
|
|
|
// RotateLeftOutlined: <RotateLeftOutlined />,
|
|
|
|
|
// RotateRightOutlined: <RotateRightOutlined />,
|
|
|
|
|
// RubyOutlined: <RubyOutlined />,
|
|
|
|
|
// SafetyCertificateOutlined: <SafetyCertificateOutlined />,
|
|
|
|
|
// SafetyCertificateTwoTone: <SafetyCertificateTwoTone />,
|
|
|
|
|
// SafetyOutlined: <SafetyOutlined />,
|
|
|
|
|
// SaveOutlined: <SaveOutlined />,
|
|
|
|
|
// SaveTwoTone: <SaveTwoTone />,
|
|
|
|
|
// ScanOutlined: <ScanOutlined />,
|
|
|
|
|
// ScheduleOutlined: <ScheduleOutlined />,
|
|
|
|
|
// ScheduleTwoTone: <ScheduleTwoTone />,
|
|
|
|
|
// ScissorOutlined: <ScissorOutlined />,
|
|
|
|
|
// SearchOutlined: <SearchOutlined />,
|
|
|
|
|
// SecurityScanOutlined: <SecurityScanOutlined />,
|
|
|
|
|
// SecurityScanTwoTone: <SecurityScanTwoTone />,
|
|
|
|
|
// SelectOutlined: <SelectOutlined />,
|
|
|
|
|
// SendOutlined: <SendOutlined />,
|
|
|
|
|
// SettingOutlined: <SettingOutlined />,
|
|
|
|
|
// SettingTwoTone: <SettingTwoTone />,
|
|
|
|
|
// ShakeOutlined: <ShakeOutlined />,
|
|
|
|
|
// ShareAltOutlined: <ShareAltOutlined />,
|
|
|
|
|
// ShopOutlined: <ShopOutlined />,
|
|
|
|
|
// ShopTwoTone: <ShopTwoTone />,
|
|
|
|
|
// ShoppingCartOutlined: <ShoppingCartOutlined />,
|
|
|
|
|
// ShoppingOutlined: <ShoppingOutlined />,
|
|
|
|
|
// ShoppingTwoTone: <ShoppingTwoTone />,
|
|
|
|
|
// ShrinkOutlined: <ShrinkOutlined />,
|
|
|
|
|
// SignalOutlined: <SignalOutlined />,
|
|
|
|
|
// SignatureOutlined: <SignatureOutlined />,
|
|
|
|
|
// SisternodeOutlined: <SisternodeOutlined />,
|
|
|
|
|
// SketchCircleOutlined: <SketchCircleOutlined />,
|
|
|
|
|
// SketchOutlined: <SketchOutlined />,
|
|
|
|
|
// SketchSquareOutlined: <SketchSquareOutlined />,
|
|
|
|
|
// SkinOutlined: <SkinOutlined />,
|
|
|
|
|
// SkinTwoTone: <SkinTwoTone />,
|
|
|
|
|
// SkypeOutlined: <SkypeOutlined />,
|
|
|
|
|
// SlackCircleOutlined: <SlackCircleOutlined />,
|
|
|
|
|
// SlackOutlined: <SlackOutlined />,
|
|
|
|
|
// SlackSquareOutlined: <SlackSquareOutlined />,
|
|
|
|
|
// SlidersOutlined: <SlidersOutlined />,
|
|
|
|
|
// SlidersTwoTone: <SlidersTwoTone />,
|
|
|
|
|
// SmallDashOutlined: <SmallDashOutlined />,
|
|
|
|
|
// SmileOutlined: <SmileOutlined />,
|
|
|
|
|
// SmileTwoTone: <SmileTwoTone />,
|
|
|
|
|
// SnippetsOutlined: <SnippetsOutlined />,
|
|
|
|
|
// SnippetsTwoTone: <SnippetsTwoTone />,
|
|
|
|
|
// SolutionOutlined: <SolutionOutlined />,
|
|
|
|
|
// SortAscendingOutlined: <SortAscendingOutlined />,
|
|
|
|
|
// SortDescendingOutlined: <SortDescendingOutlined />,
|
|
|
|
|
// SoundOutlined: <SoundOutlined />,
|
|
|
|
|
// SoundTwoTone: <SoundTwoTone />,
|
|
|
|
|
// SplitCellsOutlined: <SplitCellsOutlined />,
|
|
|
|
|
// SpotifyOutlined: <SpotifyOutlined />,
|
|
|
|
|
// StarOutlined: <StarOutlined />,
|
|
|
|
|
// StarTwoTone: <StarTwoTone />,
|
|
|
|
|
// StepBackwardOutlined: <StepBackwardOutlined />,
|
|
|
|
|
// StepForwardOutlined: <StepForwardOutlined />,
|
|
|
|
|
// StockOutlined: <StockOutlined />,
|
|
|
|
|
// StopOutlined: <StopOutlined />,
|
|
|
|
|
// StopTwoTone: <StopTwoTone />,
|
|
|
|
|
// StrikethroughOutlined: <StrikethroughOutlined />,
|
|
|
|
|
// SubnodeOutlined: <SubnodeOutlined />,
|
|
|
|
|
// SunOutlined: <SunOutlined />,
|
|
|
|
|
// SwapLeftOutlined: <SwapLeftOutlined />,
|
|
|
|
|
// SwapOutlined: <SwapOutlined />,
|
|
|
|
|
// SwapRightOutlined: <SwapRightOutlined />,
|
|
|
|
|
// SwitcherOutlined: <SwitcherOutlined />,
|
|
|
|
|
// SwitcherTwoTone: <SwitcherTwoTone />,
|
|
|
|
|
// SyncOutlined: <SyncOutlined />,
|
|
|
|
|
// TableOutlined: <TableOutlined />,
|
|
|
|
|
// TabletOutlined: <TabletOutlined />,
|
|
|
|
|
// TabletTwoTone: <TabletTwoTone />,
|
|
|
|
|
// TagOutlined: <TagOutlined />,
|
|
|
|
|
// TagTwoTone: <TagTwoTone />,
|
|
|
|
|
// TagsOutlined: <TagsOutlined />,
|
|
|
|
|
// TagsTwoTone: <TagsTwoTone />,
|
|
|
|
|
// TaobaoCircleOutlined: <TaobaoCircleOutlined />,
|
|
|
|
|
// TaobaoOutlined: <TaobaoOutlined />,
|
|
|
|
|
// TaobaoSquareOutlined: <TaobaoSquareOutlined />,
|
|
|
|
|
// TeamOutlined: <TeamOutlined />,
|
|
|
|
|
// ThunderboltOutlined: <ThunderboltOutlined />,
|
|
|
|
|
// ThunderboltTwoTone: <ThunderboltTwoTone />,
|
|
|
|
|
// TikTokOutlined: <TikTokOutlined />,
|
|
|
|
|
// ToTopOutlined: <ToTopOutlined />,
|
|
|
|
|
// ToolOutlined: <ToolOutlined />,
|
|
|
|
|
// ToolTwoTone: <ToolTwoTone />,
|
|
|
|
|
// TrademarkCircleOutlined: <TrademarkCircleOutlined />,
|
|
|
|
|
// TrademarkCircleTwoTone: <TrademarkCircleTwoTone />,
|
|
|
|
|
// TrademarkOutlined: <TrademarkOutlined />,
|
|
|
|
|
// TransactionOutlined: <TransactionOutlined />,
|
|
|
|
|
// TranslationOutlined: <TranslationOutlined />,
|
|
|
|
|
// TrophyOutlined: <TrophyOutlined />,
|
|
|
|
|
// TrophyTwoTone: <TrophyTwoTone />,
|
|
|
|
|
// TruckOutlined: <TruckOutlined />,
|
|
|
|
|
// TwitchOutlined: <TwitchOutlined />,
|
|
|
|
|
// TwitterCircleOutlined: <TwitterCircleOutlined />,
|
|
|
|
|
// TwitterOutlined: <TwitterOutlined />,
|
|
|
|
|
// TwitterSquareOutlined: <TwitterSquareOutlined />,
|
|
|
|
|
// UnderlineOutlined: <UnderlineOutlined />,
|
|
|
|
|
// UndoOutlined: <UndoOutlined />,
|
|
|
|
|
// UngroupOutlined: <UngroupOutlined />,
|
|
|
|
|
// UnlockOutlined: <UnlockOutlined />,
|
|
|
|
|
// UnlockTwoTone: <UnlockTwoTone />,
|
|
|
|
|
// UnorderedListOutlined: <UnorderedListOutlined />,
|
|
|
|
|
// UpCircleOutlined: <UpCircleOutlined />,
|
|
|
|
|
// UpCircleTwoTone: <UpCircleTwoTone />,
|
|
|
|
|
// UpOutlined: <UpOutlined />,
|
|
|
|
|
// UpSquareOutlined: <UpSquareOutlined />,
|
|
|
|
|
// UpSquareTwoTone: <UpSquareTwoTone />,
|
|
|
|
|
// UploadOutlined: <UploadOutlined />,
|
|
|
|
|
// UsbOutlined: <UsbOutlined />,
|
|
|
|
|
// UsbTwoTone: <UsbTwoTone />,
|
|
|
|
|
// UserAddOutlined: <UserAddOutlined />,
|
|
|
|
|
// UserDeleteOutlined: <UserDeleteOutlined />,
|
|
|
|
|
// UserOutlined: <UserOutlined />,
|
|
|
|
|
// UserSwitchOutlined: <UserSwitchOutlined />,
|
|
|
|
|
// UsergroupAddOutlined: <UsergroupAddOutlined />,
|
|
|
|
|
// UsergroupDeleteOutlined: <UsergroupDeleteOutlined />,
|
|
|
|
|
// VerifiedOutlined: <VerifiedOutlined />,
|
|
|
|
|
// VerticalAlignBottomOutlined: <VerticalAlignBottomOutlined />,
|
|
|
|
|
// VerticalAlignMiddleOutlined: <VerticalAlignMiddleOutlined />,
|
|
|
|
|
// VerticalAlignTopOutlined: <VerticalAlignTopOutlined />,
|
|
|
|
|
// VerticalLeftOutlined: <VerticalLeftOutlined />,
|
|
|
|
|
// VerticalRightOutlined: <VerticalRightOutlined />,
|
|
|
|
|
// VideoCameraAddOutlined: <VideoCameraAddOutlined />,
|
|
|
|
|
// VideoCameraOutlined: <VideoCameraOutlined />,
|
|
|
|
|
// VideoCameraTwoTone: <VideoCameraTwoTone />,
|
|
|
|
|
// WalletOutlined: <WalletOutlined />,
|
|
|
|
|
// WalletTwoTone: <WalletTwoTone />,
|
|
|
|
|
// WarningOutlined: <WarningOutlined />,
|
|
|
|
|
// WarningTwoTone: <WarningTwoTone />,
|
|
|
|
|
// WechatOutlined: <WechatOutlined />,
|
|
|
|
|
// WechatWorkOutlined: <WechatWorkOutlined />,
|
|
|
|
|
// WeiboCircleOutlined: <WeiboCircleOutlined />,
|
|
|
|
|
// WeiboOutlined: <WeiboOutlined />,
|
|
|
|
|
// WeiboSquareOutlined: <WeiboSquareOutlined />,
|
|
|
|
|
// WhatsAppOutlined: <WhatsAppOutlined />,
|
|
|
|
|
// WifiOutlined: <WifiOutlined />,
|
|
|
|
|
// WindowsOutlined: <WindowsOutlined />,
|
|
|
|
|
// WomanOutlined: <WomanOutlined />,
|
|
|
|
|
// XOutlined: <XOutlined />,
|
|
|
|
|
// YahooOutlined: <YahooOutlined />,
|
|
|
|
|
// YoutubeOutlined: <YoutubeOutlined />,
|
|
|
|
|
// YuqueOutlined: <YuqueOutlined />,
|
|
|
|
|
// ZhihuCircleOutlined: <ZhihuCircleOutlined />,
|
|
|
|
|
// ZhihuOutlined: <ZhihuOutlined />,
|
|
|
|
|
// ZhihuSquareOutlined: <ZhihuSquareOutlined />,
|
|
|
|
|
// ZoomInOutlined: <ZoomInOutlined />,
|
|
|
|
|
// ZoomOutOutlined: <ZoomOutOutlined />
|
|
|
|
|
|
|
|
|
|
// };
|
|
|
|
|
|
|
|
|
|
function SystemConstructLayout({ children }: { children: React.ReactNode }) { |
|
|
|
|
const data = localStorage.getItem(USER_MENU); |
|
|
|
|
const parsed = data ? JSON.parse(data).menus.filter((item: any) => item.component_name == 'system')[0].children : []; |
|
|
|
|
console.log('parsed', parsed); |
|
|
|
|
const items = [ |
|
|
|
|
//菜单
|
|
|
|
|
{ |
|
|
|
|
key: 'menu', |
|
|
|
|
name: t('menu_management'), |
|
|
|
|
name: t('menu'), |
|
|
|
|
path: '/menu', |
|
|
|
|
icon: <MenuFoldOutlined />, |
|
|
|
|
}, |
|
|
|
|
//角色
|
|
|
|
|
{ |
|
|
|
|
key: 'role', |
|
|
|
|
name: t('role_management'), |
|
|
|
|
name: t('role'), |
|
|
|
|
icon: <UsergroupDeleteOutlined />, |
|
|
|
|
path: '/role', |
|
|
|
|
}, |
|
|
|
|
//机构
|
|
|
|
|
{ |
|
|
|
|
key: 'organization', |
|
|
|
|
name: t('institutional_framework'), |
|
|
|
|
name: t('institutional'), |
|
|
|
|
path: '/organization', |
|
|
|
|
icon: <IconFont type='icon-company' />, |
|
|
|
|
}, |
|
|
|
|
//用户
|
|
|
|
|
{ |
|
|
|
|
key: 'user', |
|
|
|
|
name: t('user_information_management'), |
|
|
|
|
name: t('user'), |
|
|
|
|
icon: <UserOutlined />, |
|
|
|
|
path: '/user', |
|
|
|
|
}, |
|
|
|
@ -76,26 +706,19 @@ function SystemConstructLayout({ children }: { children: React.ReactNode }) { |
|
|
|
|
size='small' |
|
|
|
|
indicator={{ size: origin => origin - 60, align: 'center' }} |
|
|
|
|
activeKey={activeKey} |
|
|
|
|
items={items.map(items => { |
|
|
|
|
items={parsed.map((item: any) => { |
|
|
|
|
return { |
|
|
|
|
key: items.key, |
|
|
|
|
label: items.name, |
|
|
|
|
key: item.component_name, |
|
|
|
|
label: t(item.component_name), |
|
|
|
|
children: children, |
|
|
|
|
icon: items.icon, |
|
|
|
|
icon: item.component_name === 'organization' |
|
|
|
|
? <IconFont type="icon-company" /> |
|
|
|
|
: renderIcon(item.icon) |
|
|
|
|
}; |
|
|
|
|
})} |
|
|
|
|
onTabClick={key => { |
|
|
|
|
router.push(`/system/${key}`); |
|
|
|
|
}} |
|
|
|
|
// tabBarExtraContent={
|
|
|
|
|
// <Button
|
|
|
|
|
// className='border-none text-white bg-button-gradient h-full flex items-center'
|
|
|
|
|
// icon={<PlusOutlined className='text-base' />}
|
|
|
|
|
// // onClick={handleCreate}
|
|
|
|
|
// >
|
|
|
|
|
// {t('create_app')}
|
|
|
|
|
// </Button>
|
|
|
|
|
// }
|
|
|
|
|
/> |
|
|
|
|
</ConfigProvider> |
|
|
|
|
</div> |
|
|
|
|