Commit 3e50b28c by zhaochengxiang

血缘 影响

parent 0d2b3948
...@@ -1099,18 +1099,26 @@ const AssetAction = (props) => { ...@@ -1099,18 +1099,26 @@ const AssetAction = (props) => {
</Button> </Button>
} }
<Button type='primary' onClick={() => { <Button type='primary' onClick={() => {
app?.setGlobalState?.({ if (metadata?.metadataTableId) {
message: 'data-govern-show-metadata-relation', app?.setGlobalState?.({
data: { id: metadata?.metadataTableId, type: 'lineage' } message: 'data-govern-show-metadata-relation',
}) data: { id: metadata?.metadataTableId, type: 'lineage' }
})
} else {
showMessage("warn","该资产目录没有关联元数据信息");
}
}}> }}>
血缘关系 血缘关系
</Button> </Button>
<Button type='primary' onClick={() => { <Button type='primary' onClick={() => {
app?.setGlobalState?.({ if (metadata?.metadataTableId) {
message: 'data-govern-show-metadata-relation', app?.setGlobalState?.({
data: { id: metadata?.metadataTableId, type: 'impact' } message: 'data-govern-show-metadata-relation',
}) data: { id: metadata?.metadataTableId, type: 'impact' }
})
} else {
showMessage("warn","该资产目录没有关联元数据信息");
}
}}> }}>
影响关系 影响关系
</Button> </Button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment