|
@ -83,7 +83,9 @@ function CheckItems(props) { |
|
|
}}>修改</Button> |
|
|
}}>修改</Button> |
|
|
<Popconfirm |
|
|
<Popconfirm |
|
|
title="确认删除?" |
|
|
title="确认删除?" |
|
|
onConfirm={() => { delItems(record.id) }}> |
|
|
onConfirm={() => { delItems(record.id) }} |
|
|
|
|
|
disabled={record && record.patrolTemplates && record.patrolTemplates.length} |
|
|
|
|
|
> |
|
|
<Button type="link" danger disabled={record && record.patrolTemplates && record.patrolTemplates.length}>删除</Button> |
|
|
<Button type="link" danger disabled={record && record.patrolTemplates && record.patrolTemplates.length}>删除</Button> |
|
|
</Popconfirm> |
|
|
</Popconfirm> |
|
|
</> |
|
|
</> |
|
|