Commit 925fa799 by zhaochengxiang

去掉资产目录详情

parent 3e50b28c
......@@ -76,8 +76,8 @@ const AssetBrowse = (props) => {
expandTree && <Separate width={15} />
}
<div className={rightClasses}>
<AssetDirectory id={centerId} assetCount={assetCount} reference={reference} nodeType={nodeParams.nodeType} />
<Separate height={15} />
{/* <AssetDirectory id={centerId} assetCount={assetCount} reference={reference} nodeType={nodeParams.nodeType} />
<Separate height={15} /> */}
<div className='flex' style={{ flex: 1, height: '100%', overflow: 'hidden' }}>
{
// expandRelation && <React.Fragment>
......
......@@ -1123,7 +1123,7 @@ const AssetAction = (props) => {
影响关系
</Button>
<Input size="middle"
placeholder="中英文名称/业务规则"
placeholder="搜索中英文名称/业务规则"
value={keyword}
bordered={true} allowClear
onChange={(e) => {
......
......@@ -769,7 +769,7 @@ const AssetManageTree = (props) => {
<div
className='flex'
style={{
height: 40,
height: 57,
alignItems: 'center',
justifyContent: 'space-between',
padding: '0 15px'
......
......@@ -7,7 +7,7 @@
}
.yy-tree{
height: calc(100vh - @header-height - @breadcrumb-height - 25px - 40px - 62px) !important;
height: calc(100vh - @header-height - @breadcrumb-height - 25px - 57px - 62px) !important;
overflow: auto !important;
}
......
......@@ -992,9 +992,9 @@ const AssetTable = (props) => {
if (fullScreen) {
scrollY = 'calc(100vh - 209px - 72px)';
} else if (reference===AssetManageReference) {
scrollY = 'calc(100vh - 209px - 123px - 15px - 72px)';
scrollY = 'calc(100vh - 209px - 72px)';
} else if (reference===AssetBrowseReference ||reference===ResourceBrowseReference) {
scrollY = 'calc(100vh - 209px - 94px - 15px - 72px)';
scrollY = 'calc(100vh - 209px - 72px)';
} else if (reference===AssetRecycleReference) {
scrollY = 'calc(100vh - 209px - 72px)';
}
......@@ -1003,10 +1003,11 @@ const AssetTable = (props) => {
return(
<div className={classes}>
<div
className='flex p-common'
className='flex p-3'
style={{
alignItems: 'center',
justifyContent: 'space-between',
borderBottom: '1px solid rgb(239, 239, 239)',
}}
>
<Space size={15}>
......@@ -1111,7 +1112,7 @@ const AssetTable = (props) => {
</Space>
</div>
<div
className='px-common'
className='p-3'
>
<ResizeObserver
onResize={({ width }) => {
......
......@@ -567,7 +567,7 @@ const AssetTree = (props) => {
<div
className='flex'
style={{
height: 40,
height: 57,
alignItems: 'center',
justifyContent: 'space-between',
padding: '0 15px'
......
......@@ -7,7 +7,7 @@
}
.yy-tree{
height: calc(100vh - @header-height - @breadcrumb-height - 25px - 40px - 62px) !important;
height: calc(100vh - @header-height - @breadcrumb-height - 25px - 57px - 62px) !important;
overflow: auto !important;
}
......
......@@ -89,8 +89,8 @@ const AssetManage = (props) => {
expandTree && <Separate width={15} />
}
<div className={middleClasses}>
<AssetDirectory id={nodeId} assetCount={assetCount} directoryChanged={directoryChanged} onElementsChange={onElementsChange} />
<Separate height={15} />
{/* <AssetDirectory id={nodeId} assetCount={assetCount} directoryChanged={directoryChanged} onElementsChange={onElementsChange} />
<Separate height={15} /> */}
<AssetTable nodeId={nodeId} nodeType={nodeType} nodeLevel={nodeLevel} reference={AssetManageReference} elementsChanged={elementsChanged} assetActionChanged={assetActionChanged} onSelect={onTableSelect} onCountChange={onAssetCountChange} onFullScreenChange={onFullScreenChange} {...props} />
<div className='tree-toggle' onClick={treeToggleClick}>
{ expandTree ? <CaretLeftOutlined /> : <CaretRightOutlined /> }
......
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