<template>
  <div>
    <el-button style="width:100%" size="mini"  block @click="onshow">更换负责人</el-button>
    <el-dialog title="更换负责人" :visible.sync="dialogFormLeader" width="900px" append-to-body>
      <div slot="title" style="font-size: 15px">
        更换负责人
      </div>
<!--      <scope_of_authority obiect-name="2" ></scope_of_authority>-->
      <div class="dialog-footer">
        <el-button size="small" @click="dialogFormLeader = false" class="normal-btn-width">取 消</el-button>
        <el-button size="small" type="warning" @click="transactionUser" class="normal-btn-width btn-warning">确 定</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import scope_of_authority from '../../components/scopeOfAuthority/index'
export default {
  name: "transactionUser",
  data(){
    return {
      dialogFormLeader:false,
      visible:false
    }
  },
  components:{
    scope_of_authority
  },
  methods:{
    onshow(){
      this.dialogFormLeader = true
      this.$emit("onshow")
    },
    transactionUser(){}
  }
}
</script>

<style scoped>

</style>