Commit 96ac8588 by zhaochengxiang

去掉shan

parent f200bd01
...@@ -162,7 +162,7 @@ export function getDataModelLocation(payload) { ...@@ -162,7 +162,7 @@ export function getDataModelLocation(payload) {
} }
export function searchModel(payload) { export function searchModel(payload) {
return GetJSON("/shandatamodeler/easyDataModelerCURD/searchEasyDataModelerDataModelsByNaming", payload); return GetJSON("/datamodeler/easyDataModelerCURD/searchEasyDataModelerDataModelsByNaming", payload);
} }
export function getVersions(payload) { export function getVersions(payload) {
...@@ -461,7 +461,7 @@ export function getSearchProperties() { ...@@ -461,7 +461,7 @@ export function getSearchProperties() {
} }
export function searchModelBySearchProperties(payload) { export function searchModelBySearchProperties(payload) {
return PostJSON("/shandatamodeler/easyDataModelerCURD/searchEasyDataModelerDataModelsByModelSearchProperties", payload); return PostJSON("/datamodeler/easyDataModelerCURD/searchEasyDataModelerDataModelsByModelSearchProperties", payload);
} }
/* compare */ /* compare */
...@@ -737,9 +737,9 @@ export function findAssociationMetadataByModelId(payload) { ...@@ -737,9 +737,9 @@ export function findAssociationMetadataByModelId(payload) {
} }
export function getMatchMetadataTableById(payload) { export function getMatchMetadataTableById(payload) {
return PostJSON("/shandatamodeler/easyDataModelerCompareMetadata/getMatchMetadataTableById", payload) return PostJSON("/datamodeler/easyDataModelerCompareMetadata/getMatchMetadataTableById", payload)
} }
export function getModelMetadataCompareResult(payload) { export function getModelMetadataCompareResult(payload) {
return GetJSON("/shandatamodeler/easyDataModelerCompareMetadata/getModelMetadataCompareResult", payload) return GetJSON("/datamodeler/easyDataModelerCompareMetadata/getModelMetadataCompareResult", payload)
} }
\ No newline at end of file
...@@ -354,20 +354,6 @@ const PerfectMatch = ({ item }) => { ...@@ -354,20 +354,6 @@ const PerfectMatch = ({ item }) => {
render: (_, __, index)=> ((args.page-1)*args.size+index+1) render: (_, __, index)=> ((args.page-1)*args.size+index+1)
}, },
{ {
title: '环境',
dataIndex: 'catalog',
render: (_, record) => {
const paths = (record.metadataPath??'').split('/')
if ((paths??[]).length > 0) {
return <Tooltip title={paths[0]}>
<Typography.Text ellipsis={true}>{paths[0]}</Typography.Text>
</Tooltip>
}
return ''
}
},
{
title: '模型路径', title: '模型路径',
dataIndex: 'modelPath', dataIndex: 'modelPath',
}, },
...@@ -394,18 +380,12 @@ const PerfectMatch = ({ item }) => { ...@@ -394,18 +380,12 @@ const PerfectMatch = ({ item }) => {
render: (_, record) => record.modelModifiedTs?new Date(record.modelModifiedTs).toLocaleString():'' render: (_, record) => record.modelModifiedTs?new Date(record.modelModifiedTs).toLocaleString():''
}, },
{ {
title: '环境',
dataIndex: 'env',
},
{
title: '元数据路径', title: '元数据路径',
dataIndex: 'metadataPath', dataIndex: 'metadataPath',
render: (_, record) => {
const paths = (record.metadataPath??'').split('/')
//去掉环境
paths.splice(0, 1)
return (
<Tooltip title={(paths??[]).join('/')}>
<Typography.Text ellipsis={true}>{(paths??[]).join('/')}</Typography.Text>
</Tooltip>
)
}
}, },
{ {
title: '元数据名称', title: '元数据名称',
...@@ -635,20 +615,6 @@ const PartialMatch = ({ item }) => { ...@@ -635,20 +615,6 @@ const PartialMatch = ({ item }) => {
render: (_, __, index)=> ((args.page-1)*args.size+index+1) render: (_, __, index)=> ((args.page-1)*args.size+index+1)
}, },
{ {
title: '环境',
dataIndex: 'catalog',
render: (_, record) => {
const paths = (record.metadataPath??'').split('/')
if ((paths??[]).length > 0) {
return <Tooltip title={paths[0]}>
<Typography.Text ellipsis={true}>{paths[0]}</Typography.Text>
</Tooltip>
}
return ''
}
},
{
title: '模型路径', title: '模型路径',
dataIndex: 'modelPath', dataIndex: 'modelPath',
}, },
...@@ -675,18 +641,12 @@ const PartialMatch = ({ item }) => { ...@@ -675,18 +641,12 @@ const PartialMatch = ({ item }) => {
render: (_, record) => record.modelModifiedTs?new Date(record.modelModifiedTs).toLocaleString():'' render: (_, record) => record.modelModifiedTs?new Date(record.modelModifiedTs).toLocaleString():''
}, },
{ {
title: '环境',
dataIndex: 'env',
},
{
title: '元数据路径', title: '元数据路径',
dataIndex: 'metadataPath', dataIndex: 'metadataPath',
render: (_, record) => {
const paths = (record.metadataPath??'').split('/')
//去掉环境
paths.splice(0, 1)
return (
<Tooltip title={(paths??[]).join('/')}>
<Typography.Text ellipsis={true}>{(paths??[]).join('/')}</Typography.Text>
</Tooltip>
)
}
}, },
{ {
title: '元数据名称', title: '元数据名称',
...@@ -942,31 +902,11 @@ const NotMatch = ({ item }) => { ...@@ -942,31 +902,11 @@ const NotMatch = ({ item }) => {
}, },
{ {
title: '环境', title: '环境',
dataIndex: 'catalog', dataIndex: 'env',
render: (_, record) => {
const paths = (record.metadataPath??'').split('/')
if ((paths??[]).length > 0) {
return <Tooltip title={paths[0]}>
<Typography.Text ellipsis={true}>{paths[0]}</Typography.Text>
</Tooltip>
}
return ''
}
}, },
{ {
title: '元数据路径', title: '元数据路径',
dataIndex: 'metadataPath', dataIndex: 'metadataPath',
render: (_, record) => {
const paths = (record.metadataPath??'').split('/')
//去掉环境
paths.splice(0, 1)
return (
<Tooltip title={(paths??[]).join('/')}>
<Typography.Text ellipsis={true}>{(paths??[]).join('/')}</Typography.Text>
</Tooltip>
)
}
}, },
{ {
title: '元数据名称', title: '元数据名称',
......
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