<template>
  <div class="page_user" >
    <div class="page_jg"></div>
    <el-tabs v-model="activeName" >
      <el-tab-pane label="学生名单" name="student" class="paneName" >
        <studentName  v-if="activeName=='student'"/>
      </el-tab-pane>
      <el-tab-pane label="教师名单" name="teach" class="paneName" >
        <teachName  v-if="activeName=='teach'"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
  
<script>
  import studentName from "./components/userSetting/studentName.vue"
  import teachName from "./components/userSetting/teachName.vue"
  export default {
    name: 'userManagement',
    components: {
      studentName,
      teachName
    },
    data(){
      return {
        studentList:[],
        teacherList:[],
        activeName:"student"
      }
    },
    mounted(){
      // this.initData();
      
    },
    methods:{
      
    
    }
  }
  </script>
  
  <style lang="scss" scoped>

  </style>
