import{d as e,k as a,p as t,R as s,r,o as d,c as l,a as n,_ as m}from"./index-018fb6dd.js";const p={class:"w-full sm:w-[28rem] min-h-[30rem] bg-white"},o=m(e({__name:"department",props:{modelValue:{type:Number,default:0}},emits:["update:modelValue","searchDepartmentUsers"],setup(e,{emit:m}){const o=a();t((()=>{s.get("permissions/departments").then((e=>{o.value=e.data.data}))}));const u=e=>{m("update:modelValue",e.id),m("searchDepartmentUsers")};return(e,a)=>{const t=r("el-tree");return d(),l("div",p,[n(t,{data:o.value,props:{label:"department_name",value:"id"},onNodeClick:u,class:"p-5","expand-on-click-node":!1,"highlight-current":!0},null,8,["data"])])}}}),[["__scopeId","data-v-5b08bbd8"]]);export{o as default};
