Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
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
张伯涛
bigDataSystem
Commits
266e738b
Commit
266e738b
authored
Nov 11, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改元数据
parent
4a8362ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
3 deletions
+70
-3
data.ts
src/views/metadata/data.ts
+22
-0
metadataData.ts
src/views/metadata/metadataData.ts
+32
-0
tableModal.vue
src/views/metadata/tableModal.vue
+16
-3
No files found.
src/views/metadata/data.ts
View file @
266e738b
...
...
@@ -590,3 +590,25 @@ export const connectionColumns: BasicColumn[] = [
width
:
120
,
},
];
export
const
analysisColumns
:
BasicColumn
[]
=
[
{
title
:
'关联对象'
,
dataIndex
:
'name'
,
width
:
120
,
},
{
title
:
'路径'
,
dataIndex
:
'dataBase'
,
width
:
120
,
},
{
title
:
'关联类型'
,
dataIndex
:
'type'
,
width
:
120
,
},
{
title
:
'关联度'
,
dataIndex
:
'level'
,
width
:
120
,
},
];
src/views/metadata/metadataData.ts
View file @
266e738b
...
...
@@ -875,3 +875,35 @@ export const connectionData: any[] = [
date
:
'2023-08-14'
,
},
];
export
const
analysisData
:
any
[]
=
[
{
name
:
'项目A'
,
dataBase
:
'数据库X'
,
type
:
'数据标准'
,
level
:
'3'
,
},
{
name
:
'项目B'
,
dataBase
:
'数据库Y'
,
type
:
'数据标准'
,
level
:
'3'
,
},
{
name
:
'项目C'
,
dataBase
:
'数据库Z'
,
type
:
'数据标准'
,
level
:
'2'
,
},
{
name
:
'项目D'
,
dataBase
:
'数据库X'
,
type
:
'数据标准'
,
level
:
'3'
,
},
{
name
:
'项目E'
,
dataBase
:
'数据库Y'
,
type
:
'数据标准'
,
level
:
'2'
,
},
];
src/views/metadata/tableModal.vue
View file @
266e738b
...
...
@@ -70,7 +70,9 @@
</div>
</a-tab-pane>
<a-tab-pane
key=
"6"
tab=
"关联度分析"
>
<div
v-if=
"page === '6'"
>
关联度分析
</div>
<div
v-if=
"page === '6'"
>
<BasicTable
@
register=
"registerAnalysisTable"
/>
</div>
</a-tab-pane>
<a-tab-pane
key=
"7"
tab=
"数据特征"
>
<div
v-if=
"page === '7'"
>
数据特征
</div>
...
...
@@ -91,7 +93,9 @@
import
{
Tabs
}
from
'ant-design-vue'
;
import
{
useModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
bucketingSchema
,
connectionColumns
,
analysisColumns
,
bucketingSchema
,
connectionColumns
,
CorrelationColumns
,
dbColumns
,
dbSearchFormSchema
,
...
...
@@ -103,7 +107,9 @@
SampleDataColumns
,
}
from
'@/views/metadata/data'
;
import
{
bucketingData
,
connectionData
,
analysisData
,
bucketingData
,
connectionData
,
CorrelationData
,
dbData
,
exampleData
,
...
...
@@ -200,6 +206,13 @@
showIndexColumn
:
false
,
scroll
:
{
y
:
400
},
});
const
[
registerAnalysisTable
]
=
useTable
({
dataSource
:
analysisData
,
columns
:
analysisColumns
,
pagination
:
true
,
showIndexColumn
:
false
,
scroll
:
{
y
:
400
},
});
const
[
registerDbModal
,
{
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
title
.
value
=
data
.
workSpaceName
;
tableTitle
.
value
=
data
.
name
;
...
...
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