| 
					
				 | 
			
			
				@@ -28,8 +28,9 @@ let calculationTreeOprObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     buildRunType: function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let et = $("#exprRunType"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        et.append("<option value='" + JV.RUN_TYPE_BEFORE_PAGING + "'>预运行</option>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        et.append("<option value='" + JV.RUN_TYPE_BEFORE_OUTPUT + "'>实时运行</option>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        et.append("<option value='" + JV.RUN_TYPE_BEFORE_PAGING + "'>默认运行</option>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        et.append("<option value='" + JV.RUN_TYPE_BEFORE_OUTPUT + "'>每页实时运行</option>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        et.append("<option value='" + JV.RUN_TYPE_BEFORE_ANALYZING + "'>数据分析前运行</option>"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     buildTreeData: function (rptTpl) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let me = this, rst = {"Name": "计算式", items: []}; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -91,8 +92,10 @@ let calculationTreeOprObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $("#exprDetail")[0].style.display = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (treeNode[JV.PROP_RUN_TYPE] === JV.RUN_TYPE_BEFORE_PAGING) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $("#exprRunType")[0].selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } else if (treeNode[JV.PROP_RUN_TYPE] === JV.RUN_TYPE_BEFORE_OUTPUT) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $("#exprRunType")[0].selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $("#exprRunType")[0].selectedIndex = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $("#exprFormat")[0].value = (treeNode["format"])?treeNode["format"]:""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $("#exprContent")[0].value = treeNode[JV.PROP_EXPRESSION]; 
			 |