设备接入产品配置 界面

This commit is contained in:
mmc
2026-05-25 16:14:09 +08:00
parent 59f6b1e763
commit 2471479b9c
3 changed files with 118 additions and 64 deletions

View File

@@ -421,7 +421,7 @@ export default function WayLinePage({ planedevices }) {
};
return (
<div className="normal-spacing" style={{ background: '#f5f7fa', minHeight: '100vh', padding: '16px', paddingTop: 0 }}>
<div className="normal-spacing" style={{ background: '#f5f7fa', minHeight: '100vh', padding: '0px', paddingTop: 0 }}>
<Row gutter={[16, 16]} style={{ marginBottom: 16 }}>
{topCards.map((item, index) => (
<Col xs={12} sm={8} md={4} key={index}>
@@ -527,8 +527,8 @@ export default function WayLinePage({ planedevices }) {
</Tooltip>
}
bordered={false}
bodyStyle={{ padding: 0, display: 'flex', flexDirection: 'column', flex: 1 }}
style={{ ...cardStyle, flex: 1 }}
bodyStyle={{ padding: 0, display: 'flex', flexDirection: 'column', height: "calc(100% - 40px)", overflow: "auto" }}
style={{ ...cardStyle, height: "410px" }}
>
<Table
size="small"
@@ -536,8 +536,7 @@ export default function WayLinePage({ planedevices }) {
columns={taskColumns}
dataSource={taskList}
pagination={false}
scroll={{ y: 'auto', maxHeight: 260 }}
style={{ height: '100%' }}
style={{ height: "calc(100% - 40px)" }}
rowClassName={(record) =>
selectedTask?.uuid === record.uuid ? 'table-row-highlight' : ''
}