Commit cfe78375 by zhaochengxiang

岗位详情

parent a89c3aad
...@@ -400,6 +400,6 @@ export function getDataModelerRole(user) { ...@@ -400,6 +400,6 @@ export function getDataModelerRole(user) {
return ''; return '';
} }
export function isPostionAsset(templateType) { export function isPostAsset(templateType) {
return false return false
} }
\ No newline at end of file
...@@ -7,7 +7,7 @@ import produce from 'immer'; ...@@ -7,7 +7,7 @@ import produce from 'immer';
import MetadataInfo from './MetadataInfo'; import MetadataInfo from './MetadataInfo';
import { dispatch } from '../../../../model'; import { dispatch } from '../../../../model';
import { highlightSearchContentByTerms, showMessage, paginate, isPostionAsset } from '../../../../util'; import { highlightSearchContentByTerms, showMessage, paginate, isPostAsset } from '../../../../util';
import { AppContext, appId } from '../../../../App'; import { AppContext, appId } from '../../../../App';
import Tag from '../../Tag'; import Tag from '../../Tag';
import Separate from './Separate'; import Separate from './Separate';
...@@ -23,7 +23,7 @@ import { checkDataAssetEditable } from '../../../../service/dataassetmanager'; ...@@ -23,7 +23,7 @@ import { checkDataAssetEditable } from '../../../../service/dataassetmanager';
import download from '../../../../util/download'; import download from '../../../../util/download';
import SelectStandard from './SelectStandard'; import SelectStandard from './SelectStandard';
import AttributeMaintain from './AttributeMaintain'; import AttributeMaintain from './AttributeMaintain';
import PostionRelation from './postion-relation'; import PostRelation from './post-relation';
import './AssetAction.less'; import './AssetAction.less';
...@@ -648,7 +648,7 @@ const AssetAction = (props) => { ...@@ -648,7 +648,7 @@ const AssetAction = (props) => {
let metadataValue = data?.elements[metadataIndex].value; let metadataValue = data?.elements[metadataIndex].value;
try { try {
setMetadata(JSON.parse(metadataValue)); setMetadata(JSON.parse(metadataValue));
if (!isPostionAsset(data?.templateType)) { if (!isPostAsset(data?.templateType)) {
getMetadataAttributes(); getMetadataAttributes();
getMetadataStandardList(); getMetadataStandardList();
} }
...@@ -1335,7 +1335,7 @@ const AssetAction = (props) => { ...@@ -1335,7 +1335,7 @@ const AssetAction = (props) => {
</Spin> </Spin>
{ {
isPostionAsset(assets?.templateType) ? <PostionRelation /> : <React.Fragment> isPostAsset(assets?.templateType) ? <PostRelation /> : <React.Fragment>
<div> <div>
<Divider orientation='left'>字段级资产目录信息</Divider> <Divider orientation='left'>字段级资产目录信息</Divider>
</div> </div>
......
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