<!--
@ 作者: 秦东
@ 时间: 2023-10-11 09:47:32
@ 备注: 人员选择
-->
<script lang='ts' setup>
let props = defineProps({
  visible: {
    type: Boolean,
    default: false
  },
  data:{
    type: Array,
    default: ()=> []
  },
  isdepartment: {
    type: Boolean,
    default: false
  },
});
let emits = defineEmits(['update:visible', 'change'])
let visibleDialog = computed({
  get(){
    return props.visible
  },
  set(){
    closeDialog()
  }
});
let checkedDepartmentList = ref([])
let checkedEmployessList = ref([])
let saveDialog = ()=> {

}
const closeDialog = ()=> {
  emits('update:visible', false)
}
</script>
<template>
	<el-dialog v-model="visibleDialog" title="选择成员" :width="600" append-to-body class="promoter_person">
		<div class="person_body clear">
			<div class="person_tree l">
			</div>


		</div>
		<template #footer>
          <el-button @click="$emit('update:visible',false)">取 消</el-button>
          <el-button type="primary" @click="saveDialog">确 定</el-button>
      </template>    
	</el-dialog>
</template>
<style  lang='scss' scoped>

</style>
