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
eda21212
Commit
eda21212
authored
Dec 29, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产屏蔽转资产化等按钮
parent
5f1a19a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
38 deletions
+38
-38
AssetDirectory.jsx
src/view/Manage/AssetManage/Component/AssetDirectory.jsx
+28
-28
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+10
-10
No files found.
src/view/Manage/AssetManage/Component/AssetDirectory.jsx
View file @
eda21212
...
...
@@ -205,34 +205,34 @@ const AssetDirectory = (props) => {
</
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
>
//
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
>
}
...
...
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
eda21212
...
...
@@ -929,10 +929,10 @@ const AssetTable = (props) => {
}
},
onContextMenu
:
event
=>
{
if
(
reference
===
AssetManageReference
&&
(
record
.
resourceState
===
'uncombed'
||
record
.
resourceState
===
'notRelatedAsset'
))
{
setContextMenuItem
(
record
);
displayMenu
(
event
);
}
//
if (reference===AssetManageReference && (record.resourceState==='uncombed'||record.resourceState==='notRelatedAsset'))
{
//
setContextMenuItem(record);
//
displayMenu(event);
//
}
},
}
}
}
...
...
@@ -1014,14 +1014,14 @@ const AssetTable = (props) => {
/>
<
RcMenu
id=
{
MENU_ID
}
>
{
(
contextMenuItem
.
resourceState
===
'notRelatedAsset'
)
&&
<
RcItem
id=
"uncombed"
onClick=
{
handleItemClick
}
>
转为未梳理
</
RcItem
>
//
(contextMenuItem.resourceState==='notRelatedAsset') && <RcItem id="uncombed" onClick=
{
handleItemClick
}
>
//
转为未梳理
//
</RcItem>
}
{
(
contextMenuItem
.
resourceState
===
'uncombed'
)
&&
<
RcItem
id=
"notRelatedAsset"
onClick=
{
handleItemClick
}
>
转为非资产
</
RcItem
>
//
(contextMenuItem.resourceState==='uncombed') && <RcItem id="notRelatedAsset" onClick=
{
handleItemClick
}
>
//
转为非资产
//
</RcItem>
}
</
RcMenu
>
...
...
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