优化细节

This commit is contained in:
mmc
2026-05-18 14:28:42 +08:00
parent 00541fcf71
commit 002371a374
9 changed files with 202 additions and 295 deletions

View File

@@ -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>
)