| 
					
				 | 
			
			
				@@ -2,30 +2,51 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="m-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <div class="squrt"></div>名字 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div class="squrt"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      班级列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="m-core"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-form :inline="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               :model="searchForm"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <save-form :inline="true" :model="searchForm" @submit="search" @reset='onReSet'> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-input v-model.trim="searchForm.search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @keyup.enter.native="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    placeholder></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model.trim="searchForm.search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @keyup.enter.native="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            placeholder='请输入乐团编号' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model.trim="searchForm.search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @keyup.enter.native="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            placeholder='请输入乐团编号' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button native-type="submit" type="primary">搜索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button native-type="reset" type="danger">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </save-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="tableWrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table style="width: 100%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  :header-cell-style="{background:'#EDEEF0',color:'#444'}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  :data="tableList"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="studentId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="分部"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          style="width: 100%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :header-cell-style="{ background: '#EDEEF0', color: '#444' }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :data="tableList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="studentId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="分部" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <pagination :total="rules.total" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :page.sync="rules.page" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :limit.sync="rules.limit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :page-sizes="rules.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @pagination="getList" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <pagination 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          sync 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :total.sync="rules.total" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :page.sync="rules.page" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :limit.sync="rules.limit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :page-sizes="rules.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          @pagination="getList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -36,14 +57,12 @@ import axios from "axios"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getToken } from "@/utils/auth"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import pagination from "@/components/Pagination/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import load from "@/utils/loading"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import {  getEmployeeOrgan } from "@/api/buildTeam"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { pagination }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  data () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       searchForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        search: null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        search: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       tableList: [], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -53,33 +72,27 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         limit: 10, // 限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         page: 1, // 当前页 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         total: 0, // 总条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        page_size: [10, 20, 40, 50] // 选择限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        page_size: [10, 20, 40, 50], // 选择限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //生命周期 - 创建完成(可以访问当前this实例) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  created () { }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  created() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   //生命周期 - 挂载完成(可以访问DOM元素) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  mounted () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getEmployeeOrgan().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.organList = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 获取分部 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // activated () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  //   this.init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    init () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    init() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getList() {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    search(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.rules.page = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getList () { } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onReSet(){}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style lang='scss' scoped> 
			 |