| 
														
															@@ -22,7 +22,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </div> 
														 | 
														
														 | 
														
															     </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <el-drawer v-if="stepsVisible" :visible.sync="stepsVisible" :title="modifyTitle" :append-to-body="true" size="70%"> 
														 | 
														
														 | 
														
															     <el-drawer v-if="stepsVisible" :visible.sync="stepsVisible" :title="modifyTitle" :append-to-body="true" size="70%"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <round-setting-steps :settingModel="settingModel" :default-active-step="activeStep" :year-options="yearOptions" 
														 | 
														
														 | 
														
															       <round-setting-steps :settingModel="settingModel" :default-active-step="activeStep" :year-options="yearOptions" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                           @do-post="handleSubmit"></round-setting-steps> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                           @do-post="handleSubmit" v-loading="loading"></round-setting-steps> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </el-drawer> 
														 | 
														
														 | 
														
															     </el-drawer> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </div> 
														 | 
														
														 | 
														
															   </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </template> 
														 | 
														
														 | 
														
															 </template> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -32,14 +32,7 @@ import * as ext from '@/utils' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import selectTranslateMixin from '@/components/Cache/modules/mx-select-translate-mixin' 
														 | 
														
														 | 
														
															 import selectTranslateMixin from '@/components/Cache/modules/mx-select-translate-mixin' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import RoundModelConvert from './round-model-convert' 
														 | 
														
														 | 
														
															 import RoundModelConvert from './round-model-convert' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import MxCondition from '@/components/MxCondition/mx-condition' 
														 | 
														
														 | 
														
															 import MxCondition from '@/components/MxCondition/mx-condition' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  addRound, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  deleteRound, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  getScoreImportConfig, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  roundList, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  saveScoreImportConfig, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  updateRound 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-} from '@/api/webApi/selection' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { deleteRound, getScoreImportConfig, roundList, saveScoreImportConfig } from '@/api/webApi/selection' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import RoundSettingSteps from '@/views/elective/publish/components/steps/round-setting-steps' 
														 | 
														
														 | 
														
															 import RoundSettingSteps from '@/views/elective/publish/components/steps/round-setting-steps' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default { 
														 | 
														
														 | 
														
															 export default { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -48,6 +41,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   components: { RoundSettingSteps, MxCondition }, 
														 | 
														
														 | 
														
															   components: { RoundSettingSteps, MxCondition }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   data() { 
														 | 
														
														 | 
														
															   data() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return { 
														 | 
														
														 | 
														
															     return { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      loading: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // drawer 
														 | 
														
														 | 
														
															       // drawer 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       stepsVisible: false, 
														 | 
														
														 | 
														
															       stepsVisible: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       activeStep: 0, 
														 | 
														
														 | 
														
															       activeStep: 0, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -162,13 +156,14 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }) 
														 | 
														
														 | 
														
															       }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleSubmit(commit) { 
														 | 
														
														 | 
														
															     handleSubmit(commit) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.loading = true 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       const round = this.toApiModel(commit) 
														 | 
														
														 | 
														
															       const round = this.toApiModel(commit) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // 提交 
														 | 
														
														 | 
														
															       // 提交 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       saveScoreImportConfig(round).then(res => { 
														 | 
														
														 | 
														
															       saveScoreImportConfig(round).then(res => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.stepsVisible = false 
														 | 
														
														 | 
														
															         this.stepsVisible = false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.msgSuccess('保存成功') 
														 | 
														
														 | 
														
															         this.msgSuccess('保存成功') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.handleQuery() 
														 | 
														
														 | 
														
															         this.handleQuery() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }).finally(() => this.loading = false) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |