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
b67b9067
Commit
b67b9067
authored
Nov 15, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑模型设计-ER图-修改
parent
2e74697b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
index.vue
...ehousePlanning/logicalModel/modelDetail/ERchart/index.vue
+7
-2
entityTable.vue
...arehousePlanning/logicalModel/modelDetail/entityTable.vue
+12
-2
index.vue
...ning/logicalModel/modelDetail/versionComparison/index.vue
+2
-2
No files found.
src/views/dataWarehousePlanning/logicalModel/modelDetail/ERchart/index.vue
View file @
b67b9067
<
template
>
<PageWrapper
title=
"实体关系图"
contentBackground
headerSticky
>
<template
#
extra
>
<RadioButtonGroup
:options=
"options"
v-model:value=
"selectRadio"
/>
<RadioButtonGroup
v-if=
"!isEdit"
:options=
"options"
v-model:value=
"selectRadio"
/>
<a-button
type=
"primary"
>
刷新
</a-button>
<a-button
type=
"primary"
>
全屏
</a-button>
<a-button
type=
"primary"
v-if=
"isEdit"
>
保存坐标
</a-button>
</
template
>
<
template
#
footer
>
<div
style=
"display: flex"
>
...
...
@@ -22,8 +23,9 @@
import
{
PageWrapper
}
from
'@/components/Page'
;
import
{
RadioButtonGroup
}
from
'@/components/Form'
;
import
{
BasicTree
}
from
'@/components/Tree'
;
import
{
ref
}
from
'vue'
;
import
{
defineProps
,
ref
}
from
'vue'
;
import
{
chartTreeData
}
from
'./chart.data'
;
import
{
useRoute
}
from
"vue-router"
;
// const options = [
// {
...
...
@@ -35,6 +37,9 @@
// value: '当前模型实体',
// },
// ];
const
route
=
useRoute
();
const
isEdit
=
route
.
query
.
isEdit
;
const
selectRadio
=
ref
(
'全部实体'
);
const
options
=
[
'全部实体'
,
'当前模型实体'
];
</
script
>
...
...
src/views/dataWarehousePlanning/logicalModel/modelDetail/entityTable.vue
View file @
b67b9067
...
...
@@ -4,7 +4,13 @@
<BasicTable
@
register=
"registerTable"
:searchInfo=
"searchInfo"
>
<template
#
toolbar
>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleChart"
>
编辑ER图
</a-button>
<a-button
type=
"primary"
:disabled=
"getRowSelection().selectedRowKeys
<
=
0
"
v-if=
"editFlag"
@
click=
"handleDelete"
>
批量删除
</a-button>
<a-button
type=
"primary"
:disabled=
"getRowSelection().selectedRowKeys
<
=
0
"
v-if=
"editFlag"
@
click=
"handleDelete"
>
批量删除
</a-button
>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleEntityModel"
>
新建实体
</a-button>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
...
...
@@ -45,7 +51,7 @@
<
script
lang=
"ts"
setup
>
import
{
reactive
,
onMounted
,
ref
,
defineProps
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
useRoute
,
onBeforeRouteLeave
,
useRouter
}
from
'vue-router'
;
import
{
useRoute
,
onBeforeRouteLeave
,
useRouter
}
from
'vue-router'
;
import
{
entityColumns
,
entityFormSchema
}
from
'./model.data'
;
import
{
useFilterStore
}
from
'@/store/modules/filterData'
;
import
{
TreeData
}
from
'@/views/dataWarehousePlanning/logicalModel/modelData'
;
...
...
@@ -53,6 +59,7 @@
import
EntityModel
from
'./entityModel.vue'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
const
{
push
}
=
useRouter
();
defineOptions
({
name
:
'AccountManagement'
});
...
...
@@ -153,6 +160,9 @@
function
handleChart
()
{
push
({
path
:
'/dataWarehousePlanning/logicalModel/ERchart'
,
query
:
{
isEdit
:
true
,
},
});
}
...
...
src/views/dataWarehousePlanning/logicalModel/modelDetail/versionComparison/index.vue
View file @
b67b9067
...
...
@@ -26,8 +26,8 @@
</template>
<
script
lang=
"ts"
setup
>
import
{
reactive
,
onMounted
,
ref
,
nextTick
}
from
'vue'
;
import
{
Descriptions
,
Tabs
,
Select
}
from
'ant-design-vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
Select
}
from
'ant-design-vue'
;
import
{
PageWrapper
}
from
'@/components/Page'
;
import
Detail
from
'./detail.vue'
;
import
{
useRouter
}
from
'vue-router'
;
...
...
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