You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/02/23 06:13:41 UTC
[dolphinscheduler] branch dev updated: [Fix][UI Next] Fix the corresponding incorrect field.
This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 209aa0a [Fix][UI Next] Fix the corresponding incorrect field.
209aa0a is described below
commit 209aa0a0bfcfde3273574510df168fa924e69159
Author: labbomb <73...@qq.com>
AuthorDate: Wed Feb 23 14:13:33 2022 +0800
[Fix][UI Next] Fix the corresponding incorrect field.
---
.../src/views/projects/task/components/node/fields/use-child-node.ts | 3 ---
.../src/views/projects/task/components/node/tasks/use-pigeon.ts | 3 +--
.../src/views/projects/task/components/node/tasks/use-sub-process.ts | 3 +--
3 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts
index 52ed4a4..5d1d47a 100644
--- a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts
+++ b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-child-node.ts
@@ -28,14 +28,12 @@ import { number } from 'echarts'
export function useChildNode({
model,
projectCode,
- isCreate,
from,
processName,
code
}: {
model: { [field: string]: any }
projectCode: number
- isCreate: boolean
from?: number
processName?: number
code?: number
@@ -134,7 +132,6 @@ export function useChildNode({
name: t('project.node.child_node'),
props: {
loading: loading,
- disabled: !isCreate,
'on-update:value': onChange
},
options: options
diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts b/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts
index 0701bea..a3eb0ac 100644
--- a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts
+++ b/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-pigeon.ts
@@ -35,14 +35,13 @@ export function usePigeon({
flag: 'YES',
description: '',
timeoutFlag: false,
- localParams: [],
environmentCode: null,
failRetryInterval: 1,
failRetryTimes: 0,
workerGroup: 'default',
delayTime: 0,
timeout: 30,
- rawScript: ''
+ targetJobName: ''
} as INodeData)
let extra: IJsonItem[] = []
diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts b/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts
index 4d968d3..f21cbf7 100644
--- a/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts
+++ b/dolphinscheduler-ui-next/src/views/projects/task/components/node/tasks/use-sub-process.ts
@@ -42,7 +42,7 @@ export function useSubProcess({
workerGroup: 'default',
delayTime: 0,
timeout: 30,
- rawScript: ''
+ processDefinitionCode: ''
} as INodeData)
let extra: IJsonItem[] = []
@@ -74,7 +74,6 @@ export function useSubProcess({
Fields.useChildNode({
model,
projectCode,
- isCreate: !data?.id,
from,
processName: data?.processName,
code: data?.code