diff --git a/yanzhu-modules/yanzhu-flowable/src/main/java/com/yanzhu/flowable/controller/FlowBusinessKeyController.java b/yanzhu-modules/yanzhu-flowable/src/main/java/com/yanzhu/flowable/controller/FlowBusinessKeyController.java index c1d76380..72e20ad2 100644 --- a/yanzhu-modules/yanzhu-flowable/src/main/java/com/yanzhu/flowable/controller/FlowBusinessKeyController.java +++ b/yanzhu-modules/yanzhu-flowable/src/main/java/com/yanzhu/flowable/controller/FlowBusinessKeyController.java @@ -179,16 +179,10 @@ public class FlowBusinessKeyController extends BaseController { } }else{ if(SecurityUtils.isAdmin(loginUser.getUserid())){ - // 超管查询所有申请... - if(Objects.nonNull(projectId)){ - flowTaskEntity.setStartComId(Convert.toStr(projectId)); - } if(Objects.nonNull(projectId)){ flowTaskEntity.setStartProId(Convert.toStr(projectId)); } }else if(SecurityUtils.isGSAdmin()){ - // 公司管理员查询公司内的所有申请... - flowTaskEntity.setStartComId(Convert.toStr(loginUser.getProjectDeptId())); if(Objects.nonNull(projectId)){ flowTaskEntity.setStartProId(Convert.toStr(projectId)); } @@ -220,7 +214,7 @@ public class FlowBusinessKeyController extends BaseController { startPage(); flowTaskEntity.setAssigneeId(SecurityUtils.getUserId()); LoginUser loginUser = SecurityUtils.getLoginUser(); - Long projectId=loginUser.getSysUser().getActiveProjectId(); + Long projectId = loginUser.getSysUser().getActiveProjectId(); flowTaskEntity.setStartProId(Convert.toStr(projectId)); return getDataTable(flowBusinessKeyService.selectMyFinishedFlowTask(flowTaskEntity)); } diff --git a/yanzhu-ui-vue3/src/components/flow/User/index.vue b/yanzhu-ui-vue3/src/components/flow/User/index.vue index 176de04d..28c7219b 100644 --- a/yanzhu-ui-vue3/src/components/flow/User/index.vue +++ b/yanzhu-ui-vue3/src/components/flow/User/index.vue @@ -28,7 +28,14 @@ - + - - - - - - - - - + + + + + + + + + 搜索 重置 - - - - - - - + + + + + + + - - + + - - - - - + + + + + @@ -89,11 +178,14 @@ - diff --git a/yanzhu-ui-vue3/src/views/flowable/task/myProcess/detail/indexDrawer.vue b/yanzhu-ui-vue3/src/views/flowable/task/myProcess/detail/indexDrawer.vue index d04f969b..bfed3a69 100644 --- a/yanzhu-ui-vue3/src/views/flowable/task/myProcess/detail/indexDrawer.vue +++ b/yanzhu-ui-vue3/src/views/flowable/task/myProcess/detail/indexDrawer.vue @@ -1,625 +1,827 @@ - - \ No newline at end of file + diff --git a/yanzhu-ui-vue3/src/views/flowable/task/todo/detail/indexDrawer.vue b/yanzhu-ui-vue3/src/views/flowable/task/todo/detail/indexDrawer.vue index 51f390e0..dbb107d4 100644 --- a/yanzhu-ui-vue3/src/views/flowable/task/todo/detail/indexDrawer.vue +++ b/yanzhu-ui-vue3/src/views/flowable/task/todo/detail/indexDrawer.vue @@ -150,6 +150,9 @@ {{ initData.userName }} {{ initData.cardCode }} + + {{ initData.subDeptName }} + {{ initData.userName }} {{ initData.cardCode }}