| 
					
				 | 
			
			
				@@ -613,10 +613,38 @@ let mExport = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         resolve(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       var zip = new JSZip(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      zip.file("报表模板备份.json", JSON.stringify(rptTemplate)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      zip.file("报表树备份.json", JSON.stringify(rptTplTree)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      zip.file("报表配置备份.json", JSON.stringify(rptConfig)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      zip.file("报表指标备份.json", JSON.stringify(rptField)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      zip.file( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "报表模板备份.json", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type: `building`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name: `reportTemplate`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          data: rptTemplate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      zip.file( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "报表树备份.json", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type: `building`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name: `reportTree`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          data: rptTplTree, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      zip.file( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "报表配置备份.json", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type: `building`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name: `reportConfig`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          data: rptConfig, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      zip.file( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "报表指标备份.json", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        JSON.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type: `building`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name: `reportField`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          data: rptField, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 将Zip打包成Blob对象 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       zip 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .generateNodeStream({ type: "nodebuffer", streamFiles: true }) 
			 |