|
|
|
|
@ -129,9 +129,9 @@ const AssetGroupTable=()=>{
|
|
|
|
|
key: 'action',
|
|
|
|
|
render: (_, record) => (
|
|
|
|
|
<Space size="middle">
|
|
|
|
|
<Button type="text" onClick={() => handleEdit(record)}>编辑</Button>
|
|
|
|
|
<Button type="text" onClick={() => handlePermissionConfig(record)}>权限配置</Button>
|
|
|
|
|
<Button type="text" onClick={() => handleViewAsset(record)}>查看资产</Button>
|
|
|
|
|
<Button style={{color:'#2C9E9D'}} type="text" onClick={() => handleEdit(record)}>编辑</Button>
|
|
|
|
|
<Button style={{color:'#2C9E9D'}} type="text" onClick={() => handlePermissionConfig(record)}>权限配置</Button>
|
|
|
|
|
<Button style={{color:'#006665'}} type="text" onClick={() => handleViewAsset(record)}>查看资产</Button>
|
|
|
|
|
</Space>
|
|
|
|
|
),
|
|
|
|
|
align:'center'
|
|
|
|
|
@ -264,7 +264,7 @@ const AssetGrouping = () => {
|
|
|
|
|
defaultSelectedKeys={['0-0-0-0']}
|
|
|
|
|
checkable={true}
|
|
|
|
|
// checkStrictly={true}
|
|
|
|
|
defaultExpandAll={true}
|
|
|
|
|
defaultExpandAll={true}
|
|
|
|
|
style={{backgroundColor:'rgb(234, 245, 241)',paddingTop:'20px',fontSize:'16px'}}
|
|
|
|
|
>
|
|
|
|
|
</Tree>
|
|
|
|
|
|