{editingDevice ? (
) : (
@@ -1635,7 +1635,11 @@ function DeviceManagement() {
width={700}
style={{ borderRadius: '16px' }}
styles={{
- header: { borderBottom: '1px solid #f0f0f0', padding: '16px 50px 16px 24px' },
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ padding: '16px 24px',
+ position: 'relative',
+ },
body: { padding: '24px' },
}}
className="device-modal"
@@ -1941,7 +1945,7 @@ function DeviceManagement() {
+
字段配置
@@ -1951,7 +1955,11 @@ function DeviceManagement() {
footer={null}
width={600}
styles={{
- header: { borderBottom: '1px solid #f0f0f0', padding: '16px 24px' },
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ padding: '16px 24px',
+ position: 'relative',
+ },
body: { padding: '24px' },
}}
>
@@ -2036,7 +2044,7 @@ function DeviceManagement() {
+
导入设备
@@ -2053,7 +2061,11 @@ function DeviceManagement() {
width={650}
destroyOnHidden
styles={{
- header: { borderBottom: '1px solid #f0f0f0', padding: '16px 24px' },
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ padding: '16px 24px',
+ position: 'relative',
+ },
body: { padding: '24px' },
}}
>
@@ -2369,7 +2381,7 @@ function DeviceManagement() {
+
@@ -2434,7 +2446,11 @@ function DeviceManagement() {
width={700}
destroyOnHidden
styles={{
- header: { borderBottom: '1px solid #f0f0f0', padding: '16px 24px' },
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ padding: '16px 24px',
+ position: 'relative',
+ },
body: { padding: '0', overflow: 'auto' },
}}
>
@@ -2599,7 +2615,7 @@ function DeviceManagement() {
+
批量状态变更
@@ -2637,7 +2653,11 @@ function DeviceManagement() {
]}
destroyOnHidden
styles={{
- header: { borderBottom: '1px solid #f0f0f0', padding: '16px 24px' },
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ padding: '16px 24px',
+ position: 'relative',
+ },
body: { padding: '24px' },
}}
>
@@ -2664,7 +2684,7 @@ function DeviceManagement() {
+
导出设备数据
@@ -2702,7 +2722,11 @@ function DeviceManagement() {
]}
destroyOnHidden
styles={{
- header: { borderBottom: '1px solid #f0f0f0', padding: '16px 24px' },
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ padding: '16px 24px',
+ position: 'relative',
+ },
body: { padding: '24px' },
}}
width={600}
diff --git a/frontend/src/pages/RackManagement.jsx b/frontend/src/pages/RackManagement.jsx
index 66fbcd8..43de7d8 100644
--- a/frontend/src/pages/RackManagement.jsx
+++ b/frontend/src/pages/RackManagement.jsx
@@ -755,6 +755,23 @@ function RackManagement() {
return (