Merge remote-tracking branch 'origin/master'

rf
tony 2024-06-02 21:50:26 +08:00
commit 19e44336f7
2 changed files with 6 additions and 2 deletions

View File

@ -786,7 +786,9 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
SysUser startUser = sysUserService.selectUserById(Long.parseLong(historicProcessInstance.getStartUserId()));
flowTask.setStartUserId(startUser.getNickName());
flowTask.setStartUserName(startUser.getNickName());
flowTask.setStartDeptName(startUser.getDept().getDeptName());
if(Objects.nonNull(startUser.getDept())) {
flowTask.setStartDeptName(startUser.getDept().getDeptName());
}
hisTaskList.add(flowTask);
}
page.setTotal(taskInstanceQuery.count());

View File

@ -122,7 +122,9 @@ export default {
if (element.type === 'bpmn:Process'
|| element.type === 'bpmn:SequenceFlow'
|| element.type === 'bpmn:EndEvent' ) {
this.element = element
this.$nextTick().then(() => {
this.element = element
})
}
})
this.modeler.on('selection.changed', e => {