fix: [BPM 工作流] bug 修复
parent
7fca077296
commit
23a503d84b
|
@ -126,7 +126,8 @@ function updateModel() {
|
||||||
name: '发起人',
|
name: '发起人',
|
||||||
type: BpmNodeTypeEnum.START_USER_NODE,
|
type: BpmNodeTypeEnum.START_USER_NODE,
|
||||||
id: NodeId.START_USER_NODE_ID,
|
id: NodeId.START_USER_NODE_ID,
|
||||||
showText: '默认配置',
|
// 默认为空,需要进行配置
|
||||||
|
showText: '',
|
||||||
childNode: {
|
childNode: {
|
||||||
id: NodeId.END_EVENT_NODE_ID,
|
id: NodeId.END_EVENT_NODE_ID,
|
||||||
name: '结束',
|
name: '结束',
|
||||||
|
|
|
@ -657,8 +657,7 @@ async function validateNormalForm() {
|
||||||
function getUpdatedProcessInstanceVariables() {
|
function getUpdatedProcessInstanceVariables() {
|
||||||
const variables: any = {};
|
const variables: any = {};
|
||||||
props.writableFields.forEach((field: string) => {
|
props.writableFields.forEach((field: string) => {
|
||||||
if (field && variables[field])
|
variables[field] = props.normalFormApi.getValue(field);
|
||||||
variables[field] = props.normalFormApi.getValue(field);
|
|
||||||
});
|
});
|
||||||
return variables;
|
return variables;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue