Compare commits

..

No commits in common. "718f345f16225fc85698f4da234a4ab4eb1c8505" and "c02c675a487585ab6b9d09e39af671d1d97b9368" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -60,7 +60,7 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
this.getView().setVisible(true, new String[]{"flexpanelturnover"});
this.getView().setVisible(false, new String[]{"flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelmaterial","flexpanelother"});
}else{
this.getView().setVisible(true, new String[]{"flexpanelturnover","flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelmaterial","flexpanelother"});
this.getView().setVisible(false, new String[]{"flexpanelturnover","flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelmaterial","flexpanelother"});
}
}
}

View File

@ -24,8 +24,7 @@ public class DynamicSetPMApprovalFlowPlugin implements IWorkflowPlugin {
// 获取单据体中的经理字段将用户设置为当前单据的当前节点的审批人
DynamicObject obj = BusinessDataServiceHelper.loadSingle(pkId, entityNumber);
DynamicObject project = obj.getDynamicObject("project");
DynamicObject projectInfo = BusinessDataServiceHelper.loadSingle(project.getLong("id"), "ec_project");
DynamicObject zcgjManger = projectInfo.getDynamicObject("zcgj_pm");
DynamicObject zcgjManger = project.getDynamicObject("zcgj_pm");
long userId = zcgjManger.getLong("id");
ApproversIdList.add(userId);
// 返回审批人的id集合