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
76e81ae3
Commit
76e81ae3
authored
Dec 02, 2024
by
曹泽华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数仓开发 任务流按钮显隐
parent
9f20bdc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
14 deletions
+35
-14
index.vue
src/views/dataWarehousePlanning/physicalModel/index.vue
+13
-8
index.vue
src/views/taskScheduling/taskFlowDesign/index.vue
+22
-6
No files found.
src/views/dataWarehousePlanning/physicalModel/index.vue
View file @
76e81ae3
...
@@ -53,15 +53,20 @@
...
@@ -53,15 +53,20 @@
icon: 'clarity:note-edit-line',
icon: 'clarity:note-edit-line',
onClick: handleEdit.bind(null, record),
onClick: handleEdit.bind(null, record),
},
},
]"
:dropDownActions="[
{
{
icon: 'ion:ellipsis-horizontal-outline
',
label: '上移
',
popConfirm: {
popConfirm: {
title: '请选择',
title: '是否上移?',
okText: '下移',
cancelText: '上移',
placement: 'bottom',
confirm: handleUp.bind(null, record),
confirm: handleUp.bind(null, record),
cancel: handleDown.bind(null, record),
},
},
{
label: '下移',
popConfirm: {
title: '是否下移?',
confirm: handleDown.bind(null, record),
},
},
},
},
]"
]"
...
@@ -264,10 +269,10 @@
...
@@ -264,10 +269,10 @@
createMessage
.
success
(
'删除成功!'
);
createMessage
.
success
(
'删除成功!'
);
}
}
function
handleUp
()
{
function
handleUp
()
{
createMessage
.
success
(
'
下
移成功!'
);
createMessage
.
success
(
'
上
移成功!'
);
}
}
function
handleDown
()
{
function
handleDown
()
{
createMessage
.
success
(
'
上
移成功!'
);
createMessage
.
success
(
'
下
移成功!'
);
}
}
/** 编辑按钮*/
/** 编辑按钮*/
function
handleEdit
(
record
:
Recordable
)
{
function
handleEdit
(
record
:
Recordable
)
{
...
...
src/views/taskScheduling/taskFlowDesign/index.vue
View file @
76e81ae3
...
@@ -14,11 +14,19 @@
...
@@ -14,11 +14,19 @@
><CloseOutlined
/>
退出
</a-button
><CloseOutlined
/>
退出
</a-button
>
>
<a-button
v-if=
"!versionFlag"
type=
"primary"
>
跳转运维
</a-button>
<a-button
v-if=
"!versionFlag"
type=
"primary"
>
跳转运维
</a-button>
<a-button
v-if=
"!versionFlag"
type=
"primary"
>
运行
</a-button>
<a-button
v-if=
"!versionFlag"
:disabled=
"debugFlag"
type=
"primary"
>
运行
</a-button>
<a-button
v-if=
"!versionFlag"
type=
"primary"
>
运行当前及下游
</a-button>
<a-button
v-if=
"!versionFlag"
:disabled=
"debugFlag"
type=
"primary"
>
运行当前及下游
</a-button>
<a-button
v-if=
"!versionFlag"
type=
"primary"
>
调试
</a-button>
<a-button
v-if=
"!versionFlag && !debugFlag"
type=
"primary"
@
click=
"handleDebug"
>
调试
</a-button>
<a-button
v-if=
"!versionFlag"
type=
"primary"
@
click=
"handleSave"
>
保存
</a-button>
<a-button
v-if=
"!versionFlag && debugFlag"
type=
"primary"
>
调试全部任务
</a-button>
<a-button
v-if=
"!versionFlag && !uploadFlag"
type=
"primary"
@
click=
"handleUpload"
<a-button
v-if=
"!versionFlag && debugFlag"
type=
"primary"
@
click=
"handelOutDebug"
>
退出调试
</a-button>
<a-button
v-if=
"!versionFlag"
:disabled=
"debugFlag"
type=
"primary"
@
click=
"handleSave"
>
保存
</a-button
>
<a-button
v-if=
"!versionFlag && !uploadFlag"
:disabled=
"debugFlag"
type=
"primary"
@
click=
"handleUpload"
>
发布
</a-button
>
发布
</a-button
>
>
<a-button
v-if=
"!versionFlag && uploadFlag"
type=
"primary"
@
click=
"handleOffline"
<a-button
v-if=
"!versionFlag && uploadFlag"
type=
"primary"
@
click=
"handleOffline"
...
@@ -216,6 +224,7 @@
...
@@ -216,6 +224,7 @@
const
searchInfo
=
reactive
<
Recordable
>
({});
const
searchInfo
=
reactive
<
Recordable
>
({});
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
versionFlag
=
ref
(
false
);
const
versionFlag
=
ref
(
false
);
const
debugFlag
=
ref
(
false
);
const
version
=
ref
();
const
version
=
ref
();
const
versionOptions
=
[
const
versionOptions
=
[
{
{
...
@@ -344,7 +353,7 @@
...
@@ -344,7 +353,7 @@
/** 部门树的select*/
/** 部门树的select*/
function
handleSelect
(
key
)
{
function
handleSelect
(
key
)
{
console
.
log
(
"asd"
,)
console
.
log
(
'asd'
);
if
(
key
!==
null
&&
key
!==
undefined
)
{
if
(
key
!==
null
&&
key
!==
undefined
)
{
modelLevel
.
value
=
key
.
split
(
'-'
).
length
-
1
;
modelLevel
.
value
=
key
.
split
(
'-'
).
length
-
1
;
}
else
{
}
else
{
...
@@ -368,6 +377,13 @@
...
@@ -368,6 +377,13 @@
versionFlag
.
value
=
false
;
versionFlag
.
value
=
false
;
}
}
function
handleDebug
()
{
debugFlag
.
value
=
true
;
}
function
handelOutDebug
()
{
debugFlag
.
value
=
false
;
}
let
modelLevel
=
ref
(
1
);
let
modelLevel
=
ref
(
1
);
const
tableData
=
ref
([]);
const
tableData
=
ref
([]);
const
[
registerTable
,
{
getRowSelection
,
setTableData
}]
=
useTable
({
const
[
registerTable
,
{
getRowSelection
,
setTableData
}]
=
useTable
({
...
...
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