优化代码 资源清单过滤
This commit is contained in:
		
							parent
							
								
									edcc45ff26
								
							
						
					
					
						commit
						d1aa5e8c5b
					
				| 
						 | 
				
			
			@ -54,9 +54,10 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
 | 
			
		|||
        Map<String, Object> customParams = formShowParameter.getCustomParams();
 | 
			
		||||
        Object contractType = customParams.get("contractType");
 | 
			
		||||
        String firstOpen = this.getPageCache().get("firstOpen");
 | 
			
		||||
        if (firstOpen == null) {
 | 
			
		||||
            this.getPageCache().put("firstOpen", "false");
 | 
			
		||||
        if (firstOpen != null) {
 | 
			
		||||
//            this.getPageCache().put("firstOpen", "false");
 | 
			
		||||
//            contractType = "ck";
 | 
			
		||||
//            this.getPageCache().remove("firstOpen");
 | 
			
		||||
            if (contractType != null) {
 | 
			
		||||
                if (contractType.toString().equals("wzcg")) {//物资采购
 | 
			
		||||
                    this.getView().setVisible(true, new String[]{"flexpanelmaterial"});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue