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
1d6165e6
Commit
1d6165e6
authored
Nov 15, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑模型设计-模型发布-修改
parent
07e372ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
+26
-11
modelData.ts
src/views/dataWarehousePlanning/logicalModel/modelData.ts
+8
-0
index.vue
.../dataWarehousePlanning/logicalModel/modelDetail/index.vue
+18
-11
No files found.
src/views/dataWarehousePlanning/logicalModel/modelData.ts
View file @
1d6165e6
...
@@ -46,6 +46,7 @@ export const TreeData = [
...
@@ -46,6 +46,7 @@ export const TreeData = [
export
const
logicalData
:
any
[]
=
[
export
const
logicalData
:
any
[]
=
[
{
{
businessId
:
1
,
modelName
:
'逻辑模型1'
,
modelName
:
'逻辑模型1'
,
EngName
:
'modelOne'
,
EngName
:
'modelOne'
,
describe
:
'逻辑模型1,数据多'
,
describe
:
'逻辑模型1,数据多'
,
...
@@ -57,6 +58,7 @@ export const logicalData: any[] = [
...
@@ -57,6 +58,7 @@ export const logicalData: any[] = [
themeId
:
'1-1-1'
,
themeId
:
'1-1-1'
,
},
},
{
{
businessId
:
2
,
modelName
:
'逻辑模型2'
,
modelName
:
'逻辑模型2'
,
EngName
:
'modelTwo'
,
EngName
:
'modelTwo'
,
describe
:
'逻辑模型2,数据少'
,
describe
:
'逻辑模型2,数据少'
,
...
@@ -68,6 +70,7 @@ export const logicalData: any[] = [
...
@@ -68,6 +70,7 @@ export const logicalData: any[] = [
themeId
:
'1-1-1'
,
themeId
:
'1-1-1'
,
},
},
{
{
businessId
:
3
,
modelName
:
'逻辑模型3'
,
modelName
:
'逻辑模型3'
,
EngName
:
'modelThree'
,
EngName
:
'modelThree'
,
describe
:
'逻辑模型3,数据很多'
,
describe
:
'逻辑模型3,数据很多'
,
...
@@ -79,6 +82,7 @@ export const logicalData: any[] = [
...
@@ -79,6 +82,7 @@ export const logicalData: any[] = [
themeId
:
'1-1-2'
,
themeId
:
'1-1-2'
,
},
},
{
{
businessId
:
4
,
modelName
:
'逻辑模型4'
,
modelName
:
'逻辑模型4'
,
EngName
:
'model4'
,
EngName
:
'model4'
,
describe
:
'逻辑模型4,数据少'
,
describe
:
'逻辑模型4,数据少'
,
...
@@ -90,6 +94,7 @@ export const logicalData: any[] = [
...
@@ -90,6 +94,7 @@ export const logicalData: any[] = [
themeId
:
'1-1-2'
,
themeId
:
'1-1-2'
,
},
},
{
{
businessId
:
5
,
modelName
:
'逻辑模型5'
,
modelName
:
'逻辑模型5'
,
EngName
:
'model5'
,
EngName
:
'model5'
,
describe
:
'逻辑模型5,数据很多'
,
describe
:
'逻辑模型5,数据很多'
,
...
@@ -101,6 +106,7 @@ export const logicalData: any[] = [
...
@@ -101,6 +106,7 @@ export const logicalData: any[] = [
themeId
:
'1-2-1'
,
themeId
:
'1-2-1'
,
},
},
{
{
businessId
:
6
,
modelName
:
'一级主体域1'
,
modelName
:
'一级主体域1'
,
EngName
:
'themeOne'
,
EngName
:
'themeOne'
,
describe
:
'知识库模型3,数据很多'
,
describe
:
'知识库模型3,数据很多'
,
...
@@ -112,6 +118,7 @@ export const logicalData: any[] = [
...
@@ -112,6 +118,7 @@ export const logicalData: any[] = [
themeId
:
'1-1'
,
themeId
:
'1-1'
,
},
},
{
{
businessId
:
7
,
modelName
:
'一级主体域2'
,
modelName
:
'一级主体域2'
,
EngName
:
'themeTwo'
,
EngName
:
'themeTwo'
,
describe
:
'知识库模型3,数据很多'
,
describe
:
'知识库模型3,数据很多'
,
...
@@ -123,6 +130,7 @@ export const logicalData: any[] = [
...
@@ -123,6 +130,7 @@ export const logicalData: any[] = [
themeId
:
'1-2'
,
themeId
:
'1-2'
,
},
},
{
{
businessId
:
8
,
modelName
:
'一级主体域3'
,
modelName
:
'一级主体域3'
,
EngName
:
'themeThree'
,
EngName
:
'themeThree'
,
describe
:
'知识库模型3,数据很多'
,
describe
:
'知识库模型3,数据很多'
,
...
...
src/views/dataWarehousePlanning/logicalModel/modelDetail/index.vue
View file @
1d6165e6
...
@@ -11,8 +11,10 @@
...
@@ -11,8 +11,10 @@
<a-button
type=
"primary"
v-if=
"!editFlag"
@
click=
"handleExport"
>
导出
</a-button>
<a-button
type=
"primary"
v-if=
"!editFlag"
@
click=
"handleExport"
>
导出
</a-button>
<a-button
type=
"primary"
v-if=
"!editFlag"
@
click=
"handleEdit"
>
编辑
</a-button>
<a-button
type=
"primary"
v-if=
"!editFlag"
@
click=
"handleEdit"
>
编辑
</a-button>
<a-button
type=
"primary"
v-if=
"!editFlag"
@
click=
"handleDelete"
>
删除
</a-button>
<a-button
type=
"primary"
v-if=
"!editFlag"
@
click=
"handleDelete"
>
删除
</a-button>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleWaitUpload"
>
设为待发布
</a-button>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleWaitUpload"
>
{{
<a-button
type=
"primary"
v-if=
"editFlag"
>
发布
</a-button>
isUpload
?
'取消待发布'
:
'设为待发布'
}}
</a-button>
<a-button
type=
"primary"
v-if=
"editFlag"
:disabled=
"!isUpload"
@
click=
"handleUpload"
>
发布
</a-button>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleSave"
>
保存
</a-button>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleSave"
>
保存
</a-button>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleCancel"
>
取消
</a-button>
<a-button
type=
"primary"
v-if=
"editFlag"
@
click=
"handleCancel"
>
取消
</a-button>
</
template
>
</
template
>
...
@@ -131,6 +133,7 @@
...
@@ -131,6 +133,7 @@
const
route
=
useRoute
();
const
route
=
useRoute
();
const
searchInfo
=
reactive
<
Recordable
>
({});
const
searchInfo
=
reactive
<
Recordable
>
({});
const
modelName
=
route
.
query
.
modelName
;
const
modelName
=
route
.
query
.
modelName
;
const
isUpload
=
ref
(
false
);
/**
/**
* 属性定义
* 属性定义
*/
*/
...
@@ -267,15 +270,19 @@
...
@@ -267,15 +270,19 @@
* 设为待发布
* 设为待发布
*/
*/
function
handleWaitUpload
()
{
function
handleWaitUpload
()
{
createConfirm
({
isUpload
.
value
=
!
isUpload
.
value
;
iconType
:
'success'
,
// createConfirm({
title
:
'设为待发布成功'
,
// iconType: 'success',
okText
:
'发布'
,
// title: '设为待发布成功',
content
:
'设为待发布成功,是否选择发布?'
,
// okText: '发布',
onOk
()
{
// content: '设为待发布成功,是否选择发布?',
createMessage
.
success
(
'发布成功!'
);
// onOk() {
},
// createMessage.success('发布成功!');
});
// },
// });
}
function
handleUpload
()
{
}
}
/**
/**
* 保存
* 保存
...
...
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