var p=(o,r,e)=>new Promise((n,a)=>{var s=t=>{try{c(e.next(t))}catch(m){a(m)}},i=t=>{try{c(e.throw(t))}catch(m){a(m)}},c=t=>t.done?n(t.value):Promise.resolve(t.value).then(s,i);c((e=e.apply(o,r)).next())});import{d as l,f,o as d,U as u,a2 as _,a3 as h,k as D}from"./vue-vendor-CxLCUzY4.js";import{_ as T}from"./index-CNQBnF3P.js";import{a as k}from"./system-CBHpRUjh.js";import{_ as B}from"./index-Cy4uayzW.js";import"./antd-vue-vendor-CahNzUUa.js";import"./index-Bdn0r8CG.js";import"./bem-IZKqD41e.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./props-CG-jAkbI.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useTimeout-gJpgadD6.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContextMenu-Q6J5bB_u.js";const $=l({name:"DeptTree",components:{BasicTree:T},emits:["select"],setup(o,{emit:r}){const e=f([]);function n(){return p(this,null,function*(){e.value=yield k()})}function a(s){r("select",s[0])}return d(()=>{n()}),{treeData:e,handleSelect:a}}}),v={class:"m-4 mr-0 overflow-hidden bg-white"};function w(o,r,e,n,a,s){const i=u("BasicTree");return _(),h("div",v,[D(i,{title:"部门列表",toolbar:"",search:"",clickRowToExpand:!1,treeData:o.treeData,fieldNames:{key:"id",title:"deptName"},onSelect:o.handleSelect},null,8,["treeData","onSelect"])])}const A=B($,[["render",w]]);export{A as default};
