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-44tRnyoF.js";import{a as k}from"./system-CzFL1ZBw.js";import{_ as B}from"./index-CLZzJyTP.js";import"./antd-vue-vendor-CahNzUUa.js";import"./index-DvqyyN77.js";import"./bem-DT3DdmOs.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./props-CG-jAkbI.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useTimeout-KpZCXEcl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContextMenu-BGU2vdqV.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};
