Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
DolphinScheduler
提交
83d9ea3c
DolphinScheduler
项目概览
apache
/
DolphinScheduler
上一次同步 1 年多
通知
706
Star
9572
Fork
3514
代码
文件
提交
分支
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,体验更适合开发者的 AI 搜索 >>
未验证
提交
83d9ea3c
编写于
4月 25, 2022
作者:
A
Amy0104
提交者:
GitHub
4月 25, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[Fix][UI Next][V1.0.0-Beta] Remove the default values for node name and child node. (#9760)
上级
4e56a1bf
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
14 addition
and
13 deletion
+14
-13
dolphinscheduler-ui-next/src/locales/modules/en_US.ts
dolphinscheduler-ui-next/src/locales/modules/en_US.ts
+1
-0
dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts
dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts
+1
-0
dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts
...ws/projects/task/components/node/fields/use-child-node.ts
+11
-11
dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts
...ws/projects/task/components/node/tasks/use-sub-process.ts
+1
-2
未找到文件。
dolphinscheduler-ui-next/src/locales/modules/en_US.ts
浏览文件 @
83d9ea3c
...
...
@@ -631,6 +631,7 @@ const project = {
workflow_name
:
'
Workflow Name
'
,
workflow_name_tips
:
'
Please select a workflow (required)
'
,
child_node
:
'
Child Node
'
,
child_node_tips
:
'
Please select a child node (required)
'
,
run_flag
:
'
Run flag
'
,
normal
:
'
Normal
'
,
prohibition_execution
:
'
Prohibition execution
'
,
...
...
dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts
浏览文件 @
83d9ea3c
...
...
@@ -627,6 +627,7 @@ const project = {
workflow_name
:
'
工作流名称
'
,
workflow_name_tips
:
'
请选择工作流(必选)
'
,
child_node
:
'
子节点
'
,
child_node_tips
:
'
请选择子节点(必选)
'
,
run_flag
:
'
运行标志
'
,
normal
:
'
正常
'
,
prohibition_execution
:
'
禁止执行
'
,
...
...
dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts
浏览文件 @
83d9ea3c
...
...
@@ -52,10 +52,6 @@ export function useChildNode({
value
:
option
.
code
}))
loading
.
value
=
false
if
(
!
model
.
processDefinitionCode
)
{
model
.
processDefinitionCode
=
options
.
value
[
0
].
value
if
(
!
model
.
name
)
model
.
name
=
options
.
value
[
0
].
label
}
}
const
getProcessListByCode
=
async
(
processCode
:
number
)
=>
{
if
(
!
processCode
)
return
...
...
@@ -63,10 +59,6 @@ export function useChildNode({
model
.
definition
=
res
}
const
onChange
=
(
code
:
number
,
options
:
{
label
:
string
})
=>
{
if
(
!
model
.
name
)
model
.
name
=
options
.
label
}
onMounted
(()
=>
{
if
(
from
===
1
&&
processName
)
{
getProcessListByCode
(
processName
)
...
...
@@ -80,10 +72,18 @@ export function useChildNode({
span
:
24
,
name
:
t
(
'
project.node.child_node
'
),
props
:
{
loading
:
loading
,
'
on-update:value
'
:
onChange
loading
:
loading
},
options
:
options
,
class
:
'
select-child-node
'
class
:
'
select-child-node
'
,
validate
:
{
trigger
:
[
'
input
'
,
'
blur
'
],
required
:
true
,
validator
(
unuse
:
any
,
value
:
number
)
{
if
(
!
value
)
{
return
Error
(
t
(
'
project.node.child_node_tips
'
))
}
}
}
}
}
dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts
浏览文件 @
83d9ea3c
...
...
@@ -45,8 +45,7 @@ export function useSubProcess({
failRetryTimes
:
0
,
workerGroup
:
'
default
'
,
delayTime
:
0
,
timeout
:
30
,
processDefinitionCode
:
0
timeout
:
30
}
as
INodeData
)
let
extra
:
IJsonItem
[]
=
[]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录