| 
					
				 | 
			
			
				@@ -14,7 +14,8 @@ module.exports = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getSEIProjects:getSEIProjects, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     loadSEIProjectData:loadSEIProjectData, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     setSEILibData:setSEILibData, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getIndexReportData:getIndexReportData 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getIndexReportData:getIndexReportData, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    setDefaultItemIncrease:setDefaultItemIncrease 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 let mongoose = require('mongoose'); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -51,7 +52,6 @@ async function calcInstallationFee(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if(billTasks.length>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         await bill_model.model.bulkWrite(billTasks); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    console.log(rationTasks); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if(rationTasks.length>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         await ration_model.model.bulkWrite(rationTasks); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -556,6 +556,15 @@ async function setSEILibData(property){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+function setDefaultItemIncrease(property) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    property.itemIncreaseSetting = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name":"在生产车间边生产边施工","base":"人工费","coe":10,"scope":{}}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name":"在有害身体健康的场所内施工","base":"人工费","coe":10,"scope":{}}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name":"在洞内、地下室内、库内或暗室内进行施工","base":"人工费","coe":40,"scope":{}}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        {"name":"在洞内、地下室内、库内或暗室内进行施工(模板拆除)","base":"人工费","coe":10,"scope":{}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 async function getIndexReportData(projectID,keyArr) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let project = await projectsModel.findOne({ID:projectID}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let bills = await bill_model.getDataSync(projectID); 
			 |