| 
					
				 | 
			
			
				@@ -2,9 +2,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <!--  --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="m-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       <h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-page-header @back="onCancel" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      :content="'对外分部'"></el-page-header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-page-header 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @back="onCancel" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :content="musicGroupName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ></el-page-header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="m-core"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <save-form 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12,14 +14,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :model="searchForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @submit="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @reset="onReSet" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ref='searchForm' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item prop="organId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-input v-model="searchForm.search" placeholder="学员姓名/编号/手机号"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model="searchForm.search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            placeholder="学员姓名/编号/手机号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form-item prop="isReserve"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v-model.trim="searchForm.school" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :disabled="!searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model.trim="searchForm.isReserve" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             placeholder="是否预约" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -28,10 +33,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-option value="1" label="是"></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-form-item prop="school"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form-item prop="subjectId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v-model.trim="searchForm.school" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :disabled="!searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model.trim="searchForm.subjectId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             placeholder="声部" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -47,7 +51,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-model.trim="searchForm.school" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :disabled="!searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             placeholder="是否参加乐器考级" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -59,7 +62,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-model.trim="searchForm.school" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :disabled="!searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             placeholder="是否参加乐理考级" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -68,10 +70,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-option value="1" label="是"></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-model.trim="searchForm.school" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :disabled="!searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             placeholder="是否购买VIP" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -80,10 +81,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-option value="1" label="是"></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-model.trim="searchForm.school" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :disabled="!searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             placeholder="是否购买乐理课" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -132,19 +132,25 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            prop="studentId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="username" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             label="学员姓名" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            prop="studentId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="userId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             label="学员编号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            prop="studentId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="isReserve" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             label="是否预约" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              {{scope.row.isReserve?'是':'否'}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             prop="studentId" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -189,7 +195,8 @@ import axios from "axios"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getToken } from "@/utils/auth"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import pagination from "@/components/Pagination/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import load from "@/utils/loading"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { queryByOrganId, getSchool } from "@/api/systemManage"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getMusicGroupDetail } from "./api"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getSubject } from "@/api/buildTeam"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import countTo from "vue-count-to"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { pagination, "count-to": countTo }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -198,8 +205,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       searchForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         search: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        organId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        school: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        isReserve: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        subjectId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       tableList: [{}], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -213,6 +220,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         total: 0, // 总条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         page_size: [10, 20, 40, 50], // 选择限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      musicGroupName: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //生命周期 - 创建完成(可以访问当前this实例) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -224,15 +232,32 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    init() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getList() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    init() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.musicGroupName = this.$route.query.musicGroupName || "对外分部"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      getSubject({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.soundList = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    async getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const res = await getMusicGroupDetail({ page: this.rules.page, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          rows: this.rules.limit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ...this.searchForm,musicGroupId:this.$route.query.musicGroupId}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.tableList = res.data.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.rules.total = res.data.total 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } catch {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     search() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.rules.page = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     onReSet() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    onCancel(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$store.dispatch('delVisitedViews', this.$route) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onCancel() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$store.dispatch("delVisitedViews", this.$route); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         path: "/childrensDay", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -241,4 +266,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style lang='scss' scoped> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+.statistic { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  .statistic-content > span { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    font-size: 20px !important; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    &:first-child { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      font-size: 24px !important; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      color: rgba(0, 0, 0, 0.85); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      font-weight: bold; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </style> 
			 |