mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-18 19:20:05 +08:00
仿钉钉流程设计- 抄送节点结构调整
This commit is contained in:
parent
9e41576dc4
commit
234df7bda1
@ -389,16 +389,11 @@ public class SimpleModelUtils {
|
||||
serviceTask.setImplementation("${bpmCopyTaskDelegate}");
|
||||
|
||||
// 添加抄送候选人元素
|
||||
addCandidateElements(MapUtil.getInt(node.getAttributes(), BpmnModelConstants.USER_TASK_CANDIDATE_STRATEGY),
|
||||
MapUtil.getStr(node.getAttributes(), BpmnModelConstants.USER_TASK_CANDIDATE_PARAM),
|
||||
serviceTask);
|
||||
addCandidateElements(node.getCandidateStrategy(), node.getCandidateParam(), serviceTask);
|
||||
|
||||
// 添加表单字段权限属性元素
|
||||
// TODO @芋艿:这块关注下哈;
|
||||
List<Map<String, String>> fieldsPermissions = MapUtil.get(node.getAttributes(),
|
||||
FORM_FIELD_PERMISSION_ELEMENT, new TypeReference<>() {
|
||||
});
|
||||
addFormFieldsPermission(fieldsPermissions, serviceTask);
|
||||
addFormFieldsPermission(node.getFieldsPermission(), serviceTask);
|
||||
return serviceTask;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user