| 
					
				 | 
			
			
				@@ -34,10 +34,12 @@ export function getGenerationOptionalMajorsBatch(params) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // /prod-api/front/elective/generation/applyElectiveDMAlgorithm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 执行选科匹配算法。为减少错误,对DM代数据全删全加可能好点。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-export function applyElectiveDMAlgorithm(algorithm) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+export function applyElectiveDMAlgorithm(algorithm, roundId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const params = {algorithm, roundId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return request({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    url: '/front/elective/generation/applyElectiveDMAlgorithm?algorithm=' + algorithm, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    method: 'post' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    url: '/front/elective/generation/applyElectiveDMAlgorithm', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    method: 'post', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    params 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -61,28 +63,31 @@ export function enrollByForce(groupId, studentId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // /front/elective/generation/flushIntoGenerationDM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 在任意报名阶段,如果校长发现数据已经完全OK,则可以强制推进进程,提前进入决策 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-export function flushIntoGenerationDM() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+export function flushIntoGenerationDM(params) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return request({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     url: '/front/elective/generation/flushIntoGenerationDM', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    method: 'post' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    method: 'post', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    params 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // /front/elective/generation/jumpGenerationForceAdjust 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 二次补录结果(或者提前录取完毕时)跳转到强制调剂 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-export function jumpGenerationForceAdjust() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+export function jumpGenerationForceAdjust(params) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return request({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     url: '/front/elective/generation/jumpGenerationForceAdjust', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    method: 'post' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    method: 'post', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    params 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // /front/elective/generation/jumpGenerationRankBalance 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 如果在所有学生全部录取的情况,可以在任意决策结点跳转至排名均衡 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-export function jumpGenerationRankBalance() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+export function jumpGenerationRankBalance(params) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return request({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     url: '/front/elective/generation/jumpGenerationRankBalance', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    method: 'post' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    method: 'post', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    params 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -98,10 +103,11 @@ export function pushGenerationSetting(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // /front/elective/generation/terminateGeneration 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 如果在所有学生全部录取的情况,可以在任意决策结点跳转至终止态,封存数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-export function terminateGeneration() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+export function terminateGeneration(params) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   return request({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     url: '/front/elective/generation/terminateGeneration', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    method: 'post' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    method: 'post', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    params 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |