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
96ac8588
Commit
96ac8588
authored
Jun 07, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉shan
parent
f200bd01
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
73 deletions
+14
-73
datamodeler.js
src/service/datamodeler.js
+5
-4
result-detail.jsx
src/view/Manage/ModelCompare/result-detail.jsx
+9
-69
No files found.
src/service/datamodeler.js
View file @
96ac8588
...
@@ -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
(
"/
shan
datamodeler/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
(
"/
shan
datamodeler/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
(
"/
shan
datamodeler/easyDataModelerCompareMetadata/getMatchMetadataTableById"
,
payload
)
return
PostJSON
(
"/datamodeler/easyDataModelerCompareMetadata/getMatchMetadataTableById"
,
payload
)
}
}
export
function
getModelMetadataCompareResult
(
payload
)
{
export
function
getModelMetadataCompareResult
(
payload
)
{
return
GetJSON
(
"/
shan
datamodeler/easyDataModelerCompareMetadata/getModelMetadataCompareResult"
,
payload
)
return
GetJSON
(
"/datamodeler/easyDataModelerCompareMetadata/getModelMetadataCompareResult"
,
payload
)
}
}
\ No newline at end of file
src/view/Manage/ModelCompare/result-detail.jsx
View file @
96ac8588
...
@@ -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: '元数据名称',
...
...
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