DeptTree-cfb6c270.js 1.3 KB

1
  1. var i=(e,_,a)=>new Promise((s,n)=>{var c=t=>{try{r(a.next(t))}catch(l){n(l)}},o=t=>{try{r(a.throw(t))}catch(l){n(l)}},r=t=>t.done?s(t.value):Promise.resolve(t.value).then(c,o);r((a=a.apply(e,_)).next())});import{g as u,__tla as d}from"./index-7fb58e79.js";import{B as f,__tla as h}from"./Tree-6c35f2c0.js";import{d as p,r as y,n as D,_ as T,y as w,o as B,l as S,e as b,__tla as v}from"./index-b5895273.js";import{__tla as g}from"./useContextMenu-c4ffe073.js";import{__tla as k}from"./difference-9954c5db.js";let m,x=Promise.all([(()=>{try{return d}catch(e){}})(),(()=>{try{return h}catch(e){}})(),(()=>{try{return v}catch(e){}})(),(()=>{try{return g}catch(e){}})(),(()=>{try{return k}catch(e){}})()]).then(()=>i(void 0,null,function*(){const e=p({name:"DeptTree",components:{BasicTree:f},emits:["select"],setup(s,{emit:n}){const c=y([]);function o(){return i(this,null,function*(){c.value=yield u()})}function r(t,l){n("select",t[0])}return D(()=>{o()}),{treeData:c,handleSelect:r}}}),_={class:"m-4 mr-0 overflow-hidden bg-white"};function a(s,n,c,o,r,t){const l=w("BasicTree");return B(),S("div",_,[b(l,{title:"\u673A\u6784\u5217\u8868",toolbar:"",search:"",clickRowToExpand:!0,treeData:s.treeData,fieldNames:{key:"id",title:"name"},onSelect:s.handleSelect},null,8,["treeData","onSelect"])])}m=T(e,[["render",a]])}));export{x as __tla,m as default};