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
2f4ed1b3
Commit
2f4ed1b3
authored
Nov 11, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
0f7b8b6d
6403f11d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
4 deletions
+26
-4
versionModel.vue
...rehousePlanning/logicalModel/modelDetail/versionModel.vue
+24
-2
model.data.ts
src/views/dataWarehousePlanning/physicalModel/model.data.ts
+1
-1
modelModal.vue
src/views/dataWarehousePlanning/physicalModel/modelModal.vue
+1
-1
No files found.
src/views/dataWarehousePlanning/logicalModel/modelDetail/versionModel.vue
View file @
2f4ed1b3
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
<!--对比-->
<!--对比-->
<VerticalAlignMiddleOutlined
@
click=
"handleComparison"
rotate=
"90"
class=
"my-icon"
/>
<VerticalAlignMiddleOutlined
@
click=
"handleComparison"
rotate=
"90"
class=
"my-icon"
/>
<!--回滚-->
<!--回滚-->
<RollbackOutlined
class=
"my-icon"
/>
<RollbackOutlined
class=
"my-icon"
@
click=
"handleRollBack(item)"
/>
<!--删除-->
<!--删除-->
<DeleteOutlined
class=
"my-icon"
style=
"color: red"
/>
<DeleteOutlined
class=
"my-icon"
@
click=
"handleDelete(item)"
style=
"color: red"
/>
</div>
</div>
</div>
</div>
<div>
<div>
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
ref
,
unref
,
defineEmits
}
from
'vue'
;
import
{
ref
,
unref
,
defineEmits
}
from
'vue'
;
import
{
Tabs
,
Descriptions
,
Alert
,
Modal
,
message
}
from
'ant-design-vue'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicTree
}
from
'@/components/Tree'
;
import
{
BasicTree
}
from
'@/components/Tree'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
...
@@ -50,6 +51,9 @@
...
@@ -50,6 +51,9 @@
DeleteOutlined
,
DeleteOutlined
,
}
from
'@ant-design/icons-vue'
;
}
from
'@ant-design/icons-vue'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
{
push
}
=
useRouter
();
const
{
push
}
=
useRouter
();
...
@@ -95,6 +99,24 @@
...
@@ -95,6 +99,24 @@
path
:
'/dataWarehousePlanning/logicalModel/version-comparison'
,
path
:
'/dataWarehousePlanning/logicalModel/version-comparison'
,
});
});
}
}
function
handleRollBack
(
item
)
{
Modal
.
confirm
({
title
:
'回滚版本'
,
content
:
'确定要滚动至'
+
item
.
version
+
'版本吗?'
,
onOk
:
()
=>
{
createMessage
.
success
(
'回滚成功!'
);
},
});
}
function
handleDelete
(
item
)
{
Modal
.
confirm
({
title
:
'删除版本'
,
content
:
'确定要删除'
+
item
.
version
+
'版本吗?'
,
onOk
:
()
=>
{
createMessage
.
success
(
'删除成功!'
);
},
});
}
// const getTitle = computed(() => (isUpdate.value ? '编辑实体' : '新建实体'));
// const getTitle = computed(() => (isUpdate.value ? '编辑实体' : '新建实体'));
const
getTitle
=
'转物理模型'
;
const
getTitle
=
'转物理模型'
;
...
...
src/views/dataWarehousePlanning/physicalModel/model.data.ts
View file @
2f4ed1b3
...
@@ -169,7 +169,7 @@ export const physicalModelFormSchema: any[] = [
...
@@ -169,7 +169,7 @@ export const physicalModelFormSchema: any[] = [
required
:
true
,
required
:
true
,
},
},
{
{
field
:
'
n
ame'
,
field
:
'
modelN
ame'
,
label
:
'文件名称'
,
label
:
'文件名称'
,
component
:
'Input'
,
component
:
'Input'
,
colProps
:
{
lg
:
24
,
md
:
24
},
colProps
:
{
lg
:
24
,
md
:
24
},
...
...
src/views/dataWarehousePlanning/physicalModel/modelModal.vue
View file @
2f4ed1b3
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
]);
]);
});
});
const
getTitle
=
computed
(()
=>
'新建文件'
);
const
getTitle
=
computed
(()
=>
(
isUpdate
.
value
?
'编辑文件'
:
'新建文件'
)
);
function
handleTree
(
data
,
id
,
parentId
,
children
,
rootId
)
{
function
handleTree
(
data
,
id
,
parentId
,
children
,
rootId
)
{
id
=
id
||
'id'
;
id
=
id
||
'id'
;
...
...
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