| 
														
															@@ -1,6 +1,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <template> 
														 | 
														
														 | 
														
															 <template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <div class="app-container"> 
														 | 
														
														 | 
														
															   <div class="app-container"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <el-card class="box-card" > 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <el-card class="mb20"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    @invalid="handleInvalidQuery"></mx-condition> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    </el-card> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <el-card v-if="queryParams.roundId"  class="box-card" > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <div slot="header" class="clearfix text-center f20 pb10 pt10" > 
														 | 
														
														 | 
														
															       <div slot="header" class="clearfix text-center f20 pb10 pt10" > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         {{ title }} 
														 | 
														
														 | 
														
															         {{ title }} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </div> 
														 | 
														
														 | 
														
															       </div> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -12,7 +16,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <div v-if="isSign && isShow"> 
														 | 
														
														 | 
														
															         <div v-if="isSign && isShow"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-alert 
														 | 
														
														 | 
														
															           <el-alert 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             class="mb5" 
														 | 
														
														 | 
														
															             class="mb5" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            :title="`通知:${$store.getters.nickName}同学您的新班级信息于2022年6月18日0点生效`" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :title="tips" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             type="info" 
														 | 
														
														 | 
														
															             type="info" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             :closable="false" 
														 | 
														
														 | 
														
															             :closable="false" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             show-icon> 
														 | 
														
														 | 
														
															             show-icon> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -25,38 +29,40 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </div> 
														 | 
														
														 | 
														
															         </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </div> 
														 | 
														
														 | 
														
															       </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </el-card> 
														 | 
														
														 | 
														
															     </el-card> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <evaluation-empty v-else shadow title="暂无数据"></evaluation-empty> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </div> 
														 | 
														
														 | 
														
															   </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </template> 
														 | 
														
														 | 
														
															 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script> 
														 | 
														
														 | 
														
															 <script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { classesResult, getRound } from '@/api/webApi/elective/dispatch' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import MxCondition from '@/components/MxCondition/mx-condition' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { mapGetters } from 'vuex' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  export default { 
														 | 
														
														 | 
														
															  export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+   components:{MxCondition}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    data(){ 
														 | 
														
														 | 
														
															    data(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      return{ 
														 | 
														
														 | 
														
															      return{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       isSign:false, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        isShow:false, 
														 | 
														
														 | 
														
															        isShow:false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       rows: [ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           year: 2021, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           group: '物化生', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           name: this.$store.getters.nickName, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           oldClass: '2101', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           newClass: '2105', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       ], 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       rows: [], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       requireFields: ['year', 'roundId'], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       queryParams: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         year: '', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         roundId: '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       round: {}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        propsDefines: { 
														 | 
														
														 | 
														
															        propsDefines: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          year: { 
														 | 
														
														 | 
														
															          year: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															            label:'学年' 
														 | 
														
														 | 
														
															            label:'学年' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          }, 
														 | 
														
														 | 
														
															          }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         group: { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         groupName: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															            label:'选择组合' 
														 | 
														
														 | 
														
															            label:'选择组合' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          }, 
														 | 
														
														 | 
														
															          }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          name: { 
														 | 
														
														 | 
														
															          name: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															            label:'姓名' 
														 | 
														
														 | 
														
															            label:'姓名' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          }, 
														 | 
														
														 | 
														
															          }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         oldClass: { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         originalClassName: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															            label:'原班级' 
														 | 
														
														 | 
														
															            label:'原班级' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          }, 
														 | 
														
														 | 
														
															          }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         newClass: { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         className: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															            label:'新班级' 
														 | 
														
														 | 
														
															            label:'新班级' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          }, 
														 | 
														
														 | 
														
															          }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          tips: { 
														 | 
														
														 | 
														
															          tips: { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -67,33 +73,71 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      } 
														 | 
														
														 | 
														
															      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    }, 
														 | 
														
														 | 
														
															    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    computed:{ 
														 | 
														
														 | 
														
															    computed:{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      title(){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     ...mapGetters(['school','nickName']), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     title(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         const store  = this.$store.getters 
														 | 
														
														 | 
														
															         const store  = this.$store.getters 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if(!store) return  '' 
														 | 
														
														 | 
														
															         if(!store) return  '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         console.log(store) 
														 | 
														
														 | 
														
															         console.log(store) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        return `${store.school.schoolName}${store.firstClassName}级分班信息  ${store.nickName}同学` 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return `${this.school.schoolName}${this.round.name}分班信息  ${store.nickName}同学` 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     isSign() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if(!this.rows.length) return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return this.rows[0].statusText == '分班完成' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     tips() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       if(!this.isSign) return '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       return `通知:${this.nickName}同学您的新班级信息于${this.rows[0].activeDate}点生效` 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      } 
														 | 
														
														 | 
														
															      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    }, 
														 | 
														
														 | 
														
															    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    methods: { 
														 | 
														
														 | 
														
															    methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     handleQuery() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       this.getRound() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       this.getInfo() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     // 获取批次的组合 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     getRound() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       getRound({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         year:this.queryParams.year, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         round:this.queryParams.roundId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       }).then(res => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         this.round = res.data 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     getInfo() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       classesResult({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         roundId: 29 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       }).then(res =>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         this.rows= res.rows.map(item => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+           item.year = this.queryParams.year 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+           return item 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         console.log(res) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      showDispatchInfo() { 
														 | 
														
														 | 
														
															      showDispatchInfo() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       if(!this.isSign){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         this.$message.warning('请完成选科报名签字,个人的分班信息才能显示') 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       if(this.rows[0].statusText != '分班完成'){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         this.$message.warning(this.rows[0].statusText ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															          return 
														 | 
														
														 | 
														
															          return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        } 
														 | 
														
														 | 
														
															        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       this.isShow = true 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       if(!this.isShow) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         this.isShow = true 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       }else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         this.$message.warning('已显示') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															      }, 
														 | 
														
														 | 
														
															      }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      toSign() { 
														 | 
														
														 | 
														
															      toSign() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       // 签字 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       if(this.isSign) return 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       this.$Dialog('ElectiveSign',{},() => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       if(this.isSign) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         this.$message.warning('已完成签名,可查看分班信息') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       this.$Dialog('ElectiveSign',{flowId:this.rows[0].flowId},() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.$message.success('已完成签名') 
														 | 
														
														 | 
														
															           this.$message.success('已完成签名') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.isSign = true 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.handleQuery() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        }) 
														 | 
														
														 | 
														
															        }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       // if(!this.isSign) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       //   this.isSign = true 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       //   this.$message.success('已完成签名') 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       // } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     handleInvalidQuery() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       this.rows = [] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      } 
														 | 
														
														 | 
														
															      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															    } 
														 | 
														
														 | 
														
															    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  } 
														 | 
														
														 | 
														
															  } 
														 |