Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
deeplearning
DolphinScheduler
提交
a12283aa
DolphinScheduler
项目概览
deeplearning
/
DolphinScheduler
与 Fork 源项目一致
Fork自
apache / DolphinScheduler
通知
24
Star
1
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,发现更多精彩内容 >>
提交
a12283aa
编写于
8月 18, 2020
作者:
B
break60
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ui]Resource delete OK button to increase loading, change the number of homepage display cursor
上级
a3f61238
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
52 addition
and
21 deletion
+52
-21
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue
...r-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue
+1
-0
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue
.../pages/projects/pages/index/_source/processStateCount.vue
+7
-2
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue
...me/pages/projects/pages/index/_source/taskCtatusCount.vue
+9
-4
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue
...ome/pages/resource/pages/file/pages/list/_source/list.vue
+7
-3
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/list.vue
...s/resource/pages/file/pages/subdirectory/_source/list.vue
+7
-3
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
.../pages/resource/pages/udf/pages/function/_source/list.vue
+7
-3
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
.../pages/resource/pages/udf/pages/resource/_source/list.vue
+7
-3
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue
...resource/pages/udf/pages/subUdfDirectory/_source/list.vue
+7
-3
未找到文件。
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue
浏览文件 @
a12283aa
...
...
@@ -304,6 +304,7 @@
font-size
:
12px
;
margin-left
:
10px
;
em
{
text-decoration
:
none
!
important
;
vertical-align
:
middle
;
}
}
...
...
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue
浏览文件 @
a12283aa
...
...
@@ -31,7 +31,10 @@
</tr>
<tr
v-for=
"(item,$index) in processStateList"
:key=
"$index"
>
<td><span>
{{
$index
+
1
}}
</span></td>
<td><span><a
href=
"javascript:"
@
click=
"searchParams.projectId && _goProcess(item.key)"
:class=
"searchParams.projectId ?'links':''"
>
{{
item
.
value
}}
</a></span></td>
<td>
<a
v-if=
"currentName === 'home'"
style=
"cursor: default"
>
{{
item
.
value
}}
</a>
<span
v-else
><a
href=
"javascript:"
@
click=
"searchParams.projectId && _goProcess(item.key)"
>
{{
item
.
value
}}
</a></span>
</td>
<td><span
class=
"ellipsis"
style=
"width: 98%;"
:title=
"item.key"
>
{{
item
.
key
}}
</span></td>
</tr>
</table>
...
...
@@ -57,7 +60,8 @@
return
{
isSpin
:
true
,
msg
:
''
,
processStateList
:
[]
processStateList
:
[],
currentName
:
''
}
},
props
:
{
...
...
@@ -113,6 +117,7 @@
beforeCreate
()
{
},
created
()
{
this
.
currentName
=
this
.
$router
.
currentRoute
.
name
},
beforeMount
()
{
},
...
...
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue
浏览文件 @
a12283aa
...
...
@@ -32,8 +32,9 @@
<tr
v-for=
"(item,$index) in taskCtatusList"
:key=
"$index"
>
<td><span>
{{
$index
+
1
}}
</span></td>
<td>
<span>
<a
href=
"javascript:"
@
click=
"searchParams.projectId && _goTask(item.key)"
:class=
"searchParams.projectId ?'links':''"
>
{{
item
.
value
}}
</a>
<a
v-if=
"currentName === 'home'"
style=
"cursor: default"
>
{{
item
.
value
}}
</a>
<span
v-else
>
<a
href=
"javascript:"
@
click=
"searchParams.projectId && _goTask(item.key)"
>
{{
item
.
value
}}
</a>
</span>
</td>
<td><span
class=
"ellipsis"
style=
"width: 98%;"
:title=
"item.key"
>
{{
item
.
key
}}
</span></td>
...
...
@@ -62,7 +63,8 @@
return
{
isSpin
:
true
,
msg
:
''
,
taskCtatusList
:
[]
taskCtatusList
:
[],
currentName
:
''
}
},
props
:
{
...
...
@@ -120,6 +122,7 @@
beforeCreate
()
{
},
created
()
{
this
.
currentName
=
this
.
$router
.
currentRoute
.
name
},
beforeMount
()
{
},
...
...
@@ -140,6 +143,8 @@
<
style
lang=
"scss"
rel=
"stylesheet/scss"
>
.task-ctatus-count-model
{
.links
{
cursor
:
Default
;
}
}
</
style
>
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue
浏览文件 @
a12283aa
...
...
@@ -115,11 +115,11 @@
<x-poptip
:ref=
"'poptip-' + $index"
placement=
"bottom-end"
width=
"90"
>
width=
"
1
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>
<x-button
type=
"primary"
size=
"xsmall"
shape=
"circle"
:loading=
"spinnerLoading"
@
click=
"_delete(item,$index)"
>
{{
spinnerLoading
?
'
Loading
'
:
$t
(
'
Confirm
'
)
}}
</x-button>
</div>
<template
slot=
"reference"
>
<x-button
...
...
@@ -151,7 +151,8 @@
name
:
'
file-manage-list
'
,
data
()
{
return
{
list
:
[]
list
:
[],
spinnerLoading
:
false
}
},
props
:
{
...
...
@@ -189,15 +190,18 @@
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
},
_delete
(
item
,
i
)
{
this
.
spinnerLoading
=
true
this
.
deleteResource
({
id
:
item
.
id
}).
then
(
res
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$emit
(
'
on-update
'
)
this
.
$message
.
success
(
res
.
msg
)
this
.
spinnerLoading
=
false
}).
catch
(
e
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$message
.
error
(
e
.
msg
||
''
)
this
.
spinnerLoading
=
false
})
},
_rename
(
item
,
i
)
{
...
...
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/list.vue
浏览文件 @
a12283aa
...
...
@@ -115,11 +115,11 @@
<x-poptip
:ref=
"'poptip-' + $index"
placement=
"bottom-end"
width=
"90"
>
width=
"
1
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>
<x-button
type=
"primary"
size=
"xsmall"
shape=
"circle"
:loading=
"spinnerLoading"
@
click=
"_delete(item,$index)"
>
{{
spinnerLoading
?
'
Loading
'
:
$t
(
'
Confirm
'
)
}}
</x-button>
</div>
<template
slot=
"reference"
>
<x-button
...
...
@@ -152,7 +152,8 @@
name
:
'
file-manage-list
'
,
data
()
{
return
{
list
:
[]
list
:
[],
spinnerLoading
:
false
}
},
props
:
{
...
...
@@ -190,15 +191,18 @@
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
},
_delete
(
item
,
i
)
{
this
.
spinnerLoading
=
true
this
.
deleteResource
({
id
:
item
.
id
}).
then
(
res
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$emit
(
'
on-update
'
)
this
.
$message
.
success
(
res
.
msg
)
this
.
spinnerLoading
=
false
}).
catch
(
e
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$message
.
error
(
e
.
msg
||
''
)
this
.
spinnerLoading
=
false
})
},
_rename
(
item
,
i
)
{
...
...
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
浏览文件 @
a12283aa
...
...
@@ -94,11 +94,11 @@ v-ps<template>
<x-poptip
:ref=
"'poptip-' + $index"
placement=
"bottom-end"
width=
"90"
>
width=
"
1
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>
<x-button
type=
"primary"
size=
"xsmall"
shape=
"circle"
:loading=
"spinnerLoading"
@
click=
"_delete(item,$index)"
>
{{
spinnerLoading
?
'
Loading
'
:
$t
(
'
Confirm
'
)
}}
</x-button>
</div>
<template
slot=
"reference"
>
<x-button
...
...
@@ -125,7 +125,8 @@ v-ps<template>
name
:
'
udf-manage-list
'
,
data
()
{
return
{
list
:
[]
list
:
[],
spinnerLoading
:
false
}
},
props
:
{
...
...
@@ -139,15 +140,18 @@ v-ps<template>
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
},
_delete
(
item
,
i
)
{
this
.
spinnerLoading
=
true
this
.
deleteUdf
({
id
:
item
.
id
}).
then
(
res
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$emit
(
'
on-update
'
)
this
.
$message
.
success
(
res
.
msg
)
this
.
spinnerLoading
=
false
}).
catch
(
e
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$message
.
error
(
e
.
msg
||
''
)
this
.
spinnerLoading
=
false
})
},
_edit
(
item
)
{
...
...
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
浏览文件 @
a12283aa
...
...
@@ -108,11 +108,11 @@
<x-poptip
:ref=
"'poptip-' + $index"
placement=
"bottom-end"
width=
"90"
>
width=
"
1
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>
<x-button
type=
"primary"
size=
"xsmall"
shape=
"circle"
:loading=
"spinnerLoading"
@
click=
"_delete(item,$index)"
>
{{
spinnerLoading
?
'
Loading
'
:
$t
(
'
Confirm
'
)
}}
</x-button>
</div>
<template
slot=
"reference"
>
<x-button
...
...
@@ -143,7 +143,8 @@
name
:
'
udf-manage-list
'
,
data
()
{
return
{
list
:
[]
list
:
[],
spinnerLoading
:
false
}
},
props
:
{
...
...
@@ -178,15 +179,18 @@
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
},
_delete
(
item
,
i
)
{
this
.
spinnerLoading
=
true
this
.
deleteResource
({
id
:
item
.
id
}).
then
(
res
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$emit
(
'
on-update
'
)
this
.
$message
.
success
(
res
.
msg
)
this
.
spinnerLoading
=
false
}).
catch
(
e
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$message
.
error
(
e
.
msg
||
''
)
this
.
spinnerLoading
=
false
})
},
_rename
(
item
,
i
)
{
...
...
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue
浏览文件 @
a12283aa
...
...
@@ -108,11 +108,11 @@
<x-poptip
:ref=
"'poptip-' + $index"
placement=
"bottom-end"
width=
"90"
>
width=
"
1
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>
<x-button
type=
"primary"
size=
"xsmall"
shape=
"circle"
:loading=
"spinnerLoading"
@
click=
"_delete(item,$index)"
>
{{
spinnerLoading
?
'
Loading
'
:
$t
(
'
Confirm
'
)
}}
</x-button>
</div>
<template
slot=
"reference"
>
<x-button
...
...
@@ -144,7 +144,8 @@
name
:
'
udf-manage-list
'
,
data
()
{
return
{
list
:
[]
list
:
[],
spinnerLoading
:
false
}
},
props
:
{
...
...
@@ -179,15 +180,18 @@
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
},
_delete
(
item
,
i
)
{
this
.
spinnerLoading
=
true
this
.
deleteResource
({
id
:
item
.
id
}).
then
(
res
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$emit
(
'
on-update
'
)
this
.
$message
.
success
(
res
.
msg
)
this
.
spinnerLoading
=
false
}).
catch
(
e
=>
{
this
.
$refs
[
`poptip-
${
i
}
`
][
0
].
doClose
()
this
.
$message
.
error
(
e
.
msg
||
''
)
this
.
spinnerLoading
=
false
})
},
_rename
(
item
,
i
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录