Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yanghaoyuan.sh
DolphinScheduler
提交
3888e489
DolphinScheduler
项目概览
yanghaoyuan.sh
/
DolphinScheduler
与 Fork 源项目一致
Fork自
apache / DolphinScheduler
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3888e489
编写于
5月 08, 2020
作者:
B
break60
提交者:
gaojun2048
6月 29, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
9f338bf9
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
27 addition
and
52 deletion
+27
-52
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue
...f/home/pages/security/pages/workerGroups/_source/list.vue
+0
-21
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue
.../js/conf/home/pages/security/pages/workerGroups/index.vue
+27
-31
未找到文件。
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue
浏览文件 @
3888e489
...
...
@@ -34,9 +34,6 @@
<th>
<span>
{{
$t
(
'
Update Time
'
)
}}
</span>
</th>
<!--
<th
width=
"70"
>
<span>
{{
$t
(
'
Operation
'
)
}}
</span>
</th>
-->
</tr>
<tr
v-for=
"(item, $index) in list"
:key=
"$index"
>
<td>
...
...
@@ -58,24 +55,6 @@
<span
v-if=
"item.updateTime"
>
{{
item
.
updateTime
|
formatDate
}}
</span>
<span
v-else
>
-
</span>
</td>
<!--
<td>
<x-button
type=
"info"
shape=
"circle"
size=
"xsmall"
data-toggle=
"tooltip"
icon=
"ans-icon-edit"
:title=
"$t('Edit')"
@
click=
"_edit(item)"
>
</x-button>
<x-poptip
:ref=
"'poptip-delete-' + $index"
placement=
"bottom-end"
width=
"90"
>
<p>
{{
$t
(
'
Delete?
'
)
}}
</p>
<div
style=
"text-align: right; margin: 0;padding-top: 4px;"
>
<x-button
type=
"text"
size=
"xsmall"
shape=
"circle"
@
click=
"_closeDelete($index)"
>
{{
$t
(
'
Cancel
'
)
}}
</x-button>
<x-button
type=
"primary"
size=
"xsmall"
shape=
"circle"
@
click=
"_delete(item,$index)"
>
{{
$t
(
'
Confirm
'
)
}}
</x-button>
</div>
<template
slot=
"reference"
>
<x-button
type=
"error"
shape=
"circle"
size=
"xsmall"
data-toggle=
"tooltip"
icon=
"ans-icon-trash"
:title=
"$t('delete')"
>
</x-button>
</
template
>
</x-poptip>
</td>
-->
</tr>
</table>
</div>
...
...
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue
浏览文件 @
3888e489
...
...
@@ -17,11 +17,7 @@
<
template
>
<m-list-construction
:title=
"$t('Worker group manage')"
>
<template
slot=
"conditions"
>
<m-conditions
@
on-conditions=
"_onConditions"
>
<!--
<template
slot=
"button-group"
v-if=
"isADMIN"
>
<x-button
type=
"ghost"
size=
"small"
@
click=
"_create('')"
>
{{
$t
(
'
Create worker group
'
)
}}
</x-button>
</
template
>
-->
</m-conditions>
<m-conditions
@
on-conditions=
"_onConditions"
></m-conditions>
</
template
>
<
template
slot=
"content"
>
<template
v-if=
"workerGroupList.length || total>0"
>
...
...
@@ -92,32 +88,32 @@
_onEdit
(
item
)
{
this
.
_create
(
item
)
},
//
_create (item) {
//
let self = this
//
let modal = this.$modal.dialog({
//
closable: false,
//
showMask: true,
//
escClose: true,
//
className: 'v-modal-custom',
//
transitionName: 'opacityp',
//
render (h) {
//
return h(mCreateWorker, {
//
on: {
//
onUpdate () {
//
self._debounceGET('false')
//
modal.remove()
//
},
//
close () {
//
modal.remove()
//
}
//
},
//
props: {
//
item: item
//
}
//
})
//
}
//
})
//
},
_create
(
item
)
{
let
self
=
this
let
modal
=
this
.
$modal
.
dialog
({
closable
:
false
,
showMask
:
true
,
escClose
:
true
,
className
:
'
v-modal-custom
'
,
transitionName
:
'
opacityp
'
,
render
(
h
)
{
return
h
(
mCreateWorker
,
{
on
:
{
onUpdate
()
{
self
.
_debounceGET
(
'
false
'
)
modal
.
remove
()
},
close
()
{
modal
.
remove
()
}
},
props
:
{
item
:
item
}
})
}
})
},
_getList
(
flag
)
{
this
.
isLoading
=
!
flag
this
.
getWorkerGroups
(
this
.
searchParams
).
then
(
res
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录