File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/components/bpmn/panel Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 169169 this .updateProperties (properties);
170170 Object .assign (properties, {
171171 userType: Object .keys (properties)[0 ]
172- })
172+ });
173173 this .$emit (' modifyFormData' ,properties);
174174 }
175175 }
Original file line number Diff line number Diff line change 236236 this .modifyConfigTab (0 )
237237 } else {
238238 this .modifyConfigTab (1 )
239+ if (element .type == " bpmn:UserTask" ){
240+ let _businessObject = element .businessObject ;
241+ if (_businessObject .assignee ){
242+ _this .formData .userType = " assignee" ;
243+ _this .formData .assignee = _businessObject .assignee ;
244+ }
245+ }
239246 }
240247 })
241248 },
268275 },
269276 modifyFormData (data ){
270277 this .formData .assignee = data .assignee ;
271- console . log ( data)
278+ this . formData . userType = data . userType ;
272279 }
273280 },
274281 components: {
You can’t perform that action at this time.
0 commit comments