@ -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
@ -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[] = []
@ -42,7 +42,7 @@ export function useSubProcess({
processDefinitionCode: ''
@ -74,7 +74,6 @@ export function useSubProcess({
Fields.useChildNode({
isCreate: !data?.id,
processName: data?.processName,
code: data?.code