样式和工单列表接口

This commit is contained in:
mmc
2026-05-15 15:39:28 +08:00
parent ae7368b3d0
commit bc48abc038
20 changed files with 251 additions and 93 deletions

View File

@@ -167,7 +167,7 @@ const BasicSettings = () => {
];
return (
<div className="normal-spacing" style={{ padding: '8px', background: '#f5f7fa', minHeight: '100vh' }}>
<div className="normal-spacing" style={{ padding: '8px 0px', background: '#f5f7fa', minHeight: '100vh' }}>
{/* 顶部统计卡片 */}

View File

@@ -501,7 +501,7 @@ export default function DeviceAccessPage() {
}];
return (
<div className="p-5 bg-[#f5f7fa] min-h-screen">
<div className="p-0 pt-[8px] bg-[#f5f7fa] min-h-screen">
{contextHolder}
<Card className="mb-4">
<Tabs activeKey={activeTab} onChange={setActiveTab}>

View File

@@ -140,11 +140,11 @@ export default function DeviceManagementPage() {
};
return (
<div style={{ padding: 24, paddingTop: 0 }}>
<div style={{ padding: "8px 0px", paddingTop: 0 }}>
<Tabs
activeKey={activeTab}
onChange={setActiveTab}
style={{ marginBottom: 16 }}
style={{ marginBottom: 0 }}
>
<Tabs.TabPane key="all" tab="设备管理" />
<Tabs.TabPane key="camera" tab="摄像头管理" />

View File

@@ -185,7 +185,7 @@ export default function MenuList() {
};
return (
<div style={{ padding: '20px' }}>
<div style={{ padding: '8px 0px' }}>
{contextHolder}
<Card title="菜单管理" style={{ borderRadius: 8 }}>
<div style={{ marginBottom: 16, display: 'flex', justifyContent: 'space-between' }}>

View File

@@ -86,12 +86,12 @@ const OnlineUserPage = () => {
];
return (
<div style={{ padding: 20, background: '#f5f7fa', minHeight: '100vh' }}>
<div style={{ padding: "8px 0px", background: '#f5f7fa', minHeight: '100vh' }}>
{/* ====================== 顶部 Tabs ====================== */}
<Tabs
activeKey={activeTab}
onChange={setActiveTab}
style={{ marginBottom: 20 }}
style={{ marginBottom: 0 }}
>
<TabPane tab="在线用户" key="onlineUser" />
<TabPane tab="其他监控" key="other" />

View File

@@ -148,7 +148,7 @@ export default function Organization() {
];
return (
<div style={{ padding: '20px' }}>
<div style={{ padding: '8px 0px' }}>
{contextHolder}
<AntdCard title="组织管理" style={{ borderRadius: 8 }}>

View File

@@ -252,7 +252,7 @@ export default function StationManage() {
];
return (
<div style={{ padding: '20px' }}>
<div style={{ padding: '8px 0px' }}>
{contextHolder}
<Card title="场站管理" style={{ borderRadius: 8 }}>

View File

@@ -389,7 +389,7 @@ export default function UserRolePage() {
overflowY: 'auto',
scrollbarWidth: 'none',
msOverflowStyle: 'none',
padding: '20px',
padding: '8px 0px',
background: '#f5f7fa'
}}>
{contextHolder}