Commit 1e8a3a93 by zhaochengxiang

非结构化字段

parent bc023eb8
......@@ -417,3 +417,7 @@ export function* draftAssetImport(payload) {
export function* fillRelationDisplayInfo(payload) {
return yield call(service.fillRelationDisplayInfo, payload);
}
export function* getBusinessColumns(payload) {
return yield call(service.getBusinessColumns, payload);
}
\ No newline at end of file
......@@ -424,3 +424,7 @@ export function getRelatedAssets(payload) {
export function fillRelationDisplayInfo(payload) {
return GetJSON("/dataassetmanagertest/dataAssetRelatedApi/fillRelationDisplayInfo", payload)
}
export function getBusinessColumns(payload) {
return GetJSON("/dataassetmanagertest/dataAssetColumnApi/listBusinessColumnsByDataAssetId", payload)
}
\ No newline at end of file
......@@ -157,14 +157,15 @@ const FC = React.forwardRef(function ({ item, reference, action, onChange }, ref
return (
<div>
<div style={{ display: 'flex', justifyContent: 'space-between' }}>
<div style={{ display: 'flex', justifyContent: 'flex-end' }}>
<Space>
{
action !== 'detail' ? <Space>
action !== 'detail' && <React.Fragment>
<Button onClick={onEditClick}>编辑</Button>
<Tooltip title={(selectedRows??[]).length===0?'请先选择资产':''}>
<Button disabled={(selectedRows??[]).length===0} onClick={onDeleteClick}>删除</Button>
</Tooltip>
</Space> : <div />
</React.Fragment>
}
<Input size="middle"
placeholder='搜索资产名称'
......@@ -175,6 +176,7 @@ const FC = React.forwardRef(function ({ item, reference, action, onChange }, ref
setPagination({...pagination, pageNum: 1})
setKeyword(e.target.value)
}} />
</Space>
</div>
<div className='mt-3'>
<Table
......
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