<template>
  <div class="subordinate-dialog">
    <el-dialog :title="type === 'add' ? '添加下级' : '清除下级'" :visible.sync="showSubordinateDialog">
      <el-tabs v-model="tabActive" @tab-click="handleClick">
        <el-tab-pane label="分销商" name="0">用户管理</el-tab-pane>
        <el-tab-pane label="个人" name="1">配置管理</el-tab-pane>
      </el-tabs>
    </el-dialog>
  </div>
</template>

<script>
export default {
  props: ['type', 'showSubordinateDialog'],

  data() {
    return {
      tabActive: 0
    };
  },

  methods: {
    handleClick() {
      
    }
  }
}
</script>

<style lang="scss" scoped>

</style>