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
f4c12bc8
Commit
f4c12bc8
authored
Nov 14, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改元数据
parent
9cefbde2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
140 additions
and
20 deletions
+140
-20
DDL.png
src/assets/images/DDL.png
+0
-0
parse.vue
src/views/kinship/kinshipParse/parse.vue
+9
-1
metadataData.ts
src/views/metadata/metadataData.ts
+128
-18
tableModal.vue
src/views/metadata/tableModal.vue
+3
-1
No files found.
src/assets/images/DDL.png
0 → 100644
View file @
f4c12bc8
30.1 KB
src/views/kinship/kinshipParse/parse.vue
View file @
f4c12bc8
<
template
>
<PageWrapper
title=
"血缘解析"
class=
"content-padding"
contentBackground
>
<PageWrapper
title=
"血缘解析"
class=
"content-padding"
contentBackground
@
back=
"goBack"
>
<div
class=
"step-form-form"
>
<Steps
:current=
"current"
>
<Steps
.
Step
title=
"上传解析文件"
/>
...
...
@@ -17,6 +17,7 @@
import
{
Steps
}
from
'ant-design-vue'
;
import
Step1
from
'./Step1.vue'
;
import
Step2
from
'./Step2.vue'
;
import
{
useGo
}
from
'@/hooks/web/usePage'
;
defineOptions
({
name
:
'AccountDetail'
});
...
...
@@ -24,6 +25,8 @@
const
state
=
reactive
({
initStep2
:
false
,
});
const
go
=
useGo
();
function
handleStep1Next
(
step1Values
:
any
)
{
current
.
value
++
;
state
.
initStep2
=
true
;
...
...
@@ -33,6 +36,11 @@
function
handleStepPrev
()
{
current
.
value
--
;
}
// 页面左侧点击返回链接时的操作
function
goBack
()
{
// 本例的效果时点击返回始终跳转到账号列表页,实际应用时可返回上一页
go
(
'/kinship/kinshipParse/index'
);
}
</
script
>
<
style
lang=
"less"
scoped
>
.step-form-content {
...
...
src/views/metadata/metadataData.ts
View file @
f4c12bc8
...
...
@@ -32,7 +32,7 @@ export const TreeData: any[] = [
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
10
7
,
businessId
:
10
2
,
workSpaceName
:
'共享工作区'
,
parentId
:
100
,
'code:'
:
'003'
,
...
...
@@ -46,7 +46,7 @@ export const TreeData: any[] = [
{
delFlag
:
'0'
,
flag
:
'0'
,
businessId
:
2
03
,
businessId
:
1
03
,
workSpaceName
:
'高级工作区'
,
parentId
:
100
,
'code:'
:
'010'
,
...
...
@@ -57,6 +57,132 @@ export const TreeData: any[] = [
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
201
,
workSpaceName
:
'数据源1'
,
parentId
:
101
,
'code:'
:
'002'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
202
,
workSpaceName
:
'数据源2'
,
parentId
:
102
,
'code:'
:
'003'
,
ancestors
:
'0,100'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'0'
,
businessId
:
203
,
workSpaceName
:
'数据源3'
,
parentId
:
103
,
'code:'
:
'010'
,
ancestors
:
'0,100,107'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
301
,
workSpaceName
:
'数据库1'
,
parentId
:
201
,
'code:'
:
'002'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
302
,
workSpaceName
:
'数据库2'
,
parentId
:
202
,
'code:'
:
'003'
,
ancestors
:
'0,100'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'0'
,
businessId
:
303
,
workSpaceName
:
'数据库3'
,
parentId
:
203
,
'code:'
:
'010'
,
ancestors
:
'0,100,107'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
401
,
workSpaceName
:
'数据表1'
,
parentId
:
301
,
'code:'
:
'002'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
402
,
workSpaceName
:
'数据表2'
,
parentId
:
302
,
'code:'
:
'003'
,
ancestors
:
'0,100'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'0'
,
businessId
:
403
,
workSpaceName
:
'数据表3'
,
parentId
:
303
,
'code:'
:
'010'
,
ancestors
:
'0,100,107'
,
orderNum
:
2
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
];
export
const
metadataData
:
any
[]
=
[
...
...
@@ -918,22 +1044,6 @@ export const physicsData: any[] = [
date
:
'2024-05-01T12:00:00Z'
,
user
:
'张三'
,
},
{
name
:
'文件B'
,
dataBase
:
'元模型Y'
,
path
:
'/modelY/files'
,
connectTime
:
'2024-06-15T11:00:00Z'
,
date
:
'2024-06-15T13:00:00Z'
,
user
:
'李四'
,
},
{
name
:
'文件C'
,
dataBase
:
'元模型Z'
,
path
:
'/modelZ/files'
,
connectTime
:
'2024-07-20T09:00:00Z'
,
date
:
'2024-07-20T11:00:00Z'
,
user
:
'王五'
,
},
];
export
const
versionData
:
any
[]
=
[
{
...
...
src/views/metadata/tableModal.vue
View file @
f4c12bc8
...
...
@@ -47,6 +47,8 @@
:schema=
"bucketingSchema"
/>
<BasicTable
@
register=
"registerSampleDataTable"
/>
<Description
size=
"middle"
title=
"建表语句"
:bordered=
"false"
/>
<img
src=
"../../assets/images/DDL.png"
style=
"width: 100%"
alt=
"Logo"
/>
</div>
</a-tab-pane>
<a-tab-pane
key=
"2"
tab=
"列信息"
>
...
...
@@ -267,7 +269,7 @@
},
});
const
[
registerDbModal
,
{
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
title
.
value
=
data
.
workSpace
Name
;
title
.
value
=
data
.
tb
Name
;
tableTitle
.
value
=
data
.
name
;
tableData
.
value
=
dbData
;
await
reload
();
...
...
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