Commit 0392fd9d by zhaochengxiang

资产管理统计数隐藏

parent b371c963
...@@ -19,7 +19,7 @@ const AssetBrowse = (props) => { ...@@ -19,7 +19,7 @@ const AssetBrowse = (props) => {
const [ nodeParams, setNodeParams ] = useState({ centerId: '', expandId: '', nodeType: '' }); const [ nodeParams, setNodeParams ] = useState({ centerId: '', expandId: '', nodeType: '' });
const [ expandTree, setExpandTree ] = useState(true); const [ expandTree, setExpandTree ] = useState(true);
const [ expandRelation, setExpandRelation ] = useState(true); const [ expandRelation, setExpandRelation ] = useState(false);
const [ assetCount, setAssetCount ] = useState(0); const [ assetCount, setAssetCount ] = useState(0);
const [ resizeRelation, setResizeRelation ] = useState(false); const [ resizeRelation, setResizeRelation ] = useState(false);
const [ assetFullScreen, setAssetFullScreen ] = useState(false); const [ assetFullScreen, setAssetFullScreen ] = useState(false);
......
...@@ -680,10 +680,6 @@ const AssetManageTree = (props) => { ...@@ -680,10 +680,6 @@ const AssetManageTree = (props) => {
className={(item.level===1)?'title-color': 'text-color'} className={(item.level===1)?'title-color': 'text-color'}
> >
{item.text} {item.text}
{
//自定义类型栏目不统计资产数
(reference===AssetManageReference) && (item.level!==1||(item.level===1&&item.resourceType!=='custom')) && <span>{` (${item.dataAssetAndSubDirCount})`}</span>
}
</span> </span>
); );
......
...@@ -502,6 +502,10 @@ const AssetTree = (props) => { ...@@ -502,6 +502,10 @@ const AssetTree = (props) => {
className={(item.level===1)?'title-color': 'text-color'} className={(item.level===1)?'title-color': 'text-color'}
> >
{item.text} {item.text}
{
//自定义类型栏目不统计资产数
(item.level!==1||(item.level===1&&item.type!=='custom')) && <span>{` (${item.dataAssetAndSubDirCount})`}</span>
}
</span> </span>
); );
......
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