add status management with list and detail views, including routing and mock data

This commit is contained in:
2025-10-09 16:43:03 +07:00
parent dcdd8c9b8d
commit a7af974108
9 changed files with 548 additions and 11 deletions

View File

@@ -45,9 +45,9 @@ const ListBrandDevice = ({
key: 'action',
render: (_, record) => (
<Space size="middle">
<Button type="text" icon={<EyeOutlined style={{ color: '#1890ff' }} />} onClick={() => handlePreview(record)} />
<Button type="text" icon={<EditOutlined style={{ color: '#faad14' }} />} onClick={() => handleEdit(record)} />
<Button type="text" danger icon={<DeleteOutlined />} onClick={() => handleDelete(record)} />
<Button type="text" style={{ borderColor: '#1890ff' }} icon={<EyeOutlined style={{ color: '#1890ff' }} />} onClick={() => handlePreview(record)} />
<Button type="text" style={{ borderColor: '#faad14' }} icon={<EditOutlined style={{ color: '#faad14' }} />} onClick={() => handleEdit(record)} />
<Button type="text" danger style={{ borderColor: 'red' }} icon={<DeleteOutlined />} onClick={() => handleDelete(record)} />
</Space>
),
},