优化细节
This commit is contained in:
@@ -407,10 +407,12 @@ const WorkOrderPage = () => {
|
||||
fixed: "right",
|
||||
render: (_, record) => (
|
||||
<Space size={4}>
|
||||
<Button type="link" size="small" onClick={() => handleRowSelect(record)}>查看</Button>
|
||||
<Button type="link" size="small" onClick={() => { handleRowSelect(record); openEditModal(); }}>修改</Button>
|
||||
<Button type="link" size="small" icon={<EyeOutlined />} onClick={() => handleRowSelect(record)}>查看</Button>
|
||||
<Button type="link" size="small" icon={<EditOutlined />} onClick={() => { handleRowSelect(record); openEditModal(); }}>修改</Button>
|
||||
<Popconfirm title="确定删除?" onConfirm={() => handleDelete(record)}>
|
||||
<Button type="link" size="small" danger>删除</Button>
|
||||
<Button type="link" size="small" danger icon={<DeleteOutlined />}>
|
||||
删除
|
||||
</Button>
|
||||
</Popconfirm>
|
||||
</Space>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user