|
|
@ -52,7 +52,10 @@ const handleTask = async (item: any) => { |
|
|
|
//重新加载组件 |
|
|
|
nextTick(() => { |
|
|
|
const component = defineAsyncComponent(ComponentManager.getRemoteComponent(item.taskHandFrontendModelName, item.taskHandFrontendComponentName)); |
|
|
|
const properties = Tools.mergeObject({ taskId: item.id }, Tools.json2Object(item.taskHandFrontendComponentProperties)); |
|
|
|
const properties = Tools.mergeObject( |
|
|
|
{ taskId: item.id, businessKey: item.businessKey, action: 'process' }, |
|
|
|
Tools.json2Object(item.taskHandFrontendComponentProperties), |
|
|
|
); |
|
|
|
componentRef.value = h(component, properties); |
|
|
|
}); |
|
|
|
}; |
|
|
|