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
0f7b8b6d
Commit
0f7b8b6d
authored
Nov 11, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改元数据
parent
f022c8a4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
6 deletions
+55
-6
analysis.png
src/assets/images/analysis.png
+0
-0
analysisModal.vue
src/views/metadata/analysisModal.vue
+36
-0
data.ts
src/views/metadata/data.ts
+1
-0
tableModal.vue
src/views/metadata/tableModal.vue
+18
-6
No files found.
src/assets/images/analysis.png
0 → 100644
View file @
0f7b8b6d
50.6 KB
src/views/metadata/analysisModal.vue
0 → 100644
View file @
0f7b8b6d
<
template
>
<BasicModal
v-bind=
"$attrs"
width=
"80%"
@
register=
"registerDbModal"
title=
"血缘分析"
:showOkBtn=
"false"
:minHeight=
"680"
>
<div
style=
"display: flex; justify-content: flex-end; padding-bottom: 10px"
>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"refresh"
>
刷新
</a-button>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"handleImport"
>
导出
</a-button>
</div>
<img
src=
"../../assets/images/analysis.png"
style=
"width: 100%; height: 100%"
alt=
"Logo"
/>
</BasicModal>
</
template
>
<
script
setup
lang=
"ts"
>
import
BasicModal
from
'@/components/Modal/src/BasicModal.vue'
;
import
{
ref
}
from
'vue'
;
import
{
useModalInner
}
from
'@/components/Modal'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
title
=
ref
(
''
);
const
tableTitle
=
ref
(
''
);
const
[
registerDbModal
,
{
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
title
.
value
=
data
.
workSpaceName
;
tableTitle
.
value
=
data
.
name
;
});
function
refresh
()
{
createMessage
.
success
(
'刷新成功'
);
}
function
handleImport
()
{
createMessage
.
success
(
'导出完成'
);
}
</
script
>
src/views/metadata/data.ts
View file @
0f7b8b6d
...
...
@@ -838,6 +838,7 @@ export const versionNumSchema: FormSchema[] = [
{
label
:
'V3'
,
value
:
'3'
},
],
},
defaultValue
:
'1'
,
colProps
:
{
lg
:
6
,
md
:
6
},
required
:
true
,
},
...
...
src/views/metadata/tableModal.vue
View file @
0f7b8b6d
...
...
@@ -8,9 +8,11 @@
>
<div>
<div
style=
"display: flex; justify-content: flex-end"
>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"handleNew"
>
刷新
</a-button>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"handleNew"
>
导出
</a-button>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"handleNew"
>
血缘分析
</a-button>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"refresh"
>
刷新
</a-button>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"handleImport"
>
导出
</a-button>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"handleAnalysis"
>
血缘分析
</a-button
>
<a-button
style=
"margin-right: 5px"
type=
"primary"
@
click=
"handleVersion"
>
版本管理
</a-button
>
...
...
@@ -111,6 +113,7 @@
<quotationModal
@
register=
"registerQuotationModal"
/>
<physicsModal
@
register=
"registerPhysicsModal"
/>
<versionModal
@
register=
"registerVersionModal"
/>
<analysisModal
@
register=
"registerAnalysisModal"
/>
</template>
<
script
setup
lang=
"ts"
>
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
...
...
@@ -153,6 +156,7 @@
import
quotationModal
from
'./quotationModal.vue'
;
import
physicsModal
from
'./physicsModal.vue'
;
import
versionModal
from
'./versionModal.vue'
;
import
analysisModal
from
'./analysisModal.vue'
;
const
{
createMessage
}
=
useMessage
();
const
page
=
ref
(
'1'
);
...
...
@@ -163,6 +167,7 @@
const
[
registerQuotationModal
,
{
openModal
:
openQuotationModal
}]
=
useModal
();
const
[
registerPhysicsModal
,
{
openModal
:
openPhysicsModal
}]
=
useModal
();
const
[
registerVersionModal
,
{
openModal
:
openVersionModal
}]
=
useModal
();
const
[
registerAnalysisModal
,
{
openModal
:
openAnalysisModal
}]
=
useModal
();
const
[
registerTable
,
{
reload
,
getForm
}]
=
useTable
({
api
:
async
()
=>
{
const
response
=
{
...
...
@@ -263,10 +268,12 @@
tableData
.
value
=
dbData
;
await
reload
();
});
function
handleNew
()
{
createMessage
.
warning
(
'暂未完成,敬请期待'
);
function
refresh
()
{
createMessage
.
success
(
'刷新成功'
);
}
function
handleImport
()
{
createMessage
.
success
(
'导出完成'
);
}
function
recommend
()
{
openRecommendModal
(
true
,
{
title
:
'智能推荐数据标准'
,
...
...
@@ -292,6 +299,11 @@
title
:
'版本管理'
,
});
}
function
handleAnalysis
()
{
openAnalysisModal
(
true
,
{
title
:
'血缘分析'
,
});
}
function
handleEdit
()
{
createMessage
.
success
(
'解绑成功'
);
}
...
...
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