feat: 云睿资产管理系统标准化定制完成 (Xinmi Workflow Step 0-11)

This commit is contained in:
yi
2026-06-18 11:15:12 +08:00
parent 6f4bff9bd0
commit d0761503b7
13 changed files with 496 additions and 9 deletions
+36 -3
View File
@@ -36,6 +36,7 @@ import {
CodepenOutlined,
CloudUploadOutlined,
LayoutOutlined,
LinkOutlined,
} from '@ant-design/icons';
import {
BrowserRouter as Router,
@@ -372,6 +373,11 @@ const AppLayout = ({ children }) => {
icon: <AuditOutlined style={{ fontSize: '16px' }} />,
label: <Link to="/operation-logs">操作日志</Link>,
},
{
key: 'about',
icon: <InfoCircleOutlined style={{ fontSize: '16px' }} />,
label: <Link to="/about">关于系统</Link>,
},
],
},
];
@@ -440,7 +446,7 @@ const AppLayout = ({ children }) => {
lineHeight: 1.2,
}}
>
{config.site_name || 'IDC管理'}
{config.site_name || '云睿资产'}
</div>
<div
style={{
@@ -449,7 +455,7 @@ const AppLayout = ({ children }) => {
marginTop: '2px',
}}
>
数据中心管理平台
云端睿智资产管理
</div>
</div>
)}
@@ -477,10 +483,36 @@ const AppLayout = ({ children }) => {
<div
style={{
padding: '12px',
padding: '8px 12px',
borderTop: `1px solid ${designTokens.colors.sidebar.border}`,
display: 'flex',
flexDirection: 'column',
gap: '4px'
}}
>
{!collapsed && (
<div style={{ padding: '0 8px 8px 8px' }}>
<a
href="http://code.xinmi.cloud/"
target="_blank"
rel="noopener noreferrer"
style={{
fontSize: '12px',
color: designTokens.colors.primary.main,
display: 'flex',
alignItems: 'center',
gap: '4px',
opacity: 0.8,
transition: 'opacity 0.2s'
}}
onMouseEnter={e => e.target.style.opacity = 1}
onMouseLeave={e => e.target.style.opacity = 0.8}
>
<LinkOutlined style={{ fontSize: '12px' }} />
<span>新觅源码库</span>
</a>
</div>
)}
<Button
type="text"
icon={collapsed ? <MenuUnfoldOutlined /> : <MenuFoldOutlined />}
@@ -624,6 +656,7 @@ const routeConfig = [
{ path: '/error-boundary-test', component: ErrorBoundaryTest },
{ path: '/idle-devices', component: IdleDeviceManagement },
{ path: '/floor-plan', component: RoomFloorPlan },
{ path: '/about', component: About },
];
const ThemeConfig = () => {