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
28b695b7
Commit
28b695b7
authored
Aug 23, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产详情元数据高亮
parent
12494c06
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
21 deletions
+8
-21
AssetAction.jsx
src/view/Manage/AssetManage/Component/AssetAction.jsx
+5
-4
ImportDirectory.jsx
src/view/Manage/AssetManage/Component/ImportDirectory.jsx
+3
-17
No files found.
src/view/Manage/AssetManage/Component/AssetAction.jsx
View file @
28b695b7
...
...
@@ -81,7 +81,7 @@ const AssetAction = (props) => {
<
a
onClick=
{
()
=>
{
window
.
open
(
`/center-home/metadetail?mid=${record._id}&action=metadetail&type=detail&manager=false&activekey=1`
);
}
}
>
{
text
||
''
}
{
highlightSearchContentByTerms
(
text
||
''
,
terms
)
}
</
a
>
</
Tooltip
>
);
...
...
@@ -92,6 +92,7 @@ const AssetAction = (props) => {
dataIndex
:
'cnName'
,
// width: 200,
ellipsis
:
true
,
render
:
(
text
,
_
)
=>
highlightSearchContentByTerms
(
text
||
''
,
terms
)
},
{
title
:
'是否有权限'
,
...
...
@@ -933,7 +934,7 @@ const AssetAction = (props) => {
<div className='pl-common py-compact-common'>
<Descriptions column={1}>
<Descriptions.Item
label={<div className='title-text' style={{ textAlign: 'right', width:
6
0 }}>资产目录路径</div>}
label={<div className='title-text' style={{ textAlign: 'right', width:
9
0 }}>资产目录路径</div>}
style={{ paddingBottom: 0 }}
>
<div className='flex' style={{ flexDirection: 'column' }}>
...
...
@@ -948,7 +949,7 @@ const AssetAction = (props) => {
}
</div>
</Descriptions.Item>
{/* <Descriptions.Item label={<div className='title-text' style={{ textAlign: 'right', width:
6
0 }}>资产目录标签</div>} style={{ paddingBottom: 15 }}>
{/* <Descriptions.Item label={<div className='title-text' style={{ textAlign: 'right', width:
9
0 }}>资产目录标签</div>} style={{ paddingBottom: 15 }}>
<AppContext.Consumer>
{
value => {
...
...
@@ -958,7 +959,7 @@ const AssetAction = (props) => {
</AppContext.Consumer>
</Descriptions.Item> */}
{/* <Descriptions.Item
label={<div className='title-text' style={{ textAlign: 'right', width:
6
0 }}>关联关系</div>}
label={<div className='title-text' style={{ textAlign: 'right', width:
8
0 }}>关联关系</div>}
style={{ paddingBottom: 0 }}
>
<div className='flex' style={{ flexDirection: 'column' }}>
...
...
src/view/Manage/AssetManage/Component/ImportDirectory.jsx
View file @
28b695b7
...
...
@@ -51,23 +51,12 @@ const ImportDirectory = (props) => {
setUploading
(
true
);
let
payload
;
if
(
row
.
type
===
'root'
)
{
payload
=
{
const
payload
=
{
params
:
{
ignoreRepeatPath
},
fileList
:
fileList
,
};
}
else
{
payload
=
{
params
:
{
ignoreRepeatPath
,
parentPath
:
dir
.
path
},
fileList
:
fileList
};
}
dispatch
({
type
:
'assetmanage.directoryImport'
,
...
...
@@ -152,13 +141,10 @@ const ImportDirectory = (props) => {
<
Form
{
...
formItemLayout
}
form=
{
form
}
>
<
Form
.
Item
label=
"挂载位置"
name=
"type"
//
name="type"
rules=
{
[{
required
:
true
,
message
:
'必填项'
}]
}
>
<
Radio
.
Group
>
<
Radio
value=
'root'
>
根节点导入
</
Radio
>
{
/* <Radio value='self' disabled={ dirId===null }>选中节点导入</Radio> */
}
</
Radio
.
Group
>
<
span
>
根节点导入
</
span
>
</
Form
.
Item
>
<
Form
.
Item
label=
"文件"
...
...
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