|
|
@ -28,14 +28,12 @@ import { number } from 'echarts' |
|
|
|
export function useChildNode({ |
|
|
|
export function useChildNode({ |
|
|
|
model, |
|
|
|
model, |
|
|
|
projectCode, |
|
|
|
projectCode, |
|
|
|
isCreate, |
|
|
|
|
|
|
|
from, |
|
|
|
from, |
|
|
|
processName, |
|
|
|
processName, |
|
|
|
code |
|
|
|
code |
|
|
|
}: { |
|
|
|
}: { |
|
|
|
model: { [field: string]: any } |
|
|
|
model: { [field: string]: any } |
|
|
|
projectCode: number |
|
|
|
projectCode: number |
|
|
|
isCreate: boolean |
|
|
|
|
|
|
|
from?: number |
|
|
|
from?: number |
|
|
|
processName?: number |
|
|
|
processName?: number |
|
|
|
code?: number |
|
|
|
code?: number |
|
|
@ -134,7 +132,6 @@ export function useChildNode({ |
|
|
|
name: t('project.node.child_node'), |
|
|
|
name: t('project.node.child_node'), |
|
|
|
props: { |
|
|
|
props: { |
|
|
|
loading: loading, |
|
|
|
loading: loading, |
|
|
|
disabled: !isCreate, |
|
|
|
|
|
|
|
'on-update:value': onChange |
|
|
|
'on-update:value': onChange |
|
|
|
}, |
|
|
|
}, |
|
|
|
options: options |
|
|
|
options: options |
|
|
|