Commit cfe78375 by zhaochengxiang

岗位详情

parent a89c3aad
......@@ -400,6 +400,6 @@ export function getDataModelerRole(user) {
return '';
}
export function isPostionAsset(templateType) {
export function isPostAsset(templateType) {
return false
}
\ No newline at end of file
......@@ -7,7 +7,7 @@ import produce from 'immer';
import MetadataInfo from './MetadataInfo';
import { dispatch } from '../../../../model';
import { highlightSearchContentByTerms, showMessage, paginate, isPostionAsset } 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 PostionRelation from './postion-relation';
import PostRelation 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 (!isPostionAsset(data?.templateType)) {
if (!isPostAsset(data?.templateType)) {
getMetadataAttributes();
getMetadataStandardList();
}
......@@ -1335,7 +1335,7 @@ const AssetAction = (props) => {
</Spin>
{
isPostionAsset(assets?.templateType) ? <PostionRelation /> : <React.Fragment>
isPostAsset(assets?.templateType) ? <PostRelation /> : <React.Fragment>
<div>
<Divider orientation='left'>字段级资产目录信息</Divider>
</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