|
@@ -248,24 +248,21 @@ const Index = (props) => {
|
|
|
{
|
|
{
|
|
|
title: TranslateText(["操作", "Operation"]),
|
|
title: TranslateText(["操作", "Operation"]),
|
|
|
dataIndex: "action",
|
|
dataIndex: "action",
|
|
|
- width: 120,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
fixed: "right",
|
|
fixed: "right",
|
|
|
render: (_, record) => (
|
|
render: (_, record) => (
|
|
|
<div style={{ display: "flex" }}>
|
|
<div style={{ display: "flex" }}>
|
|
|
- <Button
|
|
|
|
|
- onClick={() => props.onSelect(record)}
|
|
|
|
|
- style={{ width: 0 }}
|
|
|
|
|
- type="link"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <a onClick={() => props.onSelect(record)} type="link">
|
|
|
详情
|
|
详情
|
|
|
- </Button>
|
|
|
|
|
- <Button
|
|
|
|
|
|
|
+ </a>
|
|
|
|
|
+ <a
|
|
|
onClick={() => onConfirm(record)}
|
|
onClick={() => onConfirm(record)}
|
|
|
type="link"
|
|
type="link"
|
|
|
disabled={record.op_status === 1}
|
|
disabled={record.op_status === 1}
|
|
|
|
|
+ style={{ marginLeft: 10 }}
|
|
|
>
|
|
>
|
|
|
{record.op_status !== 1 ? "确认" : "已确认"}
|
|
{record.op_status !== 1 ? "确认" : "已确认"}
|
|
|
- </Button>
|
|
|
|
|
|
|
+ </a>
|
|
|
</div>
|
|
</div>
|
|
|
),
|
|
),
|
|
|
},
|
|
},
|