| 
					
				 | 
			
			
				@@ -332,6 +332,9 @@ let zTreeOprObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 me.copyReportTemplate(orgID, newNodeID, true, function(goodResult){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     me.updateTreeRootNode(newTopNode, false, function(goodRst){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         canContinue = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if (treeNodes[0].rptTpl) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            treeNodes[0].rptTpl.ID = newNodeID; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         me.currentNode = treeNodes[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }, function(badRst){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         displayMessage("更新模板节点失败!", "red", 2000); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -363,8 +366,8 @@ let zTreeOprObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     changeUser: function (dom) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (dom.id === "custRptOpt") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //用户定制 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (dom.checked) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //用户定制打开 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $("#rpt_user_input")[0].disabled = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $("#rpt_user_find_btn")[0].disabled = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -376,11 +379,7 @@ let zTreeOprObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getReportTemplateTree: function(compilationSelect) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let me = zTreeOprObj, params = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         params.compilationId = compilationSelect.value; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if ($("#custRptOpt")[0].checked) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            params.userId = (userAccount ===  'admin')?("-100"):userID; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            params.userId = (userAccount ===  'admin')?("-100"):userID; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        params.userId = (userAccount ===  'admin')?("-100"):userID; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let allEngIds = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let item of engineeringList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             allEngIds.push(item.value); 
			 |