Compare commits
	
		
			No commits in common. "718f345f16225fc85698f4da234a4ab4eb1c8505" and "c02c675a487585ab6b9d09e39af671d1d97b9368" have entirely different histories.
		
	
	
		
			718f345f16
			...
			c02c675a48
		
	
		|  | @ -60,7 +60,7 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin { | ||||||
|                     this.getView().setVisible(true, new String[]{"flexpanelturnover"}); |                     this.getView().setVisible(true, new String[]{"flexpanelturnover"}); | ||||||
|                     this.getView().setVisible(false, new String[]{"flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelmaterial","flexpanelother"}); |                     this.getView().setVisible(false, new String[]{"flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelmaterial","flexpanelother"}); | ||||||
|                 }else{ |                 }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"}); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | @ -24,8 +24,7 @@ public class DynamicSetPMApprovalFlowPlugin implements IWorkflowPlugin { | ||||||
|         // 获取单据体中的【经理】字段,,将用户设置为当前单据的当前节点的审批人 |         // 获取单据体中的【经理】字段,,将用户设置为当前单据的当前节点的审批人 | ||||||
|         DynamicObject obj = BusinessDataServiceHelper.loadSingle(pkId, entityNumber); |         DynamicObject obj = BusinessDataServiceHelper.loadSingle(pkId, entityNumber); | ||||||
|         DynamicObject project = obj.getDynamicObject("project"); |         DynamicObject project = obj.getDynamicObject("project"); | ||||||
|         DynamicObject projectInfo = BusinessDataServiceHelper.loadSingle(project.getLong("id"), "ec_project"); |         DynamicObject zcgjManger = project.getDynamicObject("zcgj_pm"); | ||||||
|         DynamicObject zcgjManger = projectInfo.getDynamicObject("zcgj_pm"); |  | ||||||
|         long userId = zcgjManger.getLong("id"); |         long userId = zcgjManger.getLong("id"); | ||||||
|         ApproversIdList.add(userId); |         ApproversIdList.add(userId); | ||||||
|         // 返回审批人的id集合 |         // 返回审批人的id集合 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue