Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
fbb9ccaf
Commit
fbb9ccaf
authored
Apr 22, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资源浏览统计隐藏
parent
37eb875f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
60 deletions
+57
-60
AssetDirectory.jsx
src/view/Manage/AssetManage/Component/AssetDirectory.jsx
+41
-45
AssetDirectory.less
src/view/Manage/AssetManage/Component/AssetDirectory.less
+14
-13
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+2
-2
No files found.
src/view/Manage/AssetManage/Component/AssetDirectory.jsx
View file @
fbb9ccaf
...
...
@@ -178,7 +178,7 @@ const AssetDirectory = (props) => {
</
Tooltip
>
</
Paragraph
>
</
div
>
<
div
className=
{
(
reference
===
AssetManageReference
||
reference
===
ResourceBrowseReference
)?
'mb-common'
:
''
}
>
<
div
className=
{
(
reference
===
AssetManageReference
)?
'mb-common'
:
''
}
>
<
Paragraph
>
<
Tooltip
title=
{
dir
?.
desc
||
''
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
...
...
@@ -189,50 +189,46 @@ const AssetDirectory = (props) => {
</
Paragraph
>
</
div
>
{
(
reference
===
AssetManageReference
||
reference
===
ResourceBrowseReference
)
&&
<
div
className=
'flex'
>
{
(
reference
===
AssetManageReference
)
&&
<
React
.
Fragment
>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
dir
?.
remarks
||
''
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
备注:
<
Text
className=
'text-color'
>
{
dir
?.
remarks
||
''
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
<
Separate
width=
{
10
}
background=
'#fff'
/>
</
React
.
Fragment
>
}
{
(
reference
===
ResourceBrowseReference
||
resourceState
)
&&
<
React
.
Fragment
>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
resourceState
?.
relatedAsset
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
资产化数量:
<
Text
className=
'text-color'
>
{
resourceState
?.
relatedAsset
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
<
Separate
width=
{
10
}
background=
'#fff'
/>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
resourceState
?.
notRelatedAsset
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
非资产数量:
<
Text
className=
'text-color'
>
{
resourceState
?.
notRelatedAsset
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
<
Separate
width=
{
10
}
background=
'#fff'
/>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
resourceState
?.
uncombed
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
未梳理数量:
<
Text
className=
'text-color'
>
{
resourceState
?.
uncombed
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
</
React
.
Fragment
>
}
(
reference
===
AssetManageReference
)
&&
<
div
className=
'flex'
>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
dir
?.
remarks
||
''
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
备注:
<
Text
className=
'text-color'
>
{
dir
?.
remarks
||
''
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
<
Separate
width=
{
10
}
background=
'#fff'
/>
{
resourceState
&&
<
React
.
Fragment
>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
resourceState
?.
relatedAsset
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
资产化数量:
<
Text
className=
'text-color'
>
{
resourceState
?.
relatedAsset
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
<
Separate
width=
{
10
}
background=
'#fff'
/>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
resourceState
?.
notRelatedAsset
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
非资产数量:
<
Text
className=
'text-color'
>
{
resourceState
?.
notRelatedAsset
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
<
Separate
width=
{
10
}
background=
'#fff'
/>
<
Paragraph
style=
{
{
flex
:
1
,
overflow
:
'hidden'
}
}
>
<
Tooltip
title=
{
resourceState
?.
uncombed
}
>
<
Text
className=
'title-color'
ellipsis=
{
true
}
>
未梳理数量:
<
Text
className=
'text-color'
>
{
resourceState
?.
uncombed
}
</
Text
>
</
Text
>
</
Tooltip
>
</
Paragraph
>
</
React
.
Fragment
>
}
</
div
>
}
</
div
>
...
...
src/view/Manage/AssetManage/Component/AssetDirectory.less
View file @
fbb9ccaf
...
...
@@ -2,20 +2,20 @@
.asset-directory {
//
.more-container {
//
cursor: pointer;
//
color: @icon-normal-color;
.more-container {
cursor: pointer;
color: @icon-normal-color;
//
.icon {
//
fill: @icon-normal-color !important;
//
}
.icon {
fill: @icon-normal-color !important;
}
//
&:hover {
//
color: @icon-hover-color;
&:hover {
color: @icon-hover-color;
//
.icon {
//
fill: @icon-hover-color !important;
//
}
//
}
//
}
.icon {
fill: @icon-hover-color !important;
}
}
}
}
\ No newline at end of file
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
fbb9ccaf
...
...
@@ -644,9 +644,9 @@ const AssetTable = (props) => {
if
((
assets
||
[]).
length
>
0
)
{
if
(
fullScreen
)
{
scrollY
=
'calc(100vh - 209px - 72px)'
;
}
else
if
(
reference
===
AssetManageReference
||
reference
===
ResourceBrowseReference
)
{
}
else
if
(
reference
===
AssetManageReference
)
{
scrollY
=
'calc(100vh - 209px - 123px - 15px - 72px)'
;
}
else
if
(
reference
===
AssetBrowseReference
)
{
}
else
if
(
reference
===
AssetBrowseReference
||
reference
===
ResourceBrowseReference
)
{
scrollY
=
'calc(100vh - 209px - 94px - 15px - 72px)'
;
}
else
if
(
reference
===
AssetRecycleReference
)
{
scrollY
=
'calc(100vh - 209px - 72px)'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment