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
cfe78375
Commit
cfe78375
authored
Jan 16, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
岗位详情
parent
a89c3aad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
index.js
src/util/index.js
+2
-1
AssetAction.jsx
src/view/Manage/AssetManage/Component/AssetAction.jsx
+4
-4
post-relation.jsx
src/view/Manage/AssetManage/Component/post-relation.jsx
+0
-0
No files found.
src/util/index.js
View file @
cfe78375
...
...
@@ -400,6 +400,6 @@ export function getDataModelerRole(user) {
return
''
;
}
export
function
isPost
ion
Asset
(
templateType
)
{
export
function
isPostAsset
(
templateType
)
{
return
false
}
\ No newline at end of file
src/view/Manage/AssetManage/Component/AssetAction.jsx
View file @
cfe78375
...
...
@@ -7,7 +7,7 @@ import produce from 'immer';
import
MetadataInfo
from
'./MetadataInfo'
;
import
{
dispatch
}
from
'../../../../model'
;
import
{
highlightSearchContentByTerms
,
showMessage
,
paginate
,
isPost
ion
Asset
}
from
'../../../../util'
;
import
{
highlightSearchContentByTerms
,
showMessage
,
paginate
,
isPostAsset
}
from
'../../../../util'
;
import
{
AppContext
,
appId
}
from
'../../../../App'
;
import
Tag
from
'../../Tag'
;
import
Separate
from
'./Separate'
;
...
...
@@ -23,7 +23,7 @@ import { checkDataAssetEditable } from '../../../../service/dataassetmanager';
import
download
from
'../../../../util/download'
;
import
SelectStandard
from
'./SelectStandard'
;
import
AttributeMaintain
from
'./AttributeMaintain'
;
import
Post
ionRelation
from
'./postion
-relation'
;
import
Post
Relation
from
'./post
-relation'
;
import
'./AssetAction.less'
;
...
...
@@ -648,7 +648,7 @@ const AssetAction = (props) => {
let
metadataValue
=
data
?.
elements
[
metadataIndex
].
value
;
try
{
setMetadata
(
JSON
.
parse
(
metadataValue
));
if
(
!
isPost
ion
Asset
(
data
?.
templateType
))
{
if
(
!
isPostAsset
(
data
?.
templateType
))
{
getMetadataAttributes
();
getMetadataStandardList
();
}
...
...
@@ -1335,7 +1335,7 @@ const AssetAction = (props) => {
</Spin>
{
isPost
ionAsset(assets?.templateType) ? <Postion
Relation /> : <React.Fragment>
isPost
Asset(assets?.templateType) ? <Post
Relation /> : <React.Fragment>
<div>
<Divider orientation='left'>字段级资产目录信息</Divider>
</div>
...
...
src/view/Manage/AssetManage/Component/post
ion
-relation.jsx
→
src/view/Manage/AssetManage/Component/post-relation.jsx
View file @
cfe78375
File moved
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