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
a9abf073
Commit
a9abf073
authored
Dec 09, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改血缘
parent
7131a74a
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
112 additions
and
15 deletions
+112
-15
kinshipAnalysisDetail.png
src/assets/images/kinshipAnalysisDetail.png
+0
-0
index.ts
src/router/routes/index.ts
+24
-0
data.ts
src/views/kinship/kinshipAnalysis/data.ts
+1
-0
index.vue
src/views/kinship/kinshipAnalysis/index.vue
+10
-0
kinshipAnalysisDetail.vue
src/views/kinship/kinshipAnalysis/kinshipAnalysisDetail.vue
+55
-0
data.ts
src/views/kinship/kinshipEdit/data.ts
+1
-2
index.vue
src/views/kinship/kinshipEdit/index.vue
+10
-1
Step1.vue
src/views/kinship/kinshipParse/Step1.vue
+4
-2
Step2.vue
src/views/kinship/kinshipParse/Step2.vue
+4
-7
detailModal.vue
src/views/kinship/kinshipParse/detailModal.vue
+2
-2
parse.vue
src/views/kinship/kinshipParse/parse.vue
+1
-1
No files found.
src/assets/images/kinshipAnalysisDetail.png
0 → 100644
View file @
a9abf073
134 KB
src/router/routes/index.ts
View file @
a9abf073
...
@@ -835,6 +835,29 @@ export const kinshipParseRoute: AppRouteRecordRaw = {
...
@@ -835,6 +835,29 @@ export const kinshipParseRoute: AppRouteRecordRaw = {
},
},
],
],
};
};
/**血缘分析*/
export
const
kinshipAnalysisRoute
:
AppRouteRecordRaw
=
{
path
:
'/kinship/kinshipAnalysis'
,
name
:
'kinshipAnalysis'
,
component
:
LAYOUT
,
meta
:
{
title
:
'血缘分析'
,
icon
:
''
,
hidden
:
true
,
currentActiveMenu
:
'/kinship/kinshipAnalysis'
,
},
children
:
[
{
path
:
'kinshipAnalysisDetail'
,
name
:
'KinshipAnalysisDetail'
,
component
:
()
=>
import
(
'@/views/kinship/kinshipAnalysis/kinshipAnalysisDetail.vue'
),
meta
:
{
title
:
'血缘分析详情'
,
icon
:
''
,
},
},
],
};
/**Sql开发*/
/**Sql开发*/
export
const
sqlExecuteRoute
:
AppRouteRecordRaw
=
{
export
const
sqlExecuteRoute
:
AppRouteRecordRaw
=
{
...
@@ -1164,6 +1187,7 @@ export const basicRoutes = [
...
@@ -1164,6 +1187,7 @@ export const basicRoutes = [
DataSourceRoute
,
DataSourceRoute
,
DataStandardRoute
,
DataStandardRoute
,
kinshipParseRoute
,
kinshipParseRoute
,
kinshipAnalysisRoute
,
serviceDevelopmentRoute
,
serviceDevelopmentRoute
,
dataBaseToDataBaseRoute
,
dataBaseToDataBaseRoute
,
RootRoute
,
RootRoute
,
...
...
src/views/kinship/kinshipAnalysis/data.ts
View file @
a9abf073
...
@@ -4,6 +4,7 @@ export const columns: BasicColumn[] = [
...
@@ -4,6 +4,7 @@ export const columns: BasicColumn[] = [
{
{
title
:
'名称'
,
title
:
'名称'
,
dataIndex
:
'name'
,
dataIndex
:
'name'
,
slots
:
{
customRender
:
'name'
},
width
:
120
,
width
:
120
,
},
},
{
{
...
...
src/views/kinship/kinshipAnalysis/index.vue
View file @
a9abf073
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
<template
#
toolbar
>
<template
#
toolbar
>
<a-button
type=
"primary"
@
click=
"handleManage"
>
存储管理
</a-button>
<a-button
type=
"primary"
@
click=
"handleManage"
>
存储管理
</a-button>
</
template
>
</
template
>
<
template
#
name=
"{ text }"
>
<a
@
click=
"handleDetail"
>
{{
text
}}
</a>
</
template
>
</BasicTable>
</BasicTable>
</div>
</div>
<storageManagementModal
@
register=
"registerStorageManagementModal"
/>
<storageManagementModal
@
register=
"registerStorageManagementModal"
/>
...
@@ -21,6 +24,7 @@
...
@@ -21,6 +24,7 @@
import
GroupTree
from
'./GroupTree.vue'
;
import
GroupTree
from
'./GroupTree.vue'
;
import
{
metadataData
}
from
'@/views/metadata/metadataData'
;
import
{
metadataData
}
from
'@/views/metadata/metadataData'
;
import
storageManagementModal
from
'./storageManagementModal.vue'
;
import
storageManagementModal
from
'./storageManagementModal.vue'
;
import
{
router
}
from
'@/router'
;
defineOptions
({
name
:
'Metadata'
});
defineOptions
({
name
:
'Metadata'
});
...
@@ -97,6 +101,12 @@
...
@@ -97,6 +101,12 @@
});
});
}
}
function
handleDetail
()
{
router
.
push
({
path
:
'/kinship/kinshipAnalysis/kinshipAnalysisDetail'
,
});
}
// 设置图表选项
// 设置图表选项
onMounted
(()
=>
{
onMounted
(()
=>
{
tableData
.
value
=
metadataData
;
tableData
.
value
=
metadataData
;
...
...
src/views/kinship/kinshipAnalysis/kinshipAnalysisDetail.vue
0 → 100644
View file @
a9abf073
<
template
>
<PageWrapper
class=
"content-padding"
contentBackground
>
<div
class=
"container"
>
<div
style=
"margin-top: 20px"
>
<span
style=
"font-size: 20px; font-weight: bold; margin-left: 20px"
>
血缘影响分析
</span>
<span
style=
"margin-left: 1000px; font-size: 20px"
>
深度
</span>
<Input
style=
"width: 100px;height: 40px; margin-left: 10px"
v-model:value=
"key"
/>
<icon
style=
"font-size: 30px; margin-left: 10px"
icon=
"heroicons:magnifying-glass-plus-solid"
/>
<icon
style=
"font-size: 30px; margin-left: 10px"
icon=
"ph:magnifying-glass-minus"
/>
<icon
style=
"font-size: 30px; margin-left: 10px"
icon=
"hugeicons:reload"
/>
<icon
style=
"font-size: 30px; margin-left: 10px"
icon=
"lets-icons:full-alt-light"
/>
<a-button
style=
"margin-left: 20px"
type=
"primary"
@
click=
"back"
>
退出
</a-button>
</div>
<div
class=
"image-container"
>
<img
src=
"../../../assets/images/kinshipAnalysisDetail.png"
alt=
"Logo"
class=
"image"
/>
</div>
</div>
</PageWrapper>
</
template
>
<
script
lang=
"ts"
setup
>
import
{
PageWrapper
}
from
'@/components/Page'
;
import
Icon
from
'@/components/Icon/Icon.vue'
;
import
{
router
}
from
'@/router'
;
import
{
Input
}
from
'ant-design-vue'
;
import
{
ref
}
from
'vue'
;
const
key
=
ref
(
'5'
);
function
back
()
{
router
.
back
();
}
</
script
>
<
style
scoped
>
.container
{
display
:
flex
;
background-color
:
white
;
width
:
3000px
;
flex-direction
:
column
;
/* 确保子元素垂直排列 */
gap
:
16px
;
/* 子元素之间的间距 */
}
.image-container
{
background-color
:
white
;
width
:
100%
;
/* 图片容器宽度为100% */
text-align
:
center
;
/* 居中对齐图片 */
}
.image
{
width
:
1650px
;
height
:
1000px
;
/* 保持图片的原始比例 */
}
</
style
>
src/views/kinship/kinshipEdit/data.ts
View file @
a9abf073
...
@@ -4,10 +4,9 @@ import { BasicColumn } from '@/components/Table';
...
@@ -4,10 +4,9 @@ import { BasicColumn } from '@/components/Table';
export
const
formSchema
:
FormSchema
[]
=
[
export
const
formSchema
:
FormSchema
[]
=
[
{
{
field
:
'file'
,
field
:
'file'
,
component
:
'Upload'
,
label
:
'血缘编辑文件'
,
label
:
'血缘编辑文件'
,
slot
:
'file'
,
colProps
:
{
lg
:
24
,
md
:
24
},
colProps
:
{
lg
:
24
,
md
:
24
},
rules
:
[{
required
:
true
,
message
:
'请选择上传文件'
}],
},
},
];
];
export
const
columns
:
BasicColumn
[]
=
[
export
const
columns
:
BasicColumn
[]
=
[
...
...
src/views/kinship/kinshipEdit/index.vue
View file @
a9abf073
...
@@ -8,7 +8,16 @@
...
@@ -8,7 +8,16 @@
</
template
>
</
template
>
<div
class=
"pt-4 m-4 desc-wrap"
>
<div
class=
"pt-4 m-4 desc-wrap"
>
<
template
v-if=
"currentKey == '1'"
>
<
template
v-if=
"currentKey == '1'"
>
<BasicForm
@
register=
"registerForm"
/>
<BasicForm
@
register=
"registerForm"
>
<template
#
file
>
<div
style=
"display: flex"
>
<div>
<a-button>
下载文件模板
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 5px"
>
选择文件
</a-button>
</div>
</div>
</
template
>
</BasicForm>
<div
style=
"padding-left: 100px"
>
<div
style=
"padding-left: 100px"
>
<a-button
type=
"primary"
@
click=
"handleSubmit"
>
提交
</a-button>
<a-button
type=
"primary"
@
click=
"handleSubmit"
>
提交
</a-button>
</div>
</div>
...
...
src/views/kinship/kinshipParse/Step1.vue
View file @
a9abf073
<
template
>
<
template
>
<div
class=
"step1"
>
<div
class=
"step1"
>
<div
>
<div>
<Description
size=
"middle"
title=
"SQL脚本解析器"
:bordered=
"false"
/>
<Description
size=
"middle"
title=
"SQL脚本解析器"
:bordered=
"false"
/>
<BasicForm
@
register=
"registerForm"
/>
<BasicForm
@
register=
"registerForm"
/>
<div
style=
"padding-left: 100px"
>
<div
style=
"padding-left: 100px"
>
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
<Description
size=
"middle"
title=
"日志"
:bordered=
"false"
/>
<Description
size=
"middle"
title=
"日志"
:bordered=
"false"
/>
<img
src=
"../../../assets/images/config.png"
style=
"width: 100%"
alt=
"Logo"
/>
<img
src=
"../../../assets/images/config.png"
style=
"width: 100%"
alt=
"Logo"
/>
<div
style=
"display: flex; justify-content: flex-end; margin-top: 20px"
>
<div
style=
"display: flex; justify-content: flex-end; margin-top: 20px"
>
<a-button
style=
"margin-right: 50px"
type=
"primary"
@
click=
"customSubmitFunc"
>
下一步
</a-button>
<a-button
style=
"margin-right: 50px"
type=
"primary"
@
click=
"customSubmitFunc"
>
下一步
</a-button
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/views/kinship/kinshipParse/Step2.vue
View file @
a9abf073
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
//详情
//详情
icon: 'clarity:note-edit-line',
icon: 'clarity:note-edit-line',
label: '',
label: '',
onClick: handleEdit.bind(null),
},
},
{
{
icon: 'ant-design:delete-outlined',
icon: 'ant-design:delete-outlined',
...
@@ -42,7 +41,7 @@
...
@@ -42,7 +41,7 @@
>
>
</div>
</div>
</div>
</div>
<detailModal
@
register=
"registerModal"
/>
<detailModal
@
register=
"registerModal"
/>
</div>
</div>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
...
@@ -88,6 +87,9 @@
...
@@ -88,6 +87,9 @@
}
}
async
function
customSubmitFunc
()
{
async
function
customSubmitFunc
()
{
openModal
(
true
,
{
title
:
'血缘导入结果'
,
});
createMessage
.
success
(
'提交成功'
);
createMessage
.
success
(
'提交成功'
);
}
}
function
handleSubmit
()
{
function
handleSubmit
()
{
...
@@ -96,11 +98,6 @@
...
@@ -96,11 +98,6 @@
function
handleDelete
()
{
function
handleDelete
()
{
createMessage
.
success
(
'删除成功'
);
createMessage
.
success
(
'删除成功'
);
}
}
function
handleEdit
()
{
openModal
(
true
,
{
title
:
'血缘导入结果'
});
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.step1 {
.step1 {
...
...
src/views/kinship/kinshipParse/detailModal.vue
View file @
a9abf073
<
template
>
<
template
>
<BasicModal
width=
"
55
%"
v-bind=
"$attrs"
@
register=
"registerModal"
:title=
"title"
>
<BasicModal
width=
"
40
%"
v-bind=
"$attrs"
@
register=
"registerModal"
:title=
"title"
>
<template
#
footer
>
<template
#
footer
>
<a-button
type=
"primary"
@
click=
"handleDownload"
>
下载导入结果
</a-button>
<a-button
type=
"primary"
@
click=
"handleDownload"
>
下载导入结果
</a-button>
<a-button
type=
"primary"
@
click=
"handleSubmit"
>
完成
</a-button>
<a-button
type=
"primary"
@
click=
"handleSubmit"
>
完成
</a-button>
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
showTableSetting
:
false
,
showTableSetting
:
false
,
bordered
:
true
,
bordered
:
true
,
showIndexColumn
:
false
,
showIndexColumn
:
false
,
scroll
:
{
y
:
500
},
});
});
//初始化弹框
//初始化弹框
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
...
@@ -48,7 +49,6 @@
...
@@ -48,7 +49,6 @@
async
function
handleSubmit
()
{
async
function
handleSubmit
()
{
closeModal
();
closeModal
();
createMessage
.
success
(
'提交成功'
);
}
}
function
handleDownload
()
{
function
handleDownload
()
{
createMessage
.
success
(
'下载成功'
);
createMessage
.
success
(
'下载成功'
);
...
...
src/views/kinship/kinshipParse/parse.vue
View file @
a9abf073
...
@@ -50,6 +50,6 @@
...
@@ -50,6 +50,6 @@
.step-form-form {
.step-form-form {
width: 750px;
width: 750px;
margin:
0
auto;
margin:
20px
auto;
}
}
</
style
>
</
style
>
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